#Rupenbritz.checkout-redirect-ios
1 messages ยท Page 1 of 1 (latest)
Hey! This seems pretty bizarre for sure. Not heard of any iOS specific issues, but seems like a pretty niche language/framework
What exactly do you mean by "doesn't seem to work"?
so when i hit subscribe, it loads for a while, then turns green with the checkmark
and then nothing happens
So there's no redirect to the success_url?
while in normal browser/android webview it redirects back to the app url
yeah exactly
i can press the back button
so cancelurl works
Are you using a custom URL scheme for your app?
no
the successurl is very basic, its just redirects me back to the base url
because i check the webhook status on that url
Yeah I think the iOS web view is acting up here
I think this is where deep linking is required
cancel url is basically just: trundl-dev.azurewebsites.net/
success url is: trundl-dev.azurewebsites.net/success?session_id={{CHECKOUT_SESSSION_ID}}
how does the checkout redirect? is it just js window.location.href or something else?
Because its weird that the cancel button works if its just a normal redirect
Yeah, I'm not entirely sure. Can you share the ID of a successful Payment Intent or the Checkout Session?
I'll see if there's anything obvious up
evt_1JuFTnHmn9yapd74YZrhzQ6G
is the event log from the checkout.session.completed
cs_test_a1WXwlIGZQ99zMKLaA7O1flgydCXER5UkBRIMWSBXslLmMmLOLhqRbDdW7
might be the checkout ?
Thanks, taking a look
Hmm, nothing immediately apparent. Are there in logs in your application to suggest an error?
no, since it happens on stripes website - and the webview just sees the page its on with no errors :x
any chance you can find out how the success redirect is executed?
would it be possible to request the ability to click the green button to manually redirect?
I think it's probably best you write in to support and we can spend some time figuring this out. Seems like a pretty unique edge case that I've not seen before: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
here you can see im just stuck on this page
and cancel button is gone et
but yeah will write in to support
it COULD also just be a emulator issue, ill actually try it on my real iphone ๐
WAIT
I think I found the issue for that one Checkout Session you shared
success_url: "https://trundl-dev.azurewebsites.netsuccess?session_id={CHECKOUT_SESSION_ID}"
Missing the / I think?
success_url: "https://trundl-dev.azurewebsites.net/success?session_id={CHECKOUT_SESSION_ID}"
oh hmm
yep that would probably explain stuff ๐
haha fs sorry
ill update that now and try again
Sorry I missed that the first time ๐คฆโโ๏ธ
haha no - im sorry for such a basic mistake if thats it.. We just have too many cooks on this app and people keep changing urls in the config to their own one and accidentally comitting it.. I just forgot to add the slash back
lets try it now, hopefully that was the issue ๐
๐ค
๐