File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
crates/router/src/connector Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1869,11 +1869,14 @@ impl api::IncomingWebhook for Stripe {
1869
1869
stripe:: WebhookEventType :: PaymentIntentRequiresAction => {
1870
1870
api:: IncomingWebhookEvent :: PaymentActionRequired
1871
1871
}
1872
+ stripe:: WebhookEventType :: ChargeDisputeFundsWithdrawn => {
1873
+ api:: IncomingWebhookEvent :: DisputeLost
1874
+ }
1875
+ stripe:: WebhookEventType :: ChargeDisputeFundsReinstated => {
1876
+ api:: IncomingWebhookEvent :: DisputeWon
1877
+ }
1872
1878
stripe:: WebhookEventType :: Unknown
1873
1879
| stripe:: WebhookEventType :: ChargeCaptured
1874
- | stripe:: WebhookEventType :: ChargeDisputeCaptured
1875
- | stripe:: WebhookEventType :: ChargeDisputeFundsReinstated
1876
- | stripe:: WebhookEventType :: ChargeDisputeFundsWithdrawn
1877
1880
| stripe:: WebhookEventType :: ChargeExpired
1878
1881
| stripe:: WebhookEventType :: ChargeFailed
1879
1882
| stripe:: WebhookEventType :: ChargePending
Original file line number Diff line number Diff line change @@ -3055,8 +3055,6 @@ pub enum WebhookEventType {
3055
3055
PaymentIntentFailed ,
3056
3056
#[ serde( rename = "payment_intent.succeeded" ) ]
3057
3057
PaymentIntentSucceed ,
3058
- #[ serde( rename = "charge.dispute.captured" ) ]
3059
- ChargeDisputeCaptured ,
3060
3058
#[ serde( rename = "charge.dispute.created" ) ]
3061
3059
DisputeCreated ,
3062
3060
#[ serde( rename = "charge.dispute.closed" ) ]
You can’t perform that action at this time.
0 commit comments