Permalink
Browse files

Merge pull request #3 from NadaAldahleh/patch-1

Update lib/active_merchant/billing/gateways/paypal_recurring.rb
  • Loading branch information...
2 parents a56ed9f + 76a98c8 commit e555501cba35a67d09586475bdafcfc5c1dfaf02 @vantran committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/active_merchant/billing/gateways/paypal_recurring.rb
View
2 lib/active_merchant/billing/gateways/paypal_recurring.rb
@@ -203,7 +203,7 @@ def build_create_profile_request(token, options)
xml.tag! 'n2:FailedInitialAmountAction', options[:continue_on_failure] ? 'ContinueOnFailure' : 'CancelOnFailure'
end
end
- # xml.tag! 'n2:MaxFailedPayments', options[:max_failed_payments] unless options[:max_failed_payments].blank?
+ xml.tag! 'n2:MaxFailedPayments', options[:max_failed_payments] unless options[:max_failed_payments].blank?
xml.tag! 'n2:AutoBillOutstandingAmount', options[:auto_bill_outstanding] ? 'AddToNextBilling' : 'NoAutoBill'
end
end

0 comments on commit e555501

Please sign in to comment.