function _uc_paypal_nvp_to_array in Ubercart 5
Same name and namespace in other branches
- 6.2 payment/uc_paypal/uc_paypal.module \_uc_paypal_nvp_to_array()
- 7.3 payment/uc_paypal/uc_paypal.module \_uc_paypal_nvp_to_array()
1 call to _uc_paypal_nvp_to_array()
- uc_paypal_api_request in payment/
uc_paypal/ uc_paypal.module
File
- payment/
uc_paypal/ uc_paypal.module, line 1407 - Integrates various PayPal payment services and Instant Payment Notifications (IPN) with Ubercart!
Code
function _uc_paypal_nvp_to_array($nvpstr) {
foreach (explode('&', $nvpstr) as $nvp) {
list($key, $value) = explode('=', $nvp);
$nvp_array[urldecode($key)] = urldecode($value);
}
return $nvp_array;
}