#0xL34N

1 messages · Page 1 of 1 (latest)

runic auroraBOT
loud salmon
#

Hi there

#

How can I help?

lunar idol
#

Hello!

#

I have a Saas and I am configuring the products with their corresponding prices, once this is finished, I plan to create a subscription for a customer and associate one of these prices to it. My question is, when and how the user configures and enters the payment method? Do I get a URL to redirect him or do I have to request this data myself?

loud salmon
#

That all depends on what integration you want to use!

#

You can basically do it either way

#

I would recommend using Stripe Checkout

lunar idol
#

I understand

#

I can integrate free trial and annual plan?

loud salmon
#

Yep

lunar idol
#

I see that this option return a url, it's correct?

#

And that is the URL i use to redirect the user

#

Then the user to complete the payment, i recibe by webhook the information

#

Am I right?

loud salmon
#

Yep exactly right

lunar idol
#

In this step: const session = await stripe.checkout.sessions.create...

#

I can specify the customID?

lunar idol
#

Fantastic

#

What happen if the user need to chan the Plan?

#

Can I do this step without the URL, just changing the subscription ID or any way from the code?

loud salmon
lunar idol
#

Oka bismarck, thanks a lot