cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Subscription - revise quantity

sjk4
Contributor
Contributor

I'm currently working on implementing new PayPal subscription mechanism for my online service using REST API. Unfortunately, I'm having some issues with revise method for the existing subscription - for all kind of requests I'm getting PAYMENT_IN_PROGRESS error.

 

My request (containing all necessary auth headers):

POST <a href="https://api.sandbox.paypal.com/v1/billing/subscriptions/I-89G0SXP46PJM/revise" target="_blank">https://api.sandbox.paypal.com/v1/billing/subscriptions/I-89G0SXP46PJM/revise</a>

{"quantity":"4"}

 

API response:

422 {"name":"UNPROCESSABLE_ENTITY","message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"c1c8e4e320f44","details":[{"issue":"PAYMENT_IN_PROGRESS","description":"Payment for the subscription is in progress."}],"links":[{"href":"<a href="https://developer.paypal.com/webapps/developer/docs/api/#UNPROCESSABLE_ENTITY","rel":"information_link","method":"GET" target="_blank">https://developer.paypal.com/webapps/developer/docs/api/#UNPROCESSABLE_ENTITY","rel":"information_link","method":"GET</a>"}]}

 

Subscription I-89G0SXP46PJM is definitely an active subscription and next payment date is tomorrow. I have no idea why I'm getting "Payment for the subscription is in progress." all the time even if today's payment has been successfully made. The PayPal documentation doesn't say anything about payments in progress.

 

Please let me know if anyone had similar issue.

Login to Me Too
Who Me Too'd this topic