lib/active_merchant/billing/gateways/cyber_source.rb in activemerchant-1.44.1 vs lib/active_merchant/billing/gateways/cyber_source.rb in activemerchant-1.45.0

- old
+ new

@@ -521,10 +521,10 @@ _, subscription_id, _ = reference.split(";") xml.tag! 'subscriptionID', subscription_id end xml.tag! 'status', options[:subscription][:status] if options[:subscription][:status] - xml.tag! 'amount', options[:subscription][:amount] if options[:subscription][:amount] + xml.tag! 'amount', amount(options[:subscription][:amount]) if options[:subscription][:amount] xml.tag! 'numberOfPayments', options[:subscription][:occurrences] if options[:subscription][:occurrences] xml.tag! 'automaticRenew', options[:subscription][:automatic_renew] if options[:subscription][:automatic_renew] xml.tag! 'frequency', options[:subscription][:frequency] if options[:subscription][:frequency] xml.tag! 'startDate', options[:subscription][:start_date].strftime("%Y%m%d") if options[:subscription][:start_date] xml.tag! 'endDate', options[:subscription][:end_date].strftime("%Y%m%d") if options[:subscription][:end_date]