#bayorwor
1 messages · Page 1 of 1 (latest)
👋 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?
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
you can use Checkout Sessions in Subscription mode, which creates the subscription once the Payment Method is validated
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
this is not your use case, this is your choice of integration, which I'm trying to challenge
what's your use-case?
Ok any suggestion then
I need to understand your use case first
Will this diagram help?
this is a really complex chart
Ok
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?
Yes
A customer selects the plan you wish to subscribe to
Flow:
- customer is charged onetime fees
- after successful checking out, we saved the payment method for future.
- create a subscription for the customer
@hidden forum this helps?
you don't need to charge a onetime fee and then create the subscription
are you going to use Checkout Session or Payment Elements?
checkout session
ok
then you can start by using Pricing Tables if that's something you might be interested in
OK
or you can automatically use Checkout Session in subscription mode
which will create the Subscription for you, once the first payment is validated
Ok