feat(router): add unified_code, unified_message in payments response (#2918)

This commit is contained in:
Sai Harsha Vardhan
2023-11-20 17:35:07 +05:30
committed by GitHub
parent efeebc0f23
commit 39540015fd
20 changed files with 242 additions and 45 deletions

View File

@ -144,6 +144,8 @@ impl PaymentAttemptInterface for MockDb {
authentication_data: payment_attempt.authentication_data,
encoded_data: payment_attempt.encoded_data,
merchant_connector_id: payment_attempt.merchant_connector_id,
unified_code: payment_attempt.unified_code,
unified_message: payment_attempt.unified_message,
};
payment_attempts.push(payment_attempt.clone());
Ok(payment_attempt)