Skip to content

Commit

Permalink
Update PayPalFacadeAccessor.php
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive authored Jul 6, 2016
1 parent 7b48fb4 commit 421128c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/PayPalFacadeAccessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ class PayPalFacadeAccessor
*/
public static function getProvider()
{
return self::$provider;
if (empty(self::$provider))
return new ExpressCheckout;
else
return self::$provider;
}

/**
Expand Down

0 comments on commit 421128c

Please sign in to comment.