POST billing/subscriptions/<subscription-id>/revise fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have made a new products and plan.
I have made a successful subscription which has been agreed and paid for
When I post to {{sandbox_endpoint}}billing/subscriptions/<subscription-id>/revise
I tried posting
{
"plan_id": "P-planID",
"quantity": "6"
}
and then I tried
{
"plan_id": "P-planID",
"quantity": "6",
"application_context": {
"payment_method": {
"payee_preferred": "UNRESTRICTED"
},
"return_url": "http://mygreatwebsite.net/executeAgreementPaypal?orderID=kjr83emd1&paymentMethod=PAYPAL&subscription...",
"cancel_url": "http://mygreatwebsite.net/executeAgreementPaypal?orderID=kjr83emd1&paymentMethod=PAYPAL&subscription..."
}
}
and I get
{
"name": "UNPROCESSABLE_ENTITY",
"message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
"debug_id": "b7f1f17d3f679",
"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"
}
]
}
Please help me fix this.
Regards
NTS
- Labels:
-
API
-
Recurring Payments
-
REST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Happens to us on Paypal Live as well, but we could not find anything useful in Paypal documentation.
Please support us on this, and what is a workaround
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Cart dropps items, fails to return customer to previous window in PayPal Payments Standard
- How do I fix this error message: failed to load the PayPal JS SDK script. in SDKs
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- How do you dynamically pass an item name through an 'add to cart' button? in Sandbox Environment
- can't checkout with safari in PayPal Payments Standard