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:
Sai Harsha Vardhan
2024-07-15 21:16:44 +05:30
committed by GitHub
parent 61b3aef661
commit 0f70473a3a
12 changed files with 65 additions and 5 deletions

View File

@ -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)