Closed paq85 closed 5 years ago
Here are the docs for amount: https://developers.braintreepayments.com/reference/request/transaction/sale/php#amount
The billing amount of the request. This value must be greater than 0, and must match the currency format of the merchant account. Can only contain numbers and one decimal point (e.g. x.xx). Can't be greater than the maximum allowed by the processor. Contact us for your specific limit.
The Can only contain numbers and one decimal point
bit and must match the currency format of the merchant account
is what you're looking for.
For additional help, please reach out to our support team. https://help.braintreepayments.com/
General information
Issue description
When I create a transaction I'm supposed to provide the
amount
as astring
. But what's theamount
format?In examples and tests I can see that for example for $128.55 I should send
128.55
.18,002.99
?amount
string should be in USD currency format?It would be nice to have it explained in PHP SDK doc - at least some examples for big amounts.