#Lucas974
1 messages · Page 1 of 1 (latest)
Hi there
Hi
This will be a one-time payment on stripe
User pay => if success they will be redirected on the thankyou page => I also backup name/email to firebase for later auth
On the thank you page, they can download the invoice and the digital product
Later, if they come back on my website again, they can click on "restore purchase", then they enter email, they receive in their mailbox from firebase a link => thank you page (can download invoice/digital)
Alright well sounds like you want to use the Invoices API: https://stripe.com/docs/invoicing/integration
Are you looking to Send the Invoice for payment, or charge via collecting a PaymentMethod on your site?
I have a Buy button on my website, price will be the same for everyone
they click on Buy => stripe payment => if ok => thank you page => they can download invoice + the digital product
I need also to store the name and email for firebase for later firebase passwordless auth
Hmm okay that sounds like you actually want to use Stripe Checkout. Stripe Checkout doesn't yet support creating one-off Invoices. However this is coming very soon.
so how can i achieve that ?
Well right now you either wait for that Invoices with Checkout to be released. Or you would embed Elements into your site to collect a PaymentMethod without redirecting to a Stripe hosted page.
When it will be released ? any date ?
Can't give you a specific date but it will be released soon. You could reach out to our Support team: https://support.stripe.com/contact/login and see if you can get early access
and using the invoicing api, I cant do that?
You can do it, but you build the checkout form yourself using Elements
Instead of using a redirect to Stripe Checkout where we have the form built for you
I'm using react router, the solution you told me is this one => https://stripe.com/docs/stripe-js/react ??
hum
Im not an expert in dev :/
I'm afraid that I don't understand well how to achieve this, it seems simple like you said, but doing it is ...
lol
Hmm yeah to handle this end-to-end you likely do need a dev if you don't have those skills yourself.
If I share with your my project, would you like to help me on?
You may want to consider hiring a dev in this case. You can see our Partners here: https://stripe.com/partners/directory
No I can't do that, sorry.
even If I pay you for your help?
I ask to the support about the checkout/invoice, they told me :
Checkout:
https://stripe.com/docs/payments/checkout
For the invoicing: https://stripe.com/docs/invoicing
this is not what you said
I'm a Stripe Engineer. I can't be hired to help you build your integration.
Those docs are correct at a very high-level.
But there is plenty of nuance that you will want an actual dev to help with.
ok