diff --git a/libraries/Payments.php b/libraries/Payments.php index 6a4235b..8d0aac4 100644 --- a/libraries/Payments.php +++ b/libraries/Payments.php @@ -40,6 +40,10 @@ class Payments return false; } + self::$paypal->setConfig([ + 'mode' => Config::get('paypal_mode'), + ]); + return true; }