frontends icon indicating copy to clipboard operation
frontends copied to clipboard

[BUG] DeepLink for Guests and Link Issue

Open BrocksiNet opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

When you order in the default Storefront as a Guest, you will receive an email with a codeDeepLink that lets you view all the details about your order.

Issues Composable Frontends have with that:

  • The default link from the email template is not working or opening the orders in our demo store (there is a # missing in the URL)
  • The link in total is not working for guests because you can not load an order without a context token

Expected Behavior

  • Our demo store opens the correct order without the need to change the link via admin
  • Also, guests can view their order details when they use the link from email that is containing the codeDeepLink (order can be loaded via admin API but not via store API)

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

BrocksiNet avatar Oct 24 '24 08:10 BrocksiNet

Current behaviour when there is a new session:

Guest order: We are asked to provide order data Image

User order: We are asked to log in Image

Current problems:

  • We are not able to fetch any order - 403 error
  • We are not able to detect if the order is user or guest order
  • We don't have an API endpoint for the pre Order guest fetching input

mdanilowicz avatar Nov 07 '24 09:11 mdanilowicz

Is that related to #1472?

BrocksiNet avatar Dec 04 '24 07:12 BrocksiNet

see https://github.com/shopware/shopware/issues/11140 Should be possible now to get the right context using the deep link :)

niklaswolf avatar Sep 30 '25 07:09 niklaswolf