#chimp-pricingtable-customer
1 messages · Page 1 of 1 (latest)
@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
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?
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
hmm i thought this works with the client-reference-id
no it doesn't. client-reference-id is really purely an id for your own reconciliation
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?
yes
ah ok thanks. curious why hasnt stripe done this?
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
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?
no none of this is copyable, you'd have to rebuild this mostly entirely yourself
ok fantastic
in the future, when we add support for re-using an existing customer, it'll be easier.