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 :
4040
4141``` php
4242// 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;
4545
4646// client id and client secret retrieved from PayPal
4747$clientId = "<<PAYPAL-CLIENT-ID >>";
@@ -58,8 +58,8 @@ $client = new PayPalClient($environment);
5858
5959``` php
6060// 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;
6363
6464// client id and client secret retrieved from PayPal
6565$clientId = "<<PAYPAL-CLIENT-ID >>";
You can’t perform that action at this time.
0 commit comments