lib/active_merchant/billing/gateways/bluepay.rb
# Cancel a recurring payment.
#
# This transaction cancels an existing recurring billing.
#
# ==== Parameters
#
# * <tt>rebill_id</tt> -- A string containing the rebill_id of the recurring billing that is already active (REQUIRED)
Cancel a recurring payment.
This transaction cancels an existing recurring billing.

Parameters

rebill_id -- A string containing the rebill_id of the recurring billing that is already active (REQUIRED)
Cancel a recurring payment . This transaction cancels an existing recurring billing . Parameters rebill_id -- A string containing the rebill_id of the recurring billing that is already active ( REQUIRED )
def cancel_rebilling(rebill_id)
	post = {}
        requires!(rebill_id)
        post[:ACCOUNT_ID]        = $options[:account_id]
        post[:REBILL_ID]         = rebill_id
        post[:TRANS_TYPE]        = 'SET'
	post[:STATUS]            = 'stopped'
        post[:TAMPER_PROOF_SEAL] = calc_rebill_tps(post)
	post[:REBILL]		 = '1'
        commit('nil', post)
      end
def cancel_rebilling ( rebill_id ) post = { } requires! ( rebill_id ) post [ :ACCOUNT_ID ] = $options [ :account_id ] post [ :REBILL_ID ] = rebill_id post [ :TRANS_TYPE ] = 'SET' post [ :STATUS ] = 'stopped' post [ :TAMPER_PROOF_SEAL ] = calc_rebill_tps ( post ) post [ :REBILL ] = '1' commit ( 'nil' , post ) end
Cancel a recurring payment.
Cancel a recurring payment .
rebill_id
<not_specific>