mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 02:57:02 +08:00
fix: surcharge related status and rules fix (#2974)
Co-authored-by: Bernard Eugine <114725419+bernard-eugine@users.noreply.github.com>
This commit is contained in:
@ -1693,7 +1693,8 @@ pub(crate) fn validate_status_with_capture_method(
|
||||
field_name: "payment.status".to_string(),
|
||||
current_flow: "captured".to_string(),
|
||||
current_value: status.to_string(),
|
||||
states: "requires_capture, partially_captured, processing".to_string()
|
||||
states: "requires_capture, partially_captured_and_capturable, processing"
|
||||
.to_string()
|
||||
}))
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user