Sha256: a3b823c12007b5486f7d4bff7a828e154f418a35bfd11c44f54d58f9f6846db7
Contents?: true
Size: 785 Bytes
Versions: 6
Compression:
Stored size: 785 Bytes
Contents
Koudoku.setup do |config| config.subscriptions_owned_by = :<%= subscription_owner_model %> config.stripe_publishable_key = ENV['STRIPE_PUBLISHABLE_KEY'] config.stripe_secret_key = ENV['STRIPE_SECRET_KEY'] Stripe.api_version = '2015-01-11' #Making sure the API version used is compatible. # config.prorate = false # Default is true, set to false to disable prorating subscriptions # config.free_trial_length = 30 # Specify layout you want to use for the subscription pages, default is application config.layout = 'application' # you can subscribe to additional webhooks here # we use stripe_event under the hood and you can subscribe using the # stripe_event syntax on the config object: # config.subscribe 'charge.failed', Koudoku::ChargeFailed end
Version data entries
6 entries across 6 versions & 2 rubygems