You are here

function commerce_payment_ui_order_tab in Commerce Core 7

Displays the payment transaction View in an order's payment tab.

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

File

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

Code

function commerce_payment_ui_order_tab($order) {

  // Display the payments View.
  return commerce_embed_view('commerce_payment_order', 'defaults', array(
    $order->order_id,
  ));
}