mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
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:
@ -1320,6 +1320,8 @@ impl DataModelExt for PaymentAttemptUpdate {
|
||||
error_message,
|
||||
error_reason,
|
||||
amount_capturable,
|
||||
tax_amount,
|
||||
surcharge_amount,
|
||||
updated_by,
|
||||
unified_code,
|
||||
unified_message,
|
||||
@ -1330,16 +1332,20 @@ impl DataModelExt for PaymentAttemptUpdate {
|
||||
error_message,
|
||||
error_reason,
|
||||
amount_capturable,
|
||||
surcharge_amount,
|
||||
tax_amount,
|
||||
updated_by,
|
||||
unified_code,
|
||||
unified_message,
|
||||
},
|
||||
Self::MultipleCaptureCountUpdate {
|
||||
Self::CaptureUpdate {
|
||||
multiple_capture_count,
|
||||
updated_by,
|
||||
} => DieselPaymentAttemptUpdate::MultipleCaptureCountUpdate {
|
||||
amount_to_capture,
|
||||
} => DieselPaymentAttemptUpdate::CaptureUpdate {
|
||||
multiple_capture_count,
|
||||
updated_by,
|
||||
amount_to_capture,
|
||||
},
|
||||
Self::PreprocessingUpdate {
|
||||
status,
|
||||
@ -1577,6 +1583,8 @@ impl DataModelExt for PaymentAttemptUpdate {
|
||||
error_message,
|
||||
error_reason,
|
||||
amount_capturable,
|
||||
surcharge_amount,
|
||||
tax_amount,
|
||||
updated_by,
|
||||
unified_code,
|
||||
unified_message,
|
||||
@ -1588,13 +1596,17 @@ impl DataModelExt for PaymentAttemptUpdate {
|
||||
error_reason,
|
||||
amount_capturable,
|
||||
updated_by,
|
||||
surcharge_amount,
|
||||
tax_amount,
|
||||
unified_code,
|
||||
unified_message,
|
||||
},
|
||||
DieselPaymentAttemptUpdate::MultipleCaptureCountUpdate {
|
||||
DieselPaymentAttemptUpdate::CaptureUpdate {
|
||||
amount_to_capture,
|
||||
multiple_capture_count,
|
||||
updated_by,
|
||||
} => Self::MultipleCaptureCountUpdate {
|
||||
} => Self::CaptureUpdate {
|
||||
amount_to_capture,
|
||||
multiple_capture_count,
|
||||
updated_by,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user