Sha256: 884ba929ba015f79d30dd8534c32d7aa8eaec8acebaf9d65fe73cc07dec629eb
Contents?: true
Size: 752 Bytes
Versions: 2
Compression:
Stored size: 752 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 # # # interval must be either '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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stripe-rails-0.3.0 | lib/generators/templates/plans.rb |
stripe-rails-0.2.6 | lib/generators/templates/plans.rb |