Method: ActiveMerchant::Billing::TrustCommerceGateway#unstore

Defined in:
lib/active_merchant/billing/gateways/trust_commerce.rb

#unstore(identification, options = {}) ⇒ Object

To unstore a creditcard stored in Citadel using store() or recurring(), all that is required is the billing id. When you run unstore() the information will be removed and a Response object will be returned indicating the success of the action.



321
322
323
324
325
326
327
328
329
# File 'lib/active_merchant/billing/gateways/trust_commerce.rb', line 321

def unstore(identification, options = {})
  parameters = {
    billingid: identification
  }

  add_custom_fields(parameters, options)

  commit('unstore', parameters)
end