cote-workshop icon indicating copy to clipboard operation
cote-workshop copied to clipboard

Purchase down issue

Open Xstoudi opened this issue 6 years ago • 3 comments

If I shutdown the payment-service and then the user buy something, its purchases won't be correctly be sent. Result in the admin console: , 2, , , 5 On the Users list.

Xstoudi avatar May 02 '18 11:05 Xstoudi

I had a similar problem where if you click the buy button really fast, it does the same thing.

jbonnett92 avatar Aug 19 '18 03:08 jbonnett92

If you download and run up the docker-compose you will see that the system work fine!

IgorDePaula avatar Jun 05 '19 14:06 IgorDePaula

Downloaded cote-workshop-master.zip Unzip to folder. Go inside folder, and "docker-compose up", waiting everything ready... Browse to http://localhost:5000, http://localhost:5001 and http://localhist:5555.

Success to add item in http://localhost:5000. Success to buy in http://localhost:5001, but it was strange because i clicked very fast successively. In the screenshot:

  • clicked 10 times
  • balance shown correctly (down 10 from $30 to $20)
  • purchases shown 11 purchases (should be 10 purchases)
  • Stock decreased 5 from 1000 to 995 (stock should be 990) IMG-20201013-WA0000

gerberasa avatar Oct 13 '20 00:10 gerberasa