feat: scheme error code and messages in payments api response (#7528)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Kashif
2025-03-17 19:59:18 +05:30
committed by GitHub
parent d346d38faf
commit c702535e91
165 changed files with 1011 additions and 60 deletions

View File

@ -229,6 +229,8 @@ impl PaymentAttemptInterface for MockDb {
capture_before: payment_attempt.capture_before,
card_discovery: payment_attempt.card_discovery,
charges: None,
issuer_error_code: None,
issuer_error_message: None,
};
payment_attempts.push(payment_attempt.clone());
Ok(payment_attempt)