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

fix: samsungpay script mount condition correction

Open aritro2002 opened this issue 10 months ago • 1 comments

Type of Change

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

Description

The Samsung Pay script should be mounted only when Samsung Pay is present and the script is not already mounted. Previously, we only checked whether it was mounted.

How did you test it?

I tested by running it in demo store. Screenshot 2025-02-12 at 4 49 13 PM

Checklist

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

aritro2002 avatar Feb 12 '25 11:02 aritro2002

Review changes with  SemanticDiff

semanticdiff-com[bot] avatar Feb 12 '25 11:02 semanticdiff-com[bot]

Closing this PR will discuss more on priority how can we improve this

PritishBudhiraja avatar Jul 01 '25 06:07 PritishBudhiraja