File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ Inorder to communicate with PayPal platform we need to set up a client first :
40
40
41
41
``` php
42
42
// import namespace
43
- use PayPal\Checkout \Environment\SandboxEnvironment;
44
- use PayPal\Checkout\ Http\PayPalClient;
43
+ use PayPal\Http \Environment\SandboxEnvironment;
44
+ use PayPal\Http\PayPalClient;
45
45
46
46
// client id and client secret retrieved from PayPal
47
47
$clientId = "<<PAYPAL-CLIENT-ID >>";
@@ -58,8 +58,8 @@ $client = new PayPalClient($environment);
58
58
59
59
``` php
60
60
// import namespace
61
- use PayPal\Checkout \Environment\ProductionEnvironment;
62
- use PayPal\Checkout\ Http\PayPalClient;
61
+ use PayPal\Http \Environment\ProductionEnvironment;
62
+ use PayPal\Http\PayPalClient;
63
63
64
64
// client id and client secret retrieved from PayPal
65
65
$clientId = "<<PAYPAL-CLIENT-ID >>";
You can’t perform that action at this time.
0 commit comments