Registry / web-framework / stripe-event

stripe-event

JSON →
library2.15.0rbrubygemsunverified

Stripe webhook integration for Rails applications.

gem install stripe_event
INSTALL
IMPORT
SIG · STRIPE-EVENT
S
stripe-event
web-frameworkrubyv2.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

StripeEvent
require 'stripe_event'

Subscribe to Stripe webhook events.

require 'stripe_event' StripeEvent.configure do |events| events.subscribe 'charge.succeeded' do |event| # Handle event end end
Debug
Known issues
gotchaRequires a valid Stripe API key and webhook endpoint setup.
fix
Set your Stripe API key via ENV['STRIPE_API_KEY'] and configure webhook URL in Stripe dashboard.
affects: >= 2.0.0
Upgrade
Version history
2.15.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
22
Resources
stripe-event — gem install stripe-event · libregistry