hyperswitch-web icon indicating copy to clipboard operation
hyperswitch-web copied to clipboard

fix: render gpay button when TrustPay script is loaded

Open aritro2002 opened this issue 1 month ago • 2 comments

Type of Change

  • [x] Bugfix
  • [ ] New feature
  • [ ] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates
  • [ ] Documentation
  • [ ] CI/CD

Description

The GPay button was rendered even when the TrustPay script was not loaded.

How did you test it?

https://github.com/user-attachments/assets/9847123b-e199-41fe-b6af-5906381dfd5c

https://github.com/user-attachments/assets/72661505-f2f8-4656-a91c-88f8916de145

Checklist

  • [x] I ran npm run re:build
  • [x] I reviewed submitted code
  • [ ] I added unit tests for my changes where possible

aritro2002 avatar Nov 26 '25 07:11 aritro2002

Review changes with  SemanticDiff

semanticdiff-com[bot] avatar Nov 26 '25 07:11 semanticdiff-com[bot]

🚫 Missing Linked Issue

Hi 👋 This pull request does not appear to be linked to any open issue yet.

Linking your PR to an issue helps keep the project tidy and ensures the issue is closed automatically.

✔️ How to fix this

  • Add a keyword like Fixes #123 or Closes #456 to your PR description or a commit message.
  • Or link it manually using the "Linked issues" panel in the PR sidebar.

Tip: You can link multiple issues. 🚫 Note: If only one issue is linked, it must be open for this check to pass.

Once linked, this check will pass automatically on your next push or when you re-run the workflow.

Thanks for helping maintainers! 🙌

github-actions[bot] avatar Nov 26 '25 07:11 github-actions[bot]