Zero dollar line items are now getting sent to Gateway if price is a float as 0.0 !== 0
mambose opened this issue · 2 comments
mambose commented
Zero dollar line items are now getting sent to the Gateway if the price is converted to a float as 0.0 !== 0.
commerce-omnipay/src/base/Gateway.php
Line 687 in 2aa8672
This may be due to this recent commit in Craft Commerce craftcms/commerce@2a14968
timeverts commented
@nfourtythree, I'm also having problems because of this bug.
Any chance you can address this?
nfourtythree commented
Hi @mambose & @timeverts
Thank you for reporting this. We have just pushed an update that fixes this issue.
Running composer update
should get you the latest version of this package.
Thanks.