[Critical] Onecheckout fails to continue after selecting address
-
Hello,
I found a bug in the checkout page where the request to
/checkout/save-address
fails, preventing the user to continue to select the shipping method.I don't know why, but this bug also saves the address tree times, so the information gets duplicated. It only happens when selecting a previously saved address about 50% of the time.
I think this bug is critical because it can prevent users from placing orders on the platform.
Bagisto version: latest at time of writing.
Steps to reproduce
- Make sure at least one address is saved to user account
- Go to checkout page
- Select a previously saved address
- Refresh page
- Select a previously saved address
- Error 500 in request to
/checkout/save-address
- Flow does not continue to shipment method
- Same address gets saved 3 times. (Reload to confirm)
Here is a video showing the problem: https://www.dropbox.com/s/1r5mk6e6az7nb86/bagisto error.mov?dl=0
Thank you.
-
@chemisax
Thanks for notifying the bug.
This issue is solved in master branch https://github.com/bagisto/bagisto/issues/2987 please update the code.Thanks