mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
fix: todos and fixmes resolution for api_models (#144)
This commit is contained in:
@ -177,6 +177,7 @@ async fn payment_response_update_tracker<F: Clone, T>(
|
||||
connector: Some(router_data.connector.clone()),
|
||||
status: storage::enums::AttemptStatus::Failure,
|
||||
error_message: Some(err.message),
|
||||
error_code: Some(err.code),
|
||||
}),
|
||||
Some(storage::ConnectorResponseUpdate::ErrorUpdate {
|
||||
connector_name: Some(router_data.connector.clone()),
|
||||
|
||||
@ -356,6 +356,7 @@ where
|
||||
.capture_method
|
||||
.map(ForeignInto::foreign_into),
|
||||
error_message: payment_attempt.error_message,
|
||||
error_code: payment_attempt.error_code,
|
||||
payment_method_data: payment_method_data.map(api::PaymentMethodDataResponse::from),
|
||||
email: customer
|
||||
.as_ref()
|
||||
|
||||
Reference in New Issue
Block a user