New to the community? Welcome! Please read our Community Rules and Guidelines
If you want to report illegal content under the EU Digital Services Act, please do so here
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');