mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* New onboarding, trials, Stripe integration * Fix tests * Lint fixes * Fix subscription endpoints
9 lines
268 B
Ruby
9 lines
268 B
Ruby
class StripeEventHandlerJob < ApplicationJob
|
|
queue_as :default
|
|
|
|
def perform(event_id)
|
|
stripe_provider = Provider::Registry.get_provider(:stripe)
|
|
Rails.logger.info "Processing Stripe event: #{event_id}"
|
|
stripe_provider.process_event(event_id)
|
|
end
|
|
end
|