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

fix: pay now button enable fix in case of wallets

Open sakksham7 opened this issue 1 year ago • 0 comments

Type of Change

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

Description

SDK pay now button was getting enabled if any wallet is rendered even if we do not want it enabled before validation, or if we switch from saved payment methods to main payment method section after clicking on any wallet on saved payment methods section

How did you test it?

configuring wallets and rendering the SDK pay now button after implementing the fix and by switching between the saved payment methods and main payment methods.

Checklist

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

sakksham7 avatar Aug 07 '24 12:08 sakksham7