From a7d67a98120bece6d754cd6ca50b4a7ac1b7648d Mon Sep 17 00:00:00 2001 From: dangeroustry Date: Mon, 28 Dec 2015 13:27:25 +0100 Subject: [PATCH] Import missing configs --- src/PayPalRequestTrait.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/PayPalRequestTrait.php b/src/PayPalRequestTrait.php index bc86fc2f..3394d1c4 100644 --- a/src/PayPalRequestTrait.php +++ b/src/PayPalRequestTrait.php @@ -54,6 +54,11 @@ private static function setConfig() self::$config['gateway_url'] = 'https://www.paypal.com'; } + // Adding params outside sandbox / live array + self::$config['payment_action'] = $paypal['payment_action']; + self::$config['currency'] = $paypal['currency']; + self::$config['notify_url'] = $paypal['notify_url']; + unset($paypal); }