#bayorwor

1 messages · Page 1 of 1 (latest)

quick starBOT
hidden forum
#

👋 happy to help

#

would you mind explaining your use-case? if you're creating a subscription for your customer why are you using Checkout Sessions in payment mode instead of the Subscription mode?

dense plinth
#

We are using checkout sessions because of instant verification. Once the verification is true, we create a subscription for the customer using the customer ID

hidden forum
#

you can use Checkout Sessions in Subscription mode, which creates the subscription once the Payment Method is validated

dense plinth
#

That might not work for our use-case. The reason is that, we are charging the user with onetime charges using checkout sessions and subscribe the customer using the subscription API

hidden forum
#

this is not your use case, this is your choice of integration, which I'm trying to challenge

#

what's your use-case?

dense plinth
#

Ok any suggestion then

hidden forum
#

I need to understand your use case first

dense plinth
#

Will this diagram help?

hidden forum
#

this is a really complex chart

dense plinth
#

Ok

hidden forum
#

this is not how you are suppose to choose your integration with Stripe

#

your end goal is for your customer to choose a plan right?

#

do you offer multiple subscription plans?

dense plinth
#

Yes

#

A customer selects the plan you wish to subscribe to

#

Flow:

  1. customer is charged onetime fees
  2. after successful checking out, we saved the payment method for future.
  3. create a subscription for the customer

@hidden forum this helps?

hidden forum
#

you don't need to charge a onetime fee and then create the subscription

#

are you going to use Checkout Session or Payment Elements?

dense plinth
#

checkout session

hidden forum
#

ok

#

then you can start by using Pricing Tables if that's something you might be interested in

dense plinth
#

OK

hidden forum
#

or you can automatically use Checkout Session in subscription mode

#

which will create the Subscription for you, once the first payment is validated

dense plinth
#

Ok