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 am trying to integrate the cancel subscription feature to our website, but when I use this API(https://api.sandbox.paypal.com/v1/billing/subscriptions/I-PVVXGCHVCL6V/cancel) ) to cancel the subscription, Paypal response to me the 404 Not Found. I can ensure the subscription id( I-PVVXGCHVCL6V) is correct.
{
"name": "RESOURCE_NOT_FOUND",
"message": "The specified resource does not exist.",
"debug_id": "62a1a2f63d70",
"details": [
{
"issue": "INVALID_RESOURCE_ID",
"description": "Requested resource ID was not found."
}
],
"links": [
{
"href": "<a href="https://developer.paypal.com/docs/api/v1/billing/subscriptions#RESOURCE_NOT_FOUND" target="_blank">https://developer.paypal.com/docs/api/v1/billing/subscriptions#RESOURCE_NOT_FOUND</a>",
"rel": "information_link",
"method": "GET"
}
]
}
Our website integrated the Paypal subscription by using the API https://www.paypal.com/cgi-bin/webscr like this ( https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/html-example-su...)
Q1: Is it possible that can not using the https://api.sandbox.paypal.com when using https://www.paypal.com/cgi-bin/webscr ?
I also trying to use this way (https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/html-example-su...) to cancel, but the param alias confused me.
Q2: Our database didn't store the merchant account ID,how to set alias?
Q3: I visited the link https://www.paypal.com/cgi-bin/webscr?cmd=_subscr-find&alias=SGGGX43FAKKXN&switch_classic=true ,
it redirect to https://www.sandbox.paypal.com/myaccount/transactions/?free_text_search=&account_subscription_type=A...
and I can not find out the Cancel button on this page,Is it normal?