Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task: add warning log for double submissions #290

Merged
merged 2 commits into from
Mar 13, 2025

Conversation

luca-gr4vy
Copy link
Contributor

@luca-gr4vy luca-gr4vy commented Mar 13, 2025

Description

Adds a warning log if Embed is submitted more than once in quick succession so that merchants are aware of potential issues related to a double submission (mainly wallets creating two sessions and throwing Page already has an active payment session.)

Ticket: https://gr4vy.atlassian.net/browse/TA-10323

Screenshots:

Screenshot 2025-02-25 at 10 56 52

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own changes
  • I have run yarn lint to make sure my changes pass all tests
  • I have run yarn test to make sure my changes pass all linters
  • I have pulled the latest changes from the upstream main branch
  • I have tested both the react and the CDN versions on local and integration environments
  • I have added the necessary labels to this PR in case a new release needs to be published after merging into main (e.g. release and patch)

Contribution guidelines

For contribution guidelines, styleguide, and other helpful information please
see the CONTRIBUTING.md file in the root of this project.

@luca-gr4vy luca-gr4vy added patch Increment the patch version when merged release Create a release when this pr is merged labels Mar 13, 2025
@@ -26,7 +26,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Cache node modules
uses: actions/cache@v1
uses: actions/cache@v4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To fix the v1 deprecation issue

Screenshot 2025-03-13 at 10 18 06

@luca-gr4vy luca-gr4vy merged commit 7fe6e5a into main Mar 13, 2025
5 checks passed
@luca-gr4vy luca-gr4vy deleted the task/TA-10323-add-log-warning-double-submission branch March 13, 2025 09:31
@gr4vy-code
Copy link
Collaborator

🚀 PR was released in v2.34.1 🚀

@gr4vy-code gr4vy-code added the released Issue or pull request released label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released Issue or pull request released
Development

Successfully merging this pull request may close these issues.

3 participants