Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'zi-standardmanual-1y': {
- id: 'zi-standardmanual-1y',
- name: 'ZI StandardManual 1Y',
- keywords: 'standardmanual year',
- descriptor: 'ZAPIN STDMANUAL1Y',
- price: prices.free,
- type: 'standard',
- frequency: 'year',
- interval_count:1
- },
- // Call to create a subscription
- {
- let createOpts = {
- plan: plan.id,
- quantity: plan.quantity,
- trial_end: plan.trialEnd || 'now'
- }
- if (plan.tax) {
- createOpts.tax_percent = plan.tax
- }
- subscription = yield stripe.customers.createSubscription(user.stripeCustomer, createOpts)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement