#vell2x
1 messages · Page 1 of 1 (latest)
What particular issue you are facing exactly ?
You can follow this complete guide step by step:
https://stripe.com/docs/billing/subscriptions/build-subscriptions
I am using:
const session = await stripe.checkout.sessions.create({
mode: 'payment',
line_items: [{
price: priceid,
quantity: 1,
}],
for my one time payments I wanted to know how can this function accept subscriptions?
Ok so change the mode got it
Yes.