Method: ActiveMerchant::Billing::UsaEpayAdvancedGateway#update_customer_payment_method
- Defined in:
- lib/active_merchant/billing/gateways/usa_epay_advanced.rb
#update_customer_payment_method(options = {}) ⇒ Object
Update a customer payment method.
Required
-
:method_id– method_id to update
Options
-
:method– credit_card or check -
:name– optional name/label for the method -
:sort– an integer value specifying the backup sort order, 0 is default -
:verify– settrueto run auth_only verification; throws fault if cannot verify
Response
-
#message– hash of payment method
534 535 536 537 538 539 |
# File 'lib/active_merchant/billing/gateways/usa_epay_advanced.rb', line 534 def update_customer_payment_method( = {}) requires! , :method_id request = build_request(__method__, ) commit(__method__, request) end |