Uncaught Error: Interface 'PayPalHttp\Environment' not found
Alberto123456
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
May-30-2021
06:41 AM
I'am useing the https://github.com/paypal/Checkout-PHP-SDK
trying the first lines of the samples gives still an error.
$clientId = "<<PAYPAL-CLIENT-ID>>"; $clientSecret = "<<PAYPAL-CLIENT-SECRET>>"; $environment = new SandboxEnvironment($clientId, $clientSecret); $client = new PayPalHttpClient($environment);
there is nowhere an interface Environment defined. How and where to do that?
Labels:
- Labels:
-
PayPal Here SDK
-
REST SDK
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Simple Paypal button integration results in 404 error in Sandbox Environment
- REST API responses include random names under payer_info on currency conversion transactions. in REST APIs
- Save Credit Card for later in REST APIs
- Totally confused about implementing a "modern" PayPal interface in Sandbox Environment
- Issue with 403 Forbidden Error when Accessing PayPal Sandbox API. in Sandbox Environment