SDK was redirecting everytime in case of SDK pay now button was clicked, fixed it by adding a condition of only redirect when submit successfull is true.
How did you test it?
by trying to click on pay now without providing all fields
Checklist
[X] I ran npm run re:build
[X] I reviewed submitted code
[ ] I added unit tests for my changes where possible
Type of Change
Description
SDK was redirecting everytime in case of SDK pay now button was clicked, fixed it by adding a condition of only redirect when submit successfull is true.
How did you test it?
by trying to click on pay now without providing all fields
Checklist
npm run re:build