refactor(db): migrate to payment_attempt from connector_response (#2656)

This commit is contained in:
Abhishek Marrivagu
2023-10-31 00:04:53 +05:30
committed by GitHub
parent 8984627d1c
commit 9d9fc2a8c5
9 changed files with 259 additions and 30 deletions

View File

@ -141,6 +141,8 @@ impl PaymentAttemptInterface for MockDb {
connector_response_reference_id: None,
amount_capturable: payment_attempt.amount_capturable,
updated_by: storage_scheme.to_string(),
authentication_data: payment_attempt.authentication_data,
encoded_data: payment_attempt.encoded_data,
merchant_connector_id: payment_attempt.merchant_connector_id,
};
payment_attempts.push(payment_attempt.clone());