Paypal Subscription Wordpress Theme Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working to integrate the subscription part of paypal's api into my wordpress theme. We have been able to implement the one time payments via the API but now when we are integrating subscription functionality it gives an error stating "Access Token does not have required scope" But the api context has been set up correctly from what I can tell. Using the below code to set the api context.
I have also enabled the billing agreement and future payment options in the app settings from the developer portal.
$apiContext = new \PayPal\Rest\ApiContext(
new \PayPal\Auth\OAuthTokenCredential(
'Client ID Info Removed ',
'Secret Key Info Removed '
)
);
I am on php 7.3
Thank You For Your Assistance.
- Labels:
-
API
-
Recurring Payments
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Webhook notifications are not being sent to my server in REST APIs
- Need help to integrate PayPal Checkout Advanced (PPCP) with WooCommerce in PayPal Upgrade Community
- Simple Paypal button integration results in 404 error in Sandbox Environment
- I'm getting error once user try to pay via PayPal - NVP/SOAP Api Integration in NVP/SOAP APIs
- Can't process subscription on Wordpress website in PayPal Payments Standard