lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.133.0 vs lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.137.0
- old
+ new
@@ -123,11 +123,10 @@
end
def purchase(money, payment, options = {})
# debit
options[:registrationId] = payment if payment.is_a?(String)
- execute_dbpa(options[:risk_workflow] ? 'PA.CP' : 'DB',
- money, payment, options)
+ execute_dbpa(options[:risk_workflow] ? 'PA.CP' : 'DB', money, payment, options)
end
def authorize(money, payment, options = {})
# preauthorization PA
execute_dbpa('PA', money, payment, options)