Getting error when createSubscription from smart button
ahowlader06
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-10-2019
03:07 AM
Hello I'm Getting error when create Subscription from smart button .The error is resource not found. I have created billing plan correctly and state is active.
placed correct plan id but getting the error.
my code is :
paypal.Buttons({
createSubscription: function (data, actions) {
return actions.subscription.create({
plan_id: "P-37C52757BH329635U3NDCATY"
});
},
onApprove: function (data, actions) {
alert('You have successfully created subscription ' + data.subscriptionID);
}
}).render('#paypal-button-container');
Labels:
Login to Me Too
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
- Creating a custom payment with the Buttons SDK and having a 400 error while getting card-fields in REST APIs
- How to enable/disable Pay Later when using HTML Form Basics for PayPal Payments Standard in PayPal Payments Standard
- How do I set up PayPal Express Checkout on Shopify? in PayPal Payments Standard
- venmo option not showing on smart phone in PayPal Payments Standard
- App selection for Subscription Button in Sandbox Environment