fix: status goes from pending to partially captured in psync (#2915)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Hrithikesh
2023-11-21 20:25:38 +05:30
committed by GitHub
parent 8f610f4cf1
commit 3f3b797dc6
15 changed files with 112 additions and 37 deletions

View File

@ -321,12 +321,15 @@ pub enum PaymentAttemptUpdate {
error_message: Option<Option<String>>,
error_reason: Option<Option<String>>,
amount_capturable: Option<i64>,
surcharge_amount: Option<i64>,
tax_amount: Option<i64>,
updated_by: String,
unified_code: Option<Option<String>>,
unified_message: Option<Option<String>>,
},
MultipleCaptureCountUpdate {
multiple_capture_count: i16,
CaptureUpdate {
amount_to_capture: Option<i64>,
multiple_capture_count: Option<i16>,
updated_by: String,
},
AmountToCaptureUpdate {