New to the community? Welcome! Please read our Community Rules and Guidelines
If you want to report illegal content under the EU Digital Services Act, please do so here
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