Closed MartinHor closed 3 years ago
Hi @MartinUcsi,
You'll need to change "payments-example://stripe-redirect" to your app's own URL. payments-example://stripe-redirect.
Follow the "Set up a return URL" instructions here: https://stripe.com/docs/payments/3d-secure#return-url
I'm closing this out, but let us know if you're still experiencing this issue.
User not auto redirect to the app after failed or confirmation with the specific card.
@davidme-stripe @yuki-stripe how does the StripeSDK decide when to show a webview and when to show a native view? I've been experiencing both scenarios, on the same iPhone, most of the cases its'a a native view, but for some 3DS cards it opens the webview. Is it related to the card type, or to something else?
Summary
I'm using Fpx as the payment method, after authentication the 3D Secure authentication in the webview, my screen stuck at the webview with the "Return to merchant" button and the button is not working, i have to press the close button of the webview to dismiss the webview in order to direct myself back to the apps. I'm using swift.
Code to reproduce
extension CheckoutVC: STPPaymentContextDelegate, STPAuthenticationContext{ func authenticationPresentingViewController() -> UIViewController { return (self.navigationController?.topViewController)! } func paymentContextDidChange(_ paymentContext: STPPaymentContext) { //Updating the selected payment method if let paymentMethod = paymentContext.selectedPaymentOption{ paymentMethodBtn.setTitle(paymentMethod.label, for: .normal) }else{ paymentMethodBtn.setTitle("Select Method", for: .normal) }
iOS version
IOS version 13.4
Installation method
Cocoapods
SDK version
Stripe version 19.2.0
Other information
here is the link for the video i record on my device during the testing. https://firebasestorage.googleapis.com/v0/b/haha-71f15.appspot.com/o/RPReplay_Final1590074772.MP4?alt=media&token=3c955188-6cbf-4e5c-975c-8d7a8dda2ded