Skip to content
Snippets Groups Projects
Verified Commit 7cc0bc4a authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

dev/core 1931 Prevent PayPal from double-encoding the IPN Notify URL

PR 18980  Christian Wach
parent 9bb78de1
No related branches found
No related tags found
No related merge requests found
......@@ -969,6 +969,8 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
// Allow further manipulation of the arguments via custom hooks ..
CRM_Utils_Hook::alterPaymentProcessorParams($this, $params, $paypalParams);
$paypalParams['notify_url'] = str_replace( '%2F', '/', $paypalParams['notify_url'] );
$uri = '';
foreach ($paypalParams as $key => $value) {
if ($value === NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment