lib/active_merchant/billing/gateways/skip_jack.rb in activemerchant-1.43.3 vs lib/active_merchant/billing/gateways/skip_jack.rb in activemerchant-1.44.0
- old
+ new
@@ -193,11 +193,10 @@
add_customer_data(post, options)
commit(:authorization, money, post)
end
def purchase(money, creditcard, options = {})
- post = {}
authorization = authorize(money, creditcard, options)
if authorization.success?
capture(money, authorization.authorization)
else
authorization
@@ -238,10 +237,10 @@
add_transaction_id(post, identification)
commit(:change_status, money, post)
end
def credit(money, identification, options = {})
- deprecated CREDIT_DEPRECATION_MESSAGE
+ ActiveMerchant.deprecated CREDIT_DEPRECATION_MESSAGE
refund(money, identification, options)
end
def status(order_id)
commit(:get_status, nil, :szOrderNumber => order_id)