You are here

commerce_paypal_wpp.api.php in Commerce PayPal 7

Hook documentation for the PayPal WPP module.

File

modules/wpp/commerce_paypal_wpp.api.php
View source
<?php

/**
 * @file
 * Hook documentation for the PayPal WPP module.
 */

/**
 * Allows modules to alter the name-value pair array for a PayPal WPP API
 * request before it is submitted.
 *
 * @param &$nvp
 *   The name-value pair array for the API request.
 * @param $order
 *   If available, the full order object the payment request is being submitted
 *   for; otherwise NULL.
 */
function hook_commerce_paypal_wpp_request_alter(&$nvp, $order) {

  // No example.
}

Functions

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