#funnelting-subscriptions

1 messages · Page 1 of 1 (latest)

steep ocean
#

@lavish oyster hi!

First two months $50 and after that $50 per month.
you mean, $50 today, then 2 months later in November 15th, $50 again, then $50 on December 15, and so on?

lavish oyster
#

Correct

steep ocean
lavish oyster
#

That could be a good solution. Thanks a million

steep ocean
#
let subscription = await stripe.subscriptions.create({
    customer: customer.id,
    default_payment_method : pm.id,
    add_invoice_items:[{
        price_data:{
            unit_amount:10000,
            currency:"usd",
            product:"prod_DQYexGI6JNKfMq"
        }
    }],
    items: [
        {
            plan: "plan_DQYe83yUGgx1LE",
        },
    ],
    trial_end:moment().add(2,"months").unix(),
    expand : ["latest_invoice"]
}); 
#

this is the idea/what it looks like, if that helps!