#jhahspu_api

1 messages ยท Page 1 of 1 (latest)

sour jayBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1249645861961601084

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

hollow raven
#

Hi, let me help you with this.

steady nacelle
#

hi, I forgot to mention that i'm using golang...

hollow raven
sour jayBOT
untold anchor
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

steady nacelle
#

hi @tarzan I'm doing a self-hosted checkout with stripe and golang... i'm in the webhook, trying to generate a stripe invoice if the payment intent is successful.

untold anchor
#

that's not possible unfortunately

#

if that's your aim it's better to start by creating the invoice

steady nacelle
#

trying to figure this out in my mind. 1st possibility is stripe-hosted checkout, which will create receipt and invoice if configured correctly. 2nd possibility is to create invoice, send to customer, hope that he/she pays... 3rd do the payment intent way then create invoice somehow (not stripe)

untold anchor
#

all 4 options are valid

#

it really depends on how you want your flow to look like

steady nacelle
#

well, i've been told that it should be easy... not sure about the easy part ๐Ÿ˜„

untold anchor
#

the easiest would be to use Checkout Sessions

steady nacelle
#

easiest for this case, where the company doesn't have an erp system to do the invoicing...

#

right, thank you, don't want to hold you up. I'll think about this a bit more, probably go for the stripe-hosted checkout.

untold anchor
#

sure let me know if you need any more help