mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-11 18:59:20 +08:00
feat(core): enable payments void for multiple partial capture (#2048)
This commit is contained in:
@@ -1483,6 +1483,7 @@ pub fn should_call_connector<Op: Debug, F: Clone>(
|
||||
"PaymentCancel" => matches!(
|
||||
payment_data.payment_intent.status,
|
||||
storage_enums::IntentStatus::RequiresCapture
|
||||
| storage_enums::IntentStatus::PartiallyCaptured
|
||||
),
|
||||
"PaymentCapture" => {
|
||||
matches!(
|
||||
|
||||
Reference in New Issue
Block a user