diff --git a/src/PayPalFacadeAccessor.php b/src/PayPalFacadeAccessor.php index 30c65d2e..3d3ac63d 100644 --- a/src/PayPalFacadeAccessor.php +++ b/src/PayPalFacadeAccessor.php @@ -19,7 +19,10 @@ class PayPalFacadeAccessor */ public static function getProvider() { - return self::$provider; + if (empty(self::$provider)) + return new ExpressCheckout; + else + return self::$provider; } /**