Unable to Create Subscription Using REST Account

bh49
Contributor
Contributor

I have created a PayPal sandbox applications, Using the Rest business dashboard, I have created one subscription plan. When I am trying to create a subscription using the REST Endpoint along with Client Credentials in the postman tool and providing the same plan ID which is being used to do an action of Create Subscription. I noticed that an error of resource Id does not exist. 

REST Business Dashboard - 

bh49_0-1728377759824.png

An Error Encountered while doing the POST Request for create operation on the subscription.

 

REST API ENDPOINT - https://api-m.sandbox.paypal.com/v1/billing/subscriptions

 

Body - 

{
"plan_id":"P-8TB14087NW268561JM37HS4A"
}
 

ERROR - 

 

{
"name": "RESOURCE_NOT_FOUND",
"message": "The specified resource does not exist.",
"debug_id": "f97488533272b",
"details": [
{
"issue": "INVALID_RESOURCE_ID",
"description": "Requested resource ID was not found."
}
],
"links": [
{
"rel": "information_link",
"method": "GET"
}
]
}


Also, it lists the record of subscriptions table using REST Endpoint and Credentials if provided the plan Id of the SOAP account, which is the wrong behaviour.

 

Please let me know if anyone has come across to this issue.
Thanks. 

 
Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.