For the complete documentation index, see llms.txt. This page is also available as Markdown.

validate_sale_amount

Amount Validation

Description

The transaction amount is validated against configuration to make sure that the amount is within the maximum amount. For purchase, 0 amount is not allowed.

Configuration Parameters

Merchant.Currency.MaxPurchaseAmount - the transaction amount + tip + tax should be below Merchant.Currency.MaxPurchaseAmount, else the transaction is declined.

Error Scenarios

If the amount validation fails, an error message is displayed to the merchant and the merchant can enter the amount again and restart the transaction

---

Last updated

Was this helpful?