Recent Topics

[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

    1. Make sure at least one address is saved to user account
    2. Go to checkout page
    3. Select a previously saved address
    4. Refresh page
    5. Select a previously saved address
    6. Error 500 in request to /checkout/save-address
    7. Flow does not continue to shipment method
    8. 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


Log in to reply