lib/active_merchant/billing/gateways/skip_jack.rb in activemerchant-1.3.2 vs lib/active_merchant/billing/gateways/skip_jack.rb in activemerchant-1.4.0
- old
+ new
@@ -193,9 +193,11 @@
def purchase(money, creditcard, options = {})
post = {}
authorization = authorize(money, creditcard, options)
if authorization.success?
capture(money, authorization.authorization)
+ else
+ authorization
end
end
# Captures the funds from an authorized transaction.
#