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

Order resend after order submission error #635

Open
HenriqueGarcez opened this issue Mar 2, 2021 · 0 comments
Open

Order resend after order submission error #635

HenriqueGarcez opened this issue Mar 2, 2021 · 0 comments

Comments

@HenriqueGarcez
Copy link

After submitting an order, if the order fails to be completed, for example by a payment error, the order creation and submission process is remade again and another complete request is made on the same order.

Steps to reproduce the behavior:

  1. Go to 'https://a7727193c1tst-store.occa.ocs.oraclecloud.com/b2cmn'; User: admin, Pwd: admin
  2. Click on any product, like: 'https://a7727193c1tst-store.occa.ocs.oraclecloud.com/b2cmn/p/melissa-sun-venice-ad/33493' and add it to the cart. (Button 'Comprar')
  3. Go to the cart on 'https://a7727193c1tst-store.occa.ocs.oraclecloud.com/b2cmn/cart'
  4. Click on the button 'Finalizar Compra', a login modal will be promped, and then login in as User: 'test@check.net' , Pwd: C0nnect123
  5. Wait the checkout to be loaded and scroll down to 'Confirmar formas de entrega?' and click on 'Sim'
  6. The payment tab will be opened
  7. Enter an invalid credit card info and then click on 'Fechar Compra' on the checkout summary
  8. Look for the requests been made on the Network, you will see that after the first orders request is finished, another one will be started

This steps can be reproduced on any device or browser.

On this case, as it happens on a success order complete request, I suppose just one complete request to order should had happen.

This resend process is making more than one attempt to transact with the user card and this is really bad for the user experience.

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

No branches or pull requests

1 participant