0

[FEATURE] Add support for more `incoming` webhooks for `stripe` · Issue #1746 ·...

 9 months ago
source link: https://github.com/juspay/hyperswitch/issues/1746
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Feature Description

stripe::WebhookEventType::Unknown
            | stripe::WebhookEventType::ChargeCaptured
            | stripe::WebhookEventType::ChargeDisputeCaptured
            | stripe::WebhookEventType::ChargeDisputeFundsReinstated
            | stripe::WebhookEventType::ChargeDisputeFundsWithdrawn
            | stripe::WebhookEventType::ChargeExpired
            | stripe::WebhookEventType::ChargeFailed
            | stripe::WebhookEventType::ChargePending
            | stripe::WebhookEventType::ChargeUpdated
            | stripe::WebhookEventType::ChargeRefunded
            | stripe::WebhookEventType::PaymentIntentCanceled
            | stripe::WebhookEventType::PaymentIntentCreated
            | stripe::WebhookEventType::PaymentIntentProcessing
            | stripe::WebhookEventType::PaymentIntentAmountCapturableUpdated
            | stripe::WebhookEventType::SourceTransactionCreated => {
                api::IncomingWebhookEvent::EventNotSupported
            }

Currently, the above webhook events are not supported, and upon refunds, STRIPE is sendingChargeRefunded and merchant is not receiving an OUTGOING webhook.

Possible Implementation

Support for some of the above events needs to be re-assessed and added

Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

Yes I am willing to submit a PR!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK