function hook_commerce_paypal_checkout_update_order_request_alter in Commerce PayPal 7.2
Allows modules to alter the request body before the update order API call is made to PayPal.
Parameters
array $request_body: The request body.
$order: The order.
1 invocation of hook_commerce_paypal_checkout_update_order_request_alter()
- commerce_paypal_checkout_update_order in modules/
checkout/ commerce_paypal_checkout.module - Update the PayPal order.
File
- modules/
checkout/ commerce_paypal_checkout.api.php, line 30 - Documents hooks provided by the Commerce PayPal Checkout module.
Code
function hook_commerce_paypal_checkout_update_order_request_alter(&$request_body, $order) {
// No example.
}