diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index dcad72d0..98aee24d 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -1017,6 +1017,7 @@ class Index extends CI_Controller { $payment_fee = property_exists($webhook_memo, 'mc_fee') ? $webhook_memo->mc_fee : $webhook_memo->resource->transaction_fee->value; $GAI_API = property_exists($webhook_memo, 'GAI_API') ? $webhook_memo->GAI_API : null; + $GAI_API = json_encode($GAI_API, JSON_UNESCAPED_SLASHES); } else { $payment_fee = property_exists($webhook_memo, 'mc_fee') ? $webhook_memo->mc_fee : 0; }