#Nadiya-subscriptions

1 messages · Page 1 of 1 (latest)

stoic shore
thorny fractal
#

is there any other options instead of checkout sessions?

stoic shore
#

yes, there's another tab on that page for 'custom code' which is for creating a subscription using payment components on your own page

#

and it does involve using a PaymentIntent directly. But I would highly recommend you use Checkout instead, it's vastly easier and more simple to get up and running!

thorny fractal
#

well, the clients wants to use their own payment page

#

so, shouldn't i use the custom code section?

stoic shore
#

my recommendation is to use Checkout, but you can certainly use the custom code approach, they both work and are options, Checkout is just easier.

thorny fractal
#

this project is a landing page builder, and customers of each user in this site can purchase something.
so the user might want to create a payment page form of his choice

stoic shore
thorny fractal
#

in checkout, i'm not yet subscribed to any plan, and only after filling the card details, the subscription will take place right?

#

but for the custom code, we've to subscribe to a plan before showing the payment form?

stoic shore
thorny fractal
#

is it a good practise, if i create a subscription object on page load, and then mounting the card using client secret?

#

what i really meant was.. there is possibility for the users to just opens this page, but not proceeding with card filling and submitting.
so there can be many many subscription object with "incomplete" status

stoic shore
stoic shore
thorny fractal
#

ok, understood.