Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const customer = 'cus_xxxxxx'
- const plan = 'plan_xxxxxx'
- stripe.subscriptions.create({
- customer,
- items: [
- {
- plan
- }
- ]
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement