I am implementing the subscription REST API, and during my tests, I am trying to open the approval web page in the response links https://www.sandbox.paypal.com/webapps/billing/subscriptions?ba_token=BA-2G089765YH351752N And all I see is a blank page, and an Error 500 request when inspecting in the network tab I have tried using subscription creations with and without "application_context" with "return_url" and "cancel_url", with the same results https://www.sandbox.paypal.com/webapps/billing/subscriptions?ba_token=BA-7BF07371J94665405 The return_url and cancel_url aren't implemented yet, so that may be why I only have a blank page, but I want to be sure that is why the page is blank. Here are the responses from the subscription creations. {
"status": "APPROVAL_PENDING",
"id": "I-4TV82B9PTXXM",
"plan_id": "P-5T786202C82177143LYOFHHI",
"start_time": "2020-06-18T09:02:42Z",
"quantity": "1",
"create_time": "2020-06-18T09:02:42Z",
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-4TV82B9PTXXM",
"rel": "edit",
"method": "PATCH"
},
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-4TV82B9PTXXM",
"rel": "self",
"method": "GET"
},
{
"href": "https://www.sandbox.paypal.com/webapps/billing/subscriptions?ba_token=BA-2G089765YH351752N",
"rel": "approve",
"method": "GET"
}
]
} {
"status": "APPROVAL_PENDING",
"id": "I-MNA5148NREWU",
"plan_id": "P-5T786202C82177143LYOFHHI",
"start_time": "2020-06-18T11:42:31Z",
"quantity": "1",
"create_time": "2020-06-18T11:42:31Z",
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-MNA5148NREWU",
"rel": "edit",
"method": "PATCH"
},
{
"href": "https://api.sandbox.paypal.com/v1/billing/subscriptions/I-MNA5148NREWU",
"rel": "self",
"method": "GET"
},
{
"href": "https://www.sandbox.paypal.com/webapps/billing/subscriptions?ba_token=BA-7BF07371J94665405",
"rel": "approve",
"method": "GET"
}
]
} If that is not the case, what could I use as a workaround? PS: I have tried implementing the missing links that I've sent as application_context in the subscription creation Rest call, but I still have a blank page when I'm trying to open the first link in a web browser.
... View more