Checkout.com expects a whole number all the time. There are many currencies which have three decimal points (like Kuwaiti Dinar).

Reference - magento plugin from checkout.com: https://github.com/checkout/checkout-magento2-plugin/blob/209bc933566053...

We have to maintain currencies that need 3 currencies and others with 2 digit.

CommentFileSizeAuthor
#3 3158352-3.patch6.95 KBnikunjkotecha
#2 3158352-2.patch4.88 KBnikunjkotecha

Comments

nikunjkotecha created an issue. See original summary.

nikunjkotecha’s picture

Status: Active » Needs review
StatusFileSize
new4.88 KB
nikunjkotecha’s picture

StatusFileSize
new6.95 KB

Missed adding the new class in previous patch :facepalm:

anas_maw’s picture

That is great, Can you please confirm that this is working for you on a live and testing environment?

nikunjkotecha’s picture

Yes, confirmed it works on production environment.

anas_maw’s picture

Status: Needs review » Fixed

Thank you

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.