mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix(router): add max_amount validation in payment flows (#4645)
This commit is contained in:
committed by
GitHub
parent
1a27ba5764
commit
df865d76be
@ -119,3 +119,6 @@ pub const DEFAULT_POLL_DELAY_IN_SECS: i8 = 2;
|
||||
pub const DEFAULT_POLL_FREQUENCY: i8 = 5;
|
||||
|
||||
pub const CONNECTOR_CREDS_TOKEN_TTL: i64 = 900;
|
||||
|
||||
//max_amount allowed is 999999999 in minor units
|
||||
pub const MAX_ALLOWED_AMOUNT: i64 = 999999999;
|
||||
|
||||
Reference in New Issue
Block a user