#arrowcircle

1 messages · Page 1 of 1 (latest)

dense snowBOT
fleet cairn
#

I see that I can create complex subscription with api, but how to do this with simple way?

jagged jolt
#

What exactly are you trying to do, can you describe the result to me?

fleet cairn
#

I want to create complex subscription, that consists of 3 metered products and one simple flat price product

jagged jolt
#

Ok, and what is not working like you expect?

fleet cairn
#

I want customer to select from 3 complx products and then redirect to stripe, probably, customer portal, to manage subscription

#

it's not possible to create complex products in pricing table

jagged jolt
#

You will need to build that yourself, the pricing table support only single products in a subscription if i recall

fleet cairn
#

Ideally, i am looking for a way to craft page on my site with links to customer portal or pricing table but with complex products. I am ok to build custom page, but cant find necessary docs for it

jagged jolt
#

YOu're going to want to create your own checkout sessions directly for this kind of seetup

#

None of the no-code options support multiple price subscriptions like you describe

fleet cairn
#

ok, thanks. if i go this way, can I use cusomer portal still?

jagged jolt
#

Not for the subscription management, no

#

For payment method management, yes

#

If subscriptions use any of the following, customers can only cancel them in the portal (they can’t update such subscriptions):

Multiple products
Usage-based billing
Sending invoices for collection. Read more about the collection_method parameter. If you use the Dashboard to create the subscription, you make this selection in the Payment method section.
Unsupported payment methods

#

So you can offer the portal for cancelling only

#

If you want that

fleet cairn
#

but I can also cancel subscription via API, but how can I allow user to edit payment credentials on strip side if payment session is expired?

jagged jolt
#

What do you mena by payment session expired?

fleet cairn
#

If I create payment session, it may expires docs says. Does this mean, that payments will stop? Or if I store id of the session, I can always generate a link to stripe payment management until it cancelled?

jagged jolt
#

No, the checkout session is valid for up to 24 (you can set it shorter)

#

That's just for the creation/setup though, it have nothing to do with cancelling the subscription

#

No, you don't use Checkout for payment method management, thats what the portal is for

fleet cairn
#

hmmm, but then how can I generate a link to manage payment method?

#

in this case, what should I store to generate a link? Customer id? Subscription id?

fleet cairn
#

Just to manage payment details?

#

and this feature have separate pricing?

jagged jolt
#

This is part of the customer portal

fleet cairn
#

but it is possible manage subscription by id?