-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition on stripe subscription (#9629)
Fixes twentyhq/core-team-issues#191 - remove automatic redirection on payment success page when subscription status is undefined - add an effect component to refresh the subscription status on payment success page Observation: Locally, I had to delay the stripe webhook subscription created endpoint by 7s to see race condition issue https://github.com/user-attachments/assets/463e1816-34fd-4c4f-b590-3994a3a3e91a
- Loading branch information
Showing
3 changed files
with
47 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters