Permalink
Browse files

Update lib/active_merchant/billing/gateways/paypal_recurring.rb

  • Loading branch information...
1 parent a56ed9f commit 76a98c80d6aac83f2bc3ef0084a6d5d83df03015 @NadaAldahleh NadaAldahleh committed Mar 21, 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 76a98c8

Please sign in to comment.