Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Invalid Integer #66

Open
maxxeh1 opened this issue Sep 12, 2018 · 0 comments
Open

Invalid Integer #66

maxxeh1 opened this issue Sep 12, 2018 · 0 comments

Comments

@maxxeh1
Copy link

maxxeh1 commented Sep 12, 2018

Certain amounts such as 67.96 throw an Invalid Integer error.
I've created a hotfix in my Magento in file: vendor/pmclain/module-stripe/src/view/frontend/web/js/view/payment/method-renderer/pmclain_stripe.js on line 188. I changed this line to be Math.round(quote.totals().base_grand_total * 100)

Please could you push this as a fix or find another fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants