Feature request from flecxie, posted on GitHub Aug 03, 2016
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
Create Braintree Sandbox account + additional Korean Wong Merchant Account ID
Apply patch from https://github.com/magento/magento2/issues/5910 to get alternative Merchant Account ID's working
Configure Magento CE 2.1.0 store for alternative merchant ID, enable Braintree debugging & place test order for a large amount (I tried with ₩826,961.35 which is equivalent to ~700 USD)
Expected result
Success
Actual result
Fails with error below in debug.log:
'response' =>
array (
'success' => false,
'' . "\0" . '*' . "\0" . '_attributes' =>
array (
'errors' =>
Braintree\Error\ErrorCollection::__set_state(array(
'_errors' =>
Braintree\Error\ValidationErrorCollection::__set_state(array(
'_errors' =>
array (
),
'_nested' =>
array (
'transaction' =>
Braintree\Error\ValidationErrorCollection::__set_state(array(
'_errors' =>
array (
0 =>
Braintree\Error\Validation::__set_state(array(
'_attribute' => 'amount',
'_code' => '81503',
'_message' => 'Amount is an invalid format.',
)),
),
... View more