Sha256: a5d4992a527c99658c9460ae545e7ef76e1bce8520fb0d17e9138a80b8e645f0
Contents?: true
Size: 377 Bytes
Versions: 26
Compression:
Stored size: 377 Bytes
Contents
module Pay module Stripe module Webhooks class CheckoutSessionAsyncPaymentSucceeded def call(event) # TODO: Also handle payment intents if event.data.object.subscription Pay::Stripe::Subscription.sync(event.data.object.subscription, stripe_account: event.try(:account)) end end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems