Sha256: c60db8c57b88514a4f3581c889d75e467f77cb761658ede8f92d3d49e34f2d25
Contents?: true
Size: 838 Bytes
Versions: 3
Compression:
Stored size: 838 Bytes
Contents
# This file contains descriptions of all your stripe plans # Example # Stripe::Plans::PRIMO #=> 'primo' # Stripe.plan :primo do |plan| # # # plan name as it will appear on credit card statements # plan.name = 'Acme as a service PRIMO' # # # amount in cents. This is 6.99 # plan.amount = 699 # # # currency to use for the plan (default 'usd') # plan.currency = 'usd' # # # interval must be either 'day', 'week', 'month' or 'year' # plan.interval = 'month' # # # only bill once every three months (default 1) # plan.interval_count = 3 # # # number of days before charging customer's card (default 0) # plan.trial_period_days = 30 # end # Once you have your plans defined, you can run # # rake stripe:prepare # # This will export any new plans to stripe.com so that you can # begin using them in your API calls.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
stripe-rails-1.1.1 | lib/generators/templates/plans.rb |
stripe-rails-1.1.0 | lib/generators/templates/plans.rb |
stripe-rails-1.0.2 | lib/generators/templates/plans.rb |