feat: added client_source, client_version in payment_attempt from payments confirm request headers (#4657)

This commit is contained in:
Vrishab Srivatsa
2024-05-17 15:57:30 +05:30
committed by GitHub
parent 853f3b4854
commit 7e44bbca63
17 changed files with 97 additions and 10 deletions

View File

@ -157,6 +157,8 @@ impl PaymentAttemptInterface for MockDb {
mandate_data: payment_attempt.mandate_data,
payment_method_billing_address_id: payment_attempt.payment_method_billing_address_id,
fingerprint_id: payment_attempt.fingerprint_id,
client_source: payment_attempt.client_source,
client_version: payment_attempt.client_version,
};
payment_attempts.push(payment_attempt.clone());
Ok(payment_attempt)