Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

feat(core): add requires_capture to default payment webhook statuses (#10660)

awasthi213195bd021fb6
diff --git a/crates/common_types/src/consts.rs b/crates/common_types/src/consts.rs
index e8f78c4dbe..d950ce2165 100644
--- a/crates/common_types/src/consts.rs
+++ b/crates/common_types/src/consts.rs
@@ -29,6 +29,7 @@ pub const DEFAULT_PAYMENT_WEBHOOK_TRIGGER_STATUSES: &[common_enums::IntentStatus
common_enums::IntentStatus::Failed,
common_enums::IntentStatus::PartiallyCaptured,
common_enums::IntentStatus::RequiresMerchantAction,
+ common_enums::IntentStatus::RequiresCapture,
];
/// Default refund statuses that trigger a webhook