Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Card Processing] Lag between place order button click and UI loading indicator #39

Closed
chickenn00dle opened this issue Sep 25, 2020 · 1 comment · Fixed by #45
Closed

Comments

@chickenn00dle
Copy link
Contributor

chickenn00dle commented Sep 25, 2020

There is about a 5-10 second delay between the time a user clicks the Place order button and the time the loading indicator appears: https://d.pr/i/pIfktD

Viewing XHR requests in dev tools, I can see requests happening, but on the front-end, it appears as though nothing is happening for a few seconds until the loading indicator finally appears.

If a customer selects the button a second time, a console error appears indicating payment is in progress, but again, nothing on the front-end: https://d.pr/i/wAf5pg

Steps to Reproduce

  1. Make sure PayPal is connected and Credit Card Processing is enabled.
  2. Add a product to cart and proceed to checkout
  3. Select Credit Cards option and fill in all required form fields
  4. Open dev tools and either navigate to the Network Tab or enable XHR messages in console
  5. Select the Place order button. In dev tools, you will see magic happening. On the front-end, nothing will appear to be happening for a few seconds. Then the loading indicator will appear.

*This may be specific to my environment, but this doesn't happen with any other payment gateways for me.

@mattallan
Copy link
Contributor

*This may be specific to my environment

I can confirm that I see the same thing :)

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

Successfully merging a pull request may close this issue.

2 participants