Fixing The amount must be an integer Error in Bagisto
2. Modify the Cart Price Calculation
If the error occurs during checkout, modify the cart total calculations.
-
File:
packages/Webkul/Checkout/src/Cart.php
-
Find the part where
grand_total
is assigned: -
Change it to: