Method: ActiveMerchant::Billing::UsaEpayAdvancedGateway#capture_transaction
- Defined in:
- lib/active_merchant/billing/gateways/usa_epay_advanced.rb
#capture_transaction(options = {}) ⇒ Object
Capture an authorized transaction and move it into the current batch for settlement.
Note: Check with merchant bank for details/restrictions on differing amounts than the original authorization.
Required
-
:reference_number
Options
-
:amount– may be different than original amount; 0 will void authorization
Response
-
#message– transaction response hash
724 725 726 727 728 729 |
# File 'lib/active_merchant/billing/gateways/usa_epay_advanced.rb', line 724 def capture_transaction( = {}) requires! , :reference_number request = build_request(__method__, ) commit(__method__, request) end |