Error 42: Number Must Be an Integer
PayMe's message with language: "en": Number must be an integer
A value that must be whole had decimals. status_additional_info names the field.
Usual causes
- A decimal
sale_priceoncapture-sale. Note thatgenerate-salerounds a decimal instead of giving this error. - A decimal
withdrawal_amount.
What to do
- Send integer minor units, and reject decimals before calling PayMe. See Money.
The full list of codes is on Errors. If something else is going on, see Troubleshooting by Symptom.