#Rupenbritz.checkout-redirect-ios

1 messages ยท Page 1 of 1 (latest)

untold mango
#

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"?

random glacier
#

so when i hit subscribe, it loads for a while, then turns green with the checkmark

#

and then nothing happens

untold mango
#

So there's no redirect to the success_url?

random glacier
#

while in normal browser/android webview it redirects back to the app url

#

yeah exactly

#

i can press the back button

#

so cancelurl works

untold mango
#

Are you using a custom URL scheme for your app?

random glacier
#

no

#

the successurl is very basic, its just redirects me back to the base url

#

because i check the webhook status on that url

untold mango
#

Yeah I think the iOS web view is acting up here

#

I think this is where deep linking is required

random glacier
#

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

untold mango
#

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

random glacier
#

evt_1JuFTnHmn9yapd74YZrhzQ6G

#

is the event log from the checkout.session.completed

#

cs_test_a1WXwlIGZQ99zMKLaA7O1flgydCXER5UkBRIMWSBXslLmMmLOLhqRbDdW7

#

might be the checkout ?

untold mango
#

Thanks, taking a look

#

Hmm, nothing immediately apparent. Are there in logs in your application to suggest an error?

random glacier
#

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?

untold mango
#

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

random glacier
#

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 ๐Ÿ˜›

untold mango
#

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}"

random glacier
#

oh hmm

#

yep that would probably explain stuff ๐Ÿ˜›

#

haha fs sorry

#

ill update that now and try again

untold mango
#

Sorry I missed that the first time ๐Ÿคฆโ€โ™‚๏ธ

random glacier
#

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 ๐Ÿ˜›

untold mango
#

๐Ÿคž

random glacier
#

haha god damnit.. yep that was it

#

sorry for wasting your time ๐Ÿ˜›

untold mango
#

๐ŸŽ‰