#chimp-pricingtable-customer

1 messages · Page 1 of 1 (latest)

late badgeBOT
fickle flint
#

@livid hull that's expected behaviour

#

chimp-pricingtable-customer

#

there's no way currently to re-use an existing Customer id with PricingTable. It's a no-code solution tailored for devs who just want to drop some simple HTML in their code

livid hull
#

hmm i think i had this working before. right now i create a stripe customer when the signup to my website. and when they choose a price plan stripe them makes a new customer for them and does not use the old one

#

oh...

#

what is the alternative?

fickle flint
#

No alternative for now unless you write your own logic/code to detect if the customer exists and if so use another solution like sending them to Checkout

livid hull
#

hmm i thought this works with the client-reference-id

fickle flint
#

no it doesn't. client-reference-id is really purely an id for your own reconciliation

livid hull
#

ok so what youre saying is if im linking my client ref id to my user id in my database that hold the existing stripe_customer_id. then the pricing table will still always create a new customer?

fickle flint
#

yes

livid hull
#

ah ok thanks. curious why hasnt stripe done this?

fickle flint
#

We have no plan to do it based on client-reference-id It's purely something you control so taht wouldn't be safe, anyone could use this id and then see someone else's data

#

So we're working on adding the ability to re-use an existing customer but it will require server-side code

livid hull
#

ok great

#

since ill have to build this myself and i like the pricing table design. do you have anywhere i can copy the pricing table html css code?

fickle flint
#

no none of this is copyable, you'd have to rebuild this mostly entirely yourself

livid hull
#

ok fantastic

fickle flint
#

in the future, when we add support for re-using an existing customer, it'll be easier.