#Vasil

1 messages · Page 1 of 1 (latest)

iron tapirBOT
torpid seal
soft mesa
#

even if i pass customer email to pricing table - user fill in name on card (on checkout step) and Stripe decides to create another user.

torpid seal
#

Taking a look

#

AFAIK, you can pass customer Id to Stripe pricing table

#

I'll ask for another opinion in the meanwhile, please give couple of minutes

ivory flame
#

Hi! I'm taking over this thread.

#

Sorry for the delay

#

Sorry but no it's not possible to pass an existing customer ID to the pricing table.

#

So Stripe will always create a new customer.

soft mesa
#

This looks strange to me, because I don't think that our app requires any extraordinary logic. Maybe I miss something conceptually?

Ok, what is the standard way to bind users in app with Stripe customer accounts (in case of embeddable pages)?
Let's say the app database stores Stripe customer ID and app can request subscription details from Stripe by this ID.

ivory flame
soft mesa
#

ok, but does Stripe create new customer EACH time user pays subscription or there is any conditions when it reuses existing one? maybe some info compares?

ivory flame
#

Each time someones starts a new subscription with the pricing table, a new customer object is creates yes.

soft mesa
#

ok, thank you for clarification. Seems like embeddable pages is not my option

ivory flame
#

This is a brand new feature, so it has some limitations. So in your case I would recommend using Checkout Sessions directly.

soft mesa
#

ok, got it, thank you

#

let me ask quick question: what API should I use to retrieve such information from Stripe (current subscription details)? (this screen is what embeddable customer portal shows, but now I need to implement it)

ivory flame
#

But why aren't you using the customer portal directly?

soft mesa
#

I am looking to it as a reference to understand what info I can retrieve thru API

#

Do you mean I can just use customer portal for upgrade/downgrade subscriptions?

ivory flame
#

Do you mean I can just use customer portal for upgrade/downgrade subscriptions?
Exactly, that's why we created this feature.