#bokehdan

1 messages ยท Page 1 of 1 (latest)

soft flumeBOT
wise gull
#

I don't believe this is possible

#

Any reason it has to be an invoice? You could have a payment element on your website to accept a payment

obsidian kelp
#

@wise gull thanks for your response!

It doesn't necessarily need to be an invoice, but we're building a bespoke order of products offline (by phone) so we'd love for customers to see their order summary before they purchase

wise gull
#

Ah ok I see. So yeah either you can have a button that redirects them to the hosted invoice page or you could use the payment element and include your own view for the order summary on that page

obsidian kelp
#
  1. Button that redirects to hosted invoice page - good idea, will look into this!

  2. For the payment element, do you know if this can point to a pre-made invoice?

wise gull
#

So you could initialize the payment element with an invoice's payment intent client secret

obsidian kelp
#

Ah interesting....

Do you think this would technically work:

  1. Our internal team create an invoice in Stripe and add a new customer by their email address
  2. Customer goes to our website, creates an account with us.
  3. Once logged in, we call Stripe's API and fetch the invoice based on the customer email address
  4. Customer pays invoice
wise gull
#

Yes that would technically work

#

Why do you need to create these invoices prior to customers registering though?

obsidian kelp
#

purely because we don't currently have a shopping cart on our site (yet), we'll be on the phone to them and looking to see if they're willing to purchase our product

having the customer register with us allows us to retain that customer and allow them to manage their product purchases in the future

wise gull
#

Gotcha

#

Yeah your idea will work

obsidian kelp
#

awesome, really appreciate your help @wise gull ๐Ÿ™

wise gull
#

No problem

soft flumeBOT
obsidian kelp
#

@wise gull one follow-up question for you, aside from Customer ID, can the customer email address also be used as a form of identifier? (e.g we can only have one customer with a specific email address)

onyx thunder
#

Hello! I'm taking over and catching up...

#

No, Stripe does not consider the email address a unique identifier. It's possible to have multiple Customer objects in Stripe with the same email address. You can use email as a unique identifier on your end, but you need to handle that logic on your end.