#jin_paymentsheet-swift
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1306758026866200666
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jin_webhooks, 6 days ago, 9 messages
Hello! Can you provide a lot of specific detail about what "app breaks" means?
Without more details, it sounds like you either skipped or missed a step in this section: https://docs.stripe.com/payments/accept-a-payment?platform=ios&uikit-swiftui=swiftui#ios-set-up-return-url
in my app, i have a use case where I first go to View1, then View2, then View3 where I can click a button to open a stripe PaymentSheet page
once i exit the Stripe PaymentSheet page, i go back to View3(works fine) , View2,(works fine) then View1 (buttons there no longer do anything when I click them)
If I'm understanding correctly it sounds like View1 has nothing to do with Stripe, so that's an issue you'd need to debug and solve on your end.
what should be the return URL for an ios app? because I don't have URLs for difference Views in an ios app
configuration.returnURL = "your-app://stripe-redirect"
I linked to the documentation that explains that above.
This is linked from that section of the docs: https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app
Have you done that?
Did you implement onOpenURL and define a custom URL scheme for your app?
yeah i am suspecting that's the problem
Okay, so what I said initially was correct, you either skipped all or part of that section.
Make sure you read that section I linked to above in detail.
ok thank you
Happy to help!