-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Order confirmation email for guest checkout does not include download links #18323
Comments
Hi @hsray. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @hsray do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@magento-engcom-team give me 2.2.5 instance |
Hi @hsray. Thank you for your request. I'm working on Magento 2.2.5 instance for you |
Hi @hsray, here is your Magento instance. |
I can confirm that I was able to reproduce the problem on the vanilla Magento instance. The logged in customer order email was correct and the guest order email was incorrect as described above. |
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
@engcom-backlog-nazar Thank you for verifying the issue. Based on the provided information internal tickets |
#SQUASHTOBERFEST |
Hi @maheshWebkul721. Thank you for working on this issue.
|
@magento-engcom-team give me 2.2-develop instance |
Hi @maheshWebkul721. Thank you for your request. I'm working on Magento 2.2-develop instance for you |
Hi @maheshWebkul721, here is your Magento instance. |
Hi @swnsma. Thank you for working on this issue.
|
…nclude download links. - move save downloadable items from 'save_commit_after' to 'save_after' event.
…nclude download links. - move save downloadable items from 'save_commit_after' to 'save_after' event.
…nclude download links. - move save downloadable items from 'save_commit_after' to 'save_after' event.
I've just checked current fix on Magento 2.3.0 as guest and registered customer and got from debug that fix of changing events doesn't work as needed. Namely SetLinkStatusObserver runs before than SaveDownloadableOrderItemObserver and that's why PurchasedLink has status 'pending', not 'available'. So, if you try download it as Guest you will get error that link not available. |
@aholovan, |
This change breaks download links for all new orders, not just guests. Now, links are never set to available, cannot be downloaded whether the order is placed logged in or not. We had to create a new module to override this change. |
Thank you for the reply, for now our solution is to roll back this commit via custom module as none of our sites allow checkout as guest. Hopefully PR #21971 fixes the guest problem without causing further issues. |
Preconditions
Steps to reproduce
Expected result
Actual result
Screenprints of both emails are attached
The text was updated successfully, but these errors were encountered: