Permalink
Browse files

Typo

  • Loading branch information...
1 parent e01ba8a commit 5eff4d1f256ded0b31f5798417090f150f0b0eb7 @rayvinly rayvinly committed with samlown Mar 31, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/active_merchant/billing/gateways/paypal_express_recurring.rb
@@ -217,7 +217,7 @@ def build_change_profile_request(profile_id, options)
if options.has_key?(:amount)
xml.tag! 'n2:Amount', amount(options[:amount]), 'currencyID' => options[:currency] || 'USD'
end
- if options.has_key?(:amount)
+ if options.has_key?(:start_date)
xml.tag! 'n2:BillingStartDate', (options[:start_date].is_a?(Date) ? options[:start_date].to_time : options[:start_date]).utc.iso8601
end
end

0 comments on commit 5eff4d1

Please sign in to comment.