mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
fix(router): store customer_acceptance in payment_attempt, use it in confirm flow for delayed authorizations like external 3ds flow (#5308)
This commit is contained in:
committed by
GitHub
parent
61b3aef661
commit
0f70473a3a
@ -157,6 +157,7 @@ impl PaymentAttemptInterface for MockDb {
|
||||
charge_id: payment_attempt.charge_id,
|
||||
client_source: payment_attempt.client_source,
|
||||
client_version: payment_attempt.client_version,
|
||||
customer_acceptance: payment_attempt.customer_acceptance,
|
||||
};
|
||||
payment_attempts.push(payment_attempt.clone());
|
||||
Ok(payment_attempt)
|
||||
|
||||
Reference in New Issue
Block a user