craftcms/commerce-omnipay

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

Zero dollar line items are now getting sent to the Gateway if the price is converted to a float as 0.0 !== 0.

if ($price !== 0) {

This may be due to this recent commit in Craft Commerce craftcms/commerce@2a14968

@nfourtythree, I'm also having problems because of this bug.

Any chance you can address this?

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.