Closed johansolve closed 12 years ago
Tapping the Cancel-button should open the x-failure URL with the error code CancelledByUser. What steps do you go through to reproduce the bug?
One possible reason could be that your application is not sending a valid x-failure URL. Can you validate that your app will be respond to the URL you are using? This can be done using the URL Tester app.
Initiate a purchase with izettle url, tap "Avbryt" in iZettle before doing anything else.
The x-failure URL works properly when linked from a web page.
My guess is that the url is not properly encoded. Look at the example applications to se how it is done.
Encoded like this now, doesn't help: fmp%3a%2f%2f%24%2fizettle.fmp12%3fscript%3dreturn
I'll do some more tests to see if I can figure it out. at least I know it SHOULD work.
Our test-app will encode its failure url like this: "customurl://failure?foo%3Dbar". I suggest you look into the example code. Closing this case for now. Reopen it if you can't find a solution.
Works now.
Ska inte Avbryt-knappen i iZettle anropa url i x-failure? Det gör den inte. Man stannar kvar i iZettle.