pmclain / module-stripe

Stripe Payments for Magento 2
Open Software License 3.0
47 stars 21 forks source link

Invalid Integer #66

Open maxxeh1 opened 6 years ago

maxxeh1 commented 6 years ago

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?