lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.52.0 vs lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.53.0

- old
+ new

@@ -100,13 +100,13 @@ def add_customer_data(post, options) post[:mc] = options[:customer] end def add_invoice(post, options) - post[:ms] = options[:order_id] || generate_unique_id - post[:mo] = options[:invoice] - post[:mr] = options[:description] + post[:ms] = generate_unique_id + post[:mo] = options[:description] + post[:mr] = options[:order_id] end def add_credit_card(post, credit_card) post[:cn] = credit_card.number post[:ct] = credit_card.brand @@ -190,6 +190,5 @@ @params["future_payment_token"] end end end end -