Merge branch 'stripe-webhook' into develop

This commit is contained in:
Sabe Jones
2017-03-28 16:11:13 +00:00
5 changed files with 331 additions and 4 deletions

View File

@@ -3,35 +3,47 @@ import each from 'lodash/each';
let subscriptionBlocks = {
basic_earned: {
target: 'user',
canSubscribe: true,
months: 1,
price: 5,
},
basic_3mo: {
target: 'user',
canSubscribe: true,
months: 3,
price: 15,
},
basic_6mo: {
target: 'user',
canSubscribe: true,
months: 6,
price: 30,
},
google_6mo: {
target: 'user',
canSubscribe: true,
months: 6,
price: 24,
discount: true,
original: 30,
},
basic_12mo: {
target: 'user',
canSubscribe: true,
months: 12,
price: 48,
},
group_monthly: {
type: 'group',
target: 'group',
canSubscribe: true,
months: 1,
price: 9,
quantity: 3, // Default quantity for Stripe - The same as having 3 user subscriptions
},
group_plan_auto: {
type: 'group',
target: 'user',
canSubscribe: false,
months: 0,
price: 0,
quantity: 1,