mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat: update surcharge_amount and tax_amount in update_trackers of payment_confirm (#2603)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -250,6 +250,8 @@ 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,
|
||||
},
|
||||
RejectUpdate {
|
||||
@ -307,11 +309,6 @@ pub enum PaymentAttemptUpdate {
|
||||
multiple_capture_count: i16,
|
||||
updated_by: String,
|
||||
},
|
||||
SurchargeAmountUpdate {
|
||||
surcharge_amount: Option<i64>,
|
||||
tax_amount: Option<i64>,
|
||||
updated_by: String,
|
||||
},
|
||||
AmountToCaptureUpdate {
|
||||
status: storage_enums::AttemptStatus,
|
||||
amount_capturable: i64,
|
||||
|
||||
Reference in New Issue
Block a user