You are here

function commerce_payment_ui_payment_transaction_delete_form_wrapper in Commerce Core 7

Form callback wrapper: confirmation form for deleting a payment transaction.

Parameters

$order: The order object containing the transaction being deleted by the form.

$transaction: The actual payment transaction that will be deleted.

See also

commerce_payment_payment_transaction_delete_form()

1 string reference to 'commerce_payment_ui_payment_transaction_delete_form_wrapper'
commerce_payment_ui_menu in modules/payment/commerce_payment_ui.module
Implements hook_menu().

File

modules/payment/includes/commerce_payment_ui.admin.inc, line 113
Administrative page callbacks for the Payment UI module.

Code

function commerce_payment_ui_payment_transaction_delete_form_wrapper($order, $transaction) {

  // Include the forms file from the Payment module.
  module_load_include('inc', 'commerce_payment', 'includes/commerce_payment.forms');
  return drupal_get_form('commerce_payment_ui_payment_transaction_delete_form', $order, $transaction);
}