mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix: handle session and confirm flow discrepancy in surcharge details (#2696)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -224,6 +224,8 @@ pub enum PaymentAttemptUpdate {
|
||||
business_sub_label: Option<String>,
|
||||
amount_to_capture: Option<i64>,
|
||||
capture_method: Option<storage_enums::CaptureMethod>,
|
||||
surcharge_amount: Option<i64>,
|
||||
tax_amount: Option<i64>,
|
||||
updated_by: String,
|
||||
},
|
||||
UpdateTrackers {
|
||||
@ -231,6 +233,8 @@ pub enum PaymentAttemptUpdate {
|
||||
connector: Option<String>,
|
||||
straight_through_algorithm: Option<serde_json::Value>,
|
||||
amount_capturable: Option<i64>,
|
||||
surcharge_amount: Option<i64>,
|
||||
tax_amount: Option<i64>,
|
||||
updated_by: String,
|
||||
merchant_connector_id: Option<String>,
|
||||
},
|
||||
@ -255,8 +259,6 @@ pub enum PaymentAttemptUpdate {
|
||||
error_code: Option<Option<String>>,
|
||||
error_message: Option<Option<String>>,
|
||||
amount_capturable: Option<i64>,
|
||||
surcharge_amount: Option<i64>,
|
||||
tax_amount: Option<i64>,
|
||||
updated_by: String,
|
||||
merchant_connector_id: Option<String>,
|
||||
},
|
||||
@ -285,6 +287,8 @@ pub enum PaymentAttemptUpdate {
|
||||
error_reason: Option<Option<String>>,
|
||||
connector_response_reference_id: Option<String>,
|
||||
amount_capturable: Option<i64>,
|
||||
surcharge_amount: Option<i64>,
|
||||
tax_amount: Option<i64>,
|
||||
updated_by: String,
|
||||
authentication_data: Option<serde_json::Value>,
|
||||
encoded_data: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user