#nacho_446

1 messages · Page 1 of 1 (latest)

keen oxideBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

burnt horizon
weary crest
#

This is what I did

const subscription = await stripe.subscriptions.create({
customer: billingInfo.stripeCusId,
items: [{ price: params.stripePlanId, quantity: 1 }],
trial_end: freeTrial ? 'now' : startDate.unix(), // one day from now
});

burnt horizon
#

After collecting the payment method, you need to set it as a default payment method to the customer or the Subscirption

#

Or you simply add this param when creating the Subscription: payment_settings: { save_default_payment_method: 'on_subscription' },

weary crest
#

Ok thanks