-
Notifications
You must be signed in to change notification settings - Fork 169
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
getOrderAdjustments() is empty at email notifications trigger #960
Comments
Not sure how that could be happening, is your email triggered by the initial order status change? |
Yes, by the first order status |
Could you share your code? |
Due to custom shipping logic, we are using
To fetch Shipping methods in PDF, we use this code:
This code works in the order summary page (the page redirect after order completed) |
@siebird Thanks for reporting the issue. It has been fixed for the next release. |
Currently, we have shipping adjustments made during checkout for our custom shipping plugin. At successful order completion,
getOrderAdjustments()
is empty when the email notifications are triggered. We're having the same issue with the PDF attachment to the email.However, viewing the order or downloading the PDF from the CP the shipping adjustments are viewable.
Additional info
The text was updated successfully, but these errors were encountered: