Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

CreatePayment API is called multiple times if the Pay button is clicked multiple times #446

Closed
sdgun opened this issue Aug 10, 2021 · 5 comments

Comments

@sdgun
Copy link

sdgun commented Aug 10, 2021

Steps
Proceed to checkout page
Fill in the correct card infor
Click Pay multiple times

CreatePayment API is called for each click, better to disable the button after one click

image

@sdgun sdgun changed the title CreatePayment API is called multiple times if the Pay button is clicked CreatePayment API is called multiple times if the Pay button is clicked multiple times Aug 10, 2021
@nikolay83
Copy link
Collaborator

@sdgun
And does it lead to multiple payment transactions?

@sdgun
Copy link
Author

sdgun commented Aug 11, 2021

@nikolay83 yes

@ghost
Copy link

ghost commented Aug 11, 2021

Issue Resolved.

Screen.Recording.2021-08-11.at.8.49.44.AM.mov

@sdgun
Copy link
Author

sdgun commented Aug 11, 2021

Verified in Dev, this issue is fixed.

2021-08-11_11-34-07.mp4

@sdgun
Copy link
Author

sdgun commented Aug 16, 2021

Verified in production.

2021-08-16_15-25-24.mp4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants