I am trying to upgrade the plan of paypal subscription using Rest API.
https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions_revise
This is the documentation I am following.
But I am getting the following error :
{"name":"UNPROCESSABLE_ENTITY","message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"9d40b8cfc8e6e","details":[{"issue":"PAYMENT_IN_PROGRESS","description":"Payment for the subscription is in progress."}],"links":[{"href":"https://developer.paypal.com/docs/api/v1/billing/subscriptions#UNPROCESSABLE_ENTITY","rel":"information_link","method":"GET"}]}
What Am I doing wrong as this subscription is active with 1 Day of recurring frequency