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

Headless: Failed payment fails as access to recreate cart route requires storefront #6

Open
AndreasA opened this issue May 25, 2023 · 3 comments

Comments

@AndreasA
Copy link

The current implementation for the failed behavior uses a storefront route/controller to recreate a cart, which is not possible with a headless installation.

Some options:

  • Improve the route to be available without storefront by e.g. assembling the sales channel contest / cart fully from the order.
    • see also the shopware finalize payment route, that should already work like that.
  • why is it even necessary to recreate the cart? normally shopware just reuses the order to pay. sure it is a nice option but it should be optionally and it should behave like Shopware default normally, then it shouldn't be an issue - just redirect to the correct failed URL / finalize URL instead.
@theodorspringwallee
Copy link
Contributor

Dear AndreasA

Thanks for your input.

We officially support the standard use case with specific storefronts, where the cart recreation is working:
grafik
You also can check this under: https://shopware-6.showcase-wallee.com

I can ask our developers if we also should support headless-only configurations.

For this, please can you share with us a reproduction video (with your headless configuration in your backend as well with the mentioned error)? This would help our developers to have clear reproduction steps.

You also can continue with us the communication over info@wallee.com, just refer to this GitIssue here.

Thanks for your feedback.

Best regards

@AndreasA
Copy link
Author

AndreasA commented May 26, 2023

are steps to reproduce enough?

@theodorspringwallee
Copy link
Contributor

Dear AndreasA

Thanks for your response. Looks detailed for me.

We will check your request within the plugin team and let you know, when we have a final decision.

Best regards

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

2 participants