mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
feat: Session flow for Apple Pay trustpay (#1155)
This commit is contained in:
committed by
GitHub
parent
d21fcc7bfc
commit
a6e91a828b
@ -159,6 +159,9 @@ pub enum PaymentAttemptUpdate {
|
||||
error_code: Option<Option<String>>,
|
||||
error_message: Option<Option<String>>,
|
||||
},
|
||||
SessionUpdate {
|
||||
connector_transaction_id: Option<String>,
|
||||
},
|
||||
StatusUpdate {
|
||||
status: storage_enums::AttemptStatus,
|
||||
},
|
||||
@ -390,6 +393,12 @@ impl From<PaymentAttemptUpdate> for PaymentAttemptUpdateInternal {
|
||||
preprocessing_step_id,
|
||||
..Default::default()
|
||||
},
|
||||
PaymentAttemptUpdate::SessionUpdate {
|
||||
connector_transaction_id,
|
||||
} => Self {
|
||||
connector_transaction_id,
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user