- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey, I came across this post on stackoverflow and it is EXACTLY my issue, everything used to work fine and now since about a month ago, it is not possible to finish a payment successfully on my website because of this issue ( yes it will pay, but they won't get their subscription updated because they won't get to the confirmation page successfully ).
Here is the issue : http://stackoverflow.com/questions/40294214/did-paypal-change-meaning-of-cancel-url-or-is-it-a-bug
Is paypal changing the cancel_return which means I'll have to update my website or is this a bug?? because as he states in the thread :
PayPal's documentation for cancel_return says
A URL to which PayPal redirects the buyers' browsers if they cancel checkout before completing their payments. For example, specify a URL on your website that displays a "Payment Canceled" page. Default — PayPal redirects the browser to a PayPal webpage.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just checked the lastest example on the account and I can see that we definitely redirected back to the return URL, not the cancel URL. T
here was a CreateRecurringPaymentProfile API call made against thst EC token as well, but it failed with this error:
shortmessage | "Start Date should be greater than current date" |
---|---|
longmessage | "Subscription start date should be greater than current date" |
Reason for that is because of the start date passed in the API call to PayPal:
profilestartdate | "2016-01-08T00:00:00Z" |
---|
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you post a link to where I can test this please?
The cancel_return URL should only be called in the case of the cancel link being selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So this integration is Express Checkout, the issue mentioned on Stackoverflow was WPS so some differences. I've checked the flow and can see that the values we're using for redirect and cancel are below:
returnurl | "http://www.iscrape.pw/Account/Confirm" |
---|---|
cancelurl | "http://www.iscrape.pw/Error/Cancel" |
Can you confirm that all users are getting the same behaviour?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I confirm that every users are now experiencing this issue ( everything has been working fine for months ).
I've tested it by my own and it gave me the issue.
This makes me unable to automatically add the subscription to their account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just checked the lastest example on the account and I can see that we definitely redirected back to the return URL, not the cancel URL. T
here was a CreateRecurringPaymentProfile API call made against thst EC token as well, but it failed with this error:
shortmessage | "Start Date should be greater than current date" |
---|---|
longmessage | "Subscription start date should be greater than current date" |
Reason for that is because of the start date passed in the API call to PayPal:
profilestartdate | "2016-01-08T00:00:00Z" |
---|
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right, I'm stupid (overthinked a lot because I've seen that stackoverflow post ), issue is just me using datetime.now and not checking if we're in december, which means if I add a month ( 12+1 = january ), it wasn't changing the year ( 2016+1)
thanks, sorry for your time...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How can I get the java SDK to gracefully let go of the page? in Sandbox Environment
- PayPal UI does not block "Continue" button until onShippingChange is resolved in SDKs
- Notifications from old subscriptions to new REST app in REST APIs
- PayPal Subscription revise - buyer is not redirected after consent in Sandbox Environment
- How does the onError function work? in PayPal Payments Standard