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:
Hrithikesh
2023-10-18 15:42:32 +05:30
committed by GitHub
parent 7a76d6c01a
commit 2f9a3557f6
31 changed files with 786 additions and 47 deletions

View File

@ -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,