mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(router): add payments incremental authorization api (#3038)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9274cefbdd
commit
a0cfdd3fb1
@ -108,6 +108,7 @@ impl PaymentIntentInterface for MockDb {
|
||||
surcharge_applicable: new.surcharge_applicable,
|
||||
request_incremental_authorization: new.request_incremental_authorization,
|
||||
incremental_authorization_allowed: new.incremental_authorization_allowed,
|
||||
authorization_count: new.authorization_count,
|
||||
};
|
||||
payment_intents.push(payment_intent.clone());
|
||||
Ok(payment_intent)
|
||||
|
||||
Reference in New Issue
Block a user