Email notification for new order and cancel order failing.
chemisax last edited by
Bagisto version: Latest at time of writing this report.
Hello, some email notifications are failing with the following error:
TypeError: Argument 1 passed to Webkul/Tax/Helpers/Tax::getTaxRatesWithAmount() must implement interface Webkul/Checkout/Contracts/Cart, instance of Webkul/Sales/Models/Order given on line 1
I've debugged the problem and found that the email template is calling
Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount, which expects receiving an instance of
Cartbut the template is sending an instance of
The templates affected are:
Vaishali Agarwal last edited by
Please mention the framework version along with steps to reproduce, as we are not getting this type of issue.
Emails are working fine.