Testing return_url and cancel_url when creating subscriptions

Y0nier
Contributor
Contributor

I'm trying to create a subscription to check if the cancel_url and return_url works but when going in the checkout page:

https://www.sandbox.paypal.com/webapps/billing/subscriptions?ba_token=... )

 

I cannot see a cancel button or does not redirect me when the subscription is done to the urls setted in the application_context object.

I'm using this Api: Subscriptions (paypal.com)

 

Thanks.

 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

Y0nier
Contributor
Contributor

it was my bad.

return_url and cancel_url wasn't inside application_context 😅

Now it works!.

View solution in original post

Login to Me Too
1 REPLY 1
Solved

Y0nier
Contributor
Contributor

it was my bad.

return_url and cancel_url wasn't inside application_context 😅

Now it works!.

Login to Me Too

Haven't Found your Answer?

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