-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Braintree CE 2.1.0 doesn't accept payments in KRW - error msg 'Amount is an invalid format.' #5961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, @flecxie. |
Request array below:
|
If you open a list of currencies supported by Braintree, you will see that KRW is zero-decimal currency, but in your request amount is a fractional part. |
Thanks for that info @joni-jones! Is there a way to tell Magento that this is a zero-decimal currency / avoid that it uses decimals? |
Magento doesn't process any currency details because each payment processor can contain own specific for different currencies. I've created internal ticket MAGETWO-56451 to investigate this issue. |
@joni-jones: Can you think of a workaround for now? |
@flecxie @joni-jones |
Thank you for your submission. We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues. Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here). We are closing this GitHub ticket and have moved your request to the new forum. |
…er#144 "Login as Customer" functionality should be enabled by default
I can't process KRW payments with Braintree on CE 2.1.0, getting the following error message in debug.log: Amount is an invalid format.
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: