Base solution for your next web application
Open Closed

Stripe Event types #6970


User avatar
0
aggarwal created

Hi,

Stripe is recommending to limit the number of Event types.

Can you please advice on the Event types that AspZero relies on?

Regards, Vikas


3 Answer(s)
  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi @aggarwal

    AspNet Zero only handles "invoice.payment_succeeded" event by default.

  • User Avatar
    0
    aggarwal created

    Hi @ismcagdas

    I could see charge.succeeded in the webhooks log when a payment was done. I could not find invoice.payment_succeeded.

    Can you please re-confirm?

    Regards, Vikas

  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, the webhooks are handled in StripeControllerBase.

    It only handles Events.InvoicePaymentSucceeded by default.

    see https://github.com/aspnetzero/aspnet-zero-core/blob/8786dc7156641d52f08574722805b4c68a30eed9/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/StripeControllerBase.cs