function pay_transaction_cancel_action in Pay 6
Same name and namespace in other branches
- 7 includes/pay.action.inc \pay_transaction_cancel_action()
Implementation of a Drupal action. Cancels a pending or preauthorized transaction.
File
- includes/
pay.action.inc, line 53 - Functions that support the Drupal actions/triggers system for payment transactions and activities.
Code
function pay_transaction_cancel_action(&$transaction, $context) {
pay_transaction_do_action($transaction, 'cancel', FALSE);
}