lib/active_merchant/billing/gateways/skip_jack.rb in activemerchant-1.114.0 vs lib/active_merchant/billing/gateways/skip_jack.rb in activemerchant-1.116.0
- old
+ new
@@ -211,11 +211,11 @@
#
# ==== Options
#
# * <tt>:force_settlement</tt> -- Force the settlement to occur as soon as possible. This option is not supported by other gateways. See the SkipJack API reference for more details
def capture(money, authorization, options = {})
- post = { }
+ post = {}
add_status_action(post, 'SETTLE')
add_forced_settlement(post, options)
add_transaction_id(post, authorization)
commit(:change_status, money, post)
end
@@ -265,11 +265,10 @@
# Pass along the original transaction id in the case an update transaction
Response.new(response[:success], message_from(response, action), response,
test: test?,
authorization: response[:szTransactionFileName] || parameters[:szTransactionId],
avs_result: { code: response[:szAVSResponseCode] },
- cvv_result: response[:szCVV2ResponseCode]
- )
+ cvv_result: response[:szCVV2ResponseCode])
end
def url_for(action)
result = test? ? self.test_url : self.live_url
result += advanced? && action == :authorization ? ADVANCED_PATH : BASIC_PATH