mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user