EB Stripe Checkout: Incorrect amount for Zero-decimal currencies

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 weeks 1 day ago #170942 by hide10
Hello,

Currently I'm testing the EB Stripe Checkout plugin.
I noticed that incorrect amount is passed to Stripe, in the case of zero-decimal currencies (e.g., JPY).

For example,
if price is 2,000 JPY, Stripe checkout page shows 200,000 JPY.
The amount is multiplied by 100.

Please refer to the Stripe document below for details about zero-decimal currencies.
docs.stripe.com/currencies#zero-decimal

Will you please fix this issue?

Thank you for your help,
rikao

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #170943 by Tuan Pham Ngoc
Hi

I just updated code of the payment plugin to handle it. Please access to My Downloads menu item, see your order and download the payment plugin from there, upgrade it to your site and the error will be gone

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • hide10
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 weeks 1 day ago #170958 by hide10
Hi Tuan,

I've confirmed that the updated plugin solved the issue.
Thank you!!

rikao

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #170971 by Tuan Pham Ngoc
Great. Thanks for confirming

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc