app/models/spree/gateway/beanstream.rb
# Update the values (such as CC expiration) stored at
# the gateway.  The CC number must be supplied in the
# CreditCard object.
Update the values (such as CC expiration) stored at
the gateway.  The CC number must be supplied in the
CreditCard object.
Update the values ( such as CC expiration ) stored at the gateway . The CC number must be supplied in the CreditCard object .
def update(vault_id, credit_card, options = {})
          post = {}
          add_address(post, options)
          add_credit_card(post, credit_card)
          options.merge!({ :vault_id => vault_id, :operation => secure_profile_action(:modify) })
          add_secure_profile_variables(post,options)
          commit(post, true)
        end
def update ( vault_id , credit_card , options = { } ) post = { } add_address ( post , options ) add_credit_card ( post , credit_card ) options . merge! ( { :vault_id => vault_id , :operation => secure_profile_action ( :modify ) } ) add_secure_profile_variables ( post , options ) commit ( post , true ) end
Update the values (such as CC expiration) stored at
the gateway.
Update the values ( such as CC expiration ) stored at the gateway .
vault_id
credit_card
options