skip to Main Content

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':…

VIEW QUESTION

Paypal api – PayPal live environment error: PAYEE_ACCOUNT_RESTRICTED | The merchant account is restricted

I am using @paypal/checkout-server-sdk and when I use live enviroment I get this error: text: `{"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='default'/payee","location":"body","issue":"PAYEE_ACCOUNT_RESTRICTED","description":"The merchant account is restricted."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"17aeec9c490da","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_RESTRICTED","rel":"information_link","method":"GET"}]}`, statusCode: 422, headers: { 'content-type': 'application/json', 'content-length': '487',…

VIEW QUESTION

Paypal api – Subscriptions in PayPal

I am working on integrating Recurring Payments functionality in Asp.Net based application where people can subscribe to a Service where they will be paying a monthly amount. I am trying to achieve the same using PayPal's Subscription APIs. One another…

VIEW QUESTION
Back To Top
Search