Class 'PayPalCheckoutSdk\Orders\OrdersAuthorizeRequest' not found
BurakUeda
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Mar-25-2019
01:03 AM
Hi,
I am trying to authorize an order before capturing it, using information from this page:
https://developer.paypal.com/docs/checkout/reference/server-integration/authorize-transaction/#
However, I can't find the OrdersAuthorizeRequest class anywhere.
Can anyone help?
Thanks.
Labels:
Login to Me Too
- Labels:
-
Mobile SDKs
-
PayPal Here SDK
-
REST SDK
1 REPLY 1
NewSemantics
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar-30-2020
06:41 AM
Just download the following repositories:
https://github.com/paypal/Checkout-PHP-SDK
https://github.com/paypal/paypalhttp_php
and copy the content of the folder 'lib' to 'paypal/rest-api-sdk-php/lib/' of the PayPal Rest API SDK for PHP. The autoloader will then load everything.
This also works for other Order Classes are used for payments.
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
- Getting errors when integrating standard checkout with my web site. Probably a beginner problem. in SDKs
- Why have other paymentID in REST APIs
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- Just need webhook ID in REST APIs
- Question about the ButtonSource field when converting an integration from SOAP/NVP to REST API v1. in REST APIs