Closed danielphiri closed 3 weeks ago
Hi @Danielphiri! So sorry you are facing this issue.
Logs are not showing a lot of info. Why do you think it's happening a race condition?
@paulperez-dev what kind of information is missing from the logs? I removed all sensitive information from them, but the main information should be there from all the logs I observed around the bug. Sorry, I used the wrong term, I didn't think the issue was necessarily being caused by a race condition, but a thread violation. If you noticed, well over half of the logs after the last log that was related to the 3D authentication were thread violation warnings (i.e, LOG ANALYTICS: stripeios.url_redirect_next_action...
)
@paulperez-dev you can also run the code on your simulator to see the logs directly. Unfortunately, Stripe is requiring 3D authentication on all transactions on my account, so all the payment requests are failing for all my users in production
This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.
This is really disappointing, you're really going to close the issue without even looking into it?
Hi @Danielphiri! I'm not saying there is missing info, but the logs do not provide much info to identify the issue. I'm not a Stripe expert so how can I validate that the warning is a thread violation? Is there any documentation link you can share?
The main point here is not that this is a thread violation, the point is that there is clearly a major bug that's blocking transactions. I have provided enough information for you and your team to try and reproduce the issue. You can also reproduce this with a project that you can set up from scratch.
This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.
Hello,
I apologize for the late response. Does this issue still persist, or was it fixed in the latest FlutterFlow updates?
Can we access your project?
Current Behavior
When a Stripe payment is attempted that requires 3D authentication, they fail, on all platforms. This works fine in test mode, but once Stripe is in production, they all fail. This also happens for all payment cards that I tried (Visa, Mastercard and Discover). What happens from a UX standpoint on iOS is that when the user has entered their payment details, there's an embedded web view that pops up and directs the user to a Stripe "authentication" page. This page just briefly shows the logo of the card processing company and then a loading indicator shows for a few seconds before the page says that the authentication was successful. No user input is requested from the user during this authentication process. However, the only way to dismiss this web view is by clicking the "Close" button at the top left of the screen. But immediately after the authentication web view has been dismissed, the Stripe payment page says the authentication has failed. On other platforms such as web (for all web browsers, Safari, Chrome, etc), the authentication page doesn't event show. The payments just immediately fail if they require 3D authentication. This is a very big issue that has so far cost my company a lot of money and lost a lot of clients.
I ran a session on a simulator on Xcode to try and find the cause of the issue, and it looks like this is being caused by a race condition. Here's a summary of the logs that were returned by Xcode from initializing the payment, to the payment failure:
Expected Behavior
The payments were expected to go through successfully. All the cards I used to simulate are legitimate cards with all the necessary funds and I've never had any other issues with them on any other platform before or after experiencing this issue on the platform. There are also numerous failures from users, in the past month no payments have gone through, they have all failed due to this issue.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
ITESjPLlvI9gruFc+6qAYflQhQAkH1x/bZJEl9caRRQjIqLpEZkQO+r+VGBuYbCZd1A7GlCkmlge/9b6uOHDIcICCw6uaINo1ZZyZQHwdz+WVLqbDbuoeEBAAdFmFU+OyMG7mBBBBMV2dGw8w2z/cq3qNleeY8aSfxBlZ7vfcPo=
Visual documentation
https://github.com/user-attachments/assets/11bf86fb-ae51-4fd4-b487-e236b5ce012f
Environment
Additional Information