Skip to content

Commit ca3d153

Browse files
committed
update readme & fix docs
1 parent e08c35b commit ca3d153

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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>>";

0 commit comments

Comments
 (0)