Paypal api – Paypal sandbox window closed on subscribe button click with "create_order_error : Token Failure"
Here is the code to create subscription and user consent from paypal sandbox. paypal.Buttons({ style: { shape: 'rect', color: 'white', layout: 'horizontal', label: 'subscribe', tagline: false, }, createSubscription: function(data, actions) { if( subscriber_id !== null ){ return actions.subscription.revise(subscriber_id, { 'plan_id':…