mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
refactor(router): add connector_transaction_id, send response body and use admin_api_auth_with_merchant_id for payments manual update flow (#5658)
This commit is contained in:
committed by
GitHub
parent
da5102efe2
commit
5be0c2bfd2
@ -436,6 +436,7 @@ pub enum PaymentAttemptUpdate {
|
||||
updated_by: String,
|
||||
unified_code: Option<String>,
|
||||
unified_message: Option<String>,
|
||||
connector_transaction_id: Option<String>,
|
||||
},
|
||||
}
|
||||
|
||||
@ -1645,6 +1646,7 @@ impl From<PaymentAttemptUpdate> for PaymentAttemptUpdateInternal {
|
||||
updated_by,
|
||||
unified_code,
|
||||
unified_message,
|
||||
connector_transaction_id,
|
||||
} => Self {
|
||||
status,
|
||||
error_code: error_code.map(Some),
|
||||
@ -1657,7 +1659,7 @@ impl From<PaymentAttemptUpdate> for PaymentAttemptUpdateInternal {
|
||||
amount: None,
|
||||
net_amount: None,
|
||||
currency: None,
|
||||
connector_transaction_id: None,
|
||||
connector_transaction_id,
|
||||
amount_to_capture: None,
|
||||
connector: None,
|
||||
authentication_type: None,
|
||||
|
||||
Reference in New Issue
Block a user