You are here

function hook_commerce_paypal_wps_order_form_data_alter in Commerce PayPal 7.2

Same name and namespace in other branches
  1. 7 modules/wps/commerce_paypal_wps.api.php \hook_commerce_paypal_wps_order_form_data_alter()

Allows modules to alter the data array used to create a PayPal WPS redirect form prior to its form elements being created.

Parameters

&$data: The data array used to create redirect form elements.

$order: The full order object the redirect form is being generated for.

See also

commerce_paypal_wps_order_form()

1 invocation of hook_commerce_paypal_wps_order_form_data_alter()
commerce_paypal_wps_order_form in modules/wps/commerce_paypal_wps.module
Builds a Website Payments Standard form from an order object.

File

modules/wps/commerce_paypal_wps.api.php, line 20
Hook documentation for the PayPal WPS module.

Code

function hook_commerce_paypal_wps_order_form_data_alter(&$data, $order) {

  // No example.
}