Closed Tomasvdr198 closed 2 years ago
Correct, amount should contain 2 digits, so 40.00 in your example
this doesn't work, I still get the same error.
@Tomasvdr198
You have 2 possibilities in your code example:
I suggest you look up some resources how to work/calculate with BigDecimal and try to understand how to set the scale/precision
I'm trying to create a payment but it always fails. I'm doing the following to create a payment
I always get the same error no matter what I do.
Error response from mollie with status code '422' and body: {"status":422,"title":"Unprocessable Entity","detail":"The amount contains an invalid value","field":"amount.value"