mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat: applepay through trustpay (#1422)
Co-authored-by: dracarys18 <karthikey.hegde@juspay.in>
This commit is contained in:
committed by
GitHub
parent
641995371d
commit
8032e0290b
@ -178,6 +178,7 @@ pub enum PaymentAttemptUpdate {
|
||||
payment_method_id: Option<Option<String>>,
|
||||
connector_metadata: Option<serde_json::Value>,
|
||||
preprocessing_step_id: Option<String>,
|
||||
connector_transaction_id: Option<String>,
|
||||
},
|
||||
}
|
||||
|
||||
@ -394,12 +395,14 @@ impl From<PaymentAttemptUpdate> for PaymentAttemptUpdateInternal {
|
||||
payment_method_id,
|
||||
connector_metadata,
|
||||
preprocessing_step_id,
|
||||
connector_transaction_id,
|
||||
} => Self {
|
||||
status: Some(status),
|
||||
payment_method_id,
|
||||
modified_at: Some(common_utils::date_time::now()),
|
||||
connector_metadata,
|
||||
preprocessing_step_id,
|
||||
connector_transaction_id,
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user