paypal_payment_pps.api.php in PayPal for Payment 7
Contains hook documentation.
File
paypal_payment_pps/paypal_payment_pps.api.phpView source
<?php
/**
* @file
* Contains hook documentation.
*/
/**
* Alters redirect data.
*
* @param Payment $payment
* The payment for which to alter the data.
* @param array $data
* The data to alter. Keys and values correspond to Paypal PPS's documented
* redirect data.
*/
function hook_paypal_payment_pps_data(Payment $payment, array &$data) {
// Enforce the interface language to be Ukrainian.
$data['lc'] = 'UK';
}
Functions
Name | Description |
---|---|
hook_paypal_payment_pps_data | Alters redirect data. |