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

Can't change billing or shipping address after constraint violation by submit order. #4112

Closed
shopwareBot opened this issue Aug 14, 2024 · 3 comments

Comments

@shopwareBot
Copy link

Used Shopware Version: 6.5.6.0

Description:
Can't change billing or shipping address after constraint violation by submit order.
After a constraint violation by submit order you won't be redirected back to "/checkout/confirm". Instead you stay on "/checkout/order".
This leads to an error when trying to change address, because changing address won't redo the post request and the site tries to reload with a get request.

Environment:

  • Ubuntu 23.04
  • Devilbox
    • Apache: 2.4
    • PHP: 8.1
    • MariaDB: 10.3
    • Tested with Shopware
      • 6.5.6.0
      • 6.5.5.2
      • 6.5.5.1
      • 6.5.4.1

Steps to reproduce:

  • Log into customer account
  • Add product to cart
  • Go to "/checkout/confirm"
  • Force constraint violation
    • e.g. remove in HTML "required" attribute from "tos" input field
  • "Submit Order"
  • "Change (Shipping|Billing) Address"
  • Create new address / change default address

After completing address change:

  • Expected result:
    • Redo POST request to "/checkout/order" OR
    • Redirect to "/checkout/confirm"
  • Actual result: GET request to "/checkout/order" resulting in Error:

No route found for "GET https://example.org/checkout/order": Method Not Allowed (Allow: POST)

OR

After "Submit Order" with constraint violation:

  • Expected result: Redirected back to "/checkout/confirm"
  • Actual result: Staying on "/checkout/order"

Don't know about extension version

@github-actions github-actions bot added the Bug label Aug 14, 2024
@shopwareBot
Copy link
Author

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-31032.

[created from NEXT-31032, comment 485544]

@shopwareBot
Copy link
Author

[public] Hello,

Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.

If you feel like this issue is still impacting you, please create a new issue and let us know. Thank you again for your valuable feedback.

[created from NEXT-31032, comment 492319]

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

No branches or pull requests

1 participant