Skip to content

Commit

Permalink
Merge pull request #173 from smelthq/add-webhook-event-types
Browse files Browse the repository at this point in the history
Add CheckoutSessionAsyncPaymentFailed/Succeded to Webhooks Events
  • Loading branch information
arlyon committed Mar 1, 2022
2 parents 3a834eb + 350a44d commit 496de27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/resources/webhook_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ pub enum EventType {
ChargeDisputeUpdated,
#[serde(rename = "charge.refund.updated")]
ChargeRefundUpdated,
#[serde(rename = "checkout.session.async_payment_failed")]
CheckoutSessionAsyncPaymentFailed,
#[serde(rename = "checkout.session.async_payment_succeeded")]
CheckoutSessionAsyncPaymentSucceeded,
#[serde(rename = "checkout.session.completed")]
CheckoutSessionCompleted,
#[serde(rename = "coupon.created")]
Expand Down

0 comments on commit 496de27

Please sign in to comment.