You are here

function hook_commerce_paypal_wpp_request_alter in Commerce PayPal 7

Allows modules to alter the name-value pair array for a PayPal WPP API request before it is submitted.

Parameters

&$nvp: The name-value pair array for the API request.

$order: If available, the full order object the payment request is being submitted for; otherwise NULL.

1 invocation of hook_commerce_paypal_wpp_request_alter()
commerce_paypal_wpp_request in modules/wpp/commerce_paypal_wpp.module
Submits a PayPal WPP API request to PayPal.

File

modules/wpp/commerce_paypal_wpp.api.php, line 19
Hook documentation for the PayPal WPP module.

Code

function hook_commerce_paypal_wpp_request_alter(&$nvp, $order) {

  // No example.
}