#king-carol_api

1 messages ¡ Page 1 of 1 (latest)

ornate stagBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1351548359625932830

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

spare sluice
#

What are you trying to achieve, ultimately?

mortal sinew
#

To send invoices from Stripe

spare sluice
#

You described using the Payment Intents API, but then asked about Invoice-related webhook events so I am not clear what you're trying to do.

#

If you want to send invoices, you would need to use the Invoices API, not Payment Intents.

mortal sinew
#

My current integration is using only payment intents API, my current integration is using a webhook, and i was wondering if i select invoicing/checkout events to send to the webhook if it would be enough for it to work as intended

spare sluice
#

That is unlikely to do what you seem to expect

mortal sinew
#

This is the webhook: we_1QmrBJHEYaQTKFK5YeVjrP9L

spare sluice
#

If you're using only the payment intents API, there will be no invoice events created at all.

mortal sinew
spare sluice
#

Webhook events (when applicable) are sent to you via your configured endpoint, and from there you can decide if you need to do something with them.

mortal sinew
spare sluice
#

That's just a list of all possible events you can listen to on an endpoint

spare sluice
#

Events are generated based on requests to the API & automatic behaviour on API objects to inform you of things happening

mortal sinew
#

ok, and for example if my website is on wordpress/woocommerce, will this work with a plugin or should i insert the code somewhere?

spare sluice
#

I'm not sure if there is a plugin for invoices or if you need to build it. You'd need to ask WooCommerce about that.

mortal sinew
#

hmm, why isn't this a common problem; doesn't everyone need to send invoices with stripe or how do they do it?

#

or do people commonly send invoices using another app?

spare sluice
#

I'm not sure what conventions are for WooCommerce, but using Stripe directly you can send invoice via the API or using the Dashboard, so people will use what fits their needs.

#

Is it possible you're referring to receipts following payment, rather than actual invoices?

mortal sinew
#

i am referring to invoices, receipts are sent successfully

mortal sinew
spare sluice
#

Yes, using your Dashboard or our API. WooCommerce is providing you with a different UI and abstraction over the Stripe API, and they may or may not make certain features available.

#

So if its not something you can find, you should ask them whether they support invoices

mortal sinew
#

Ok. Thank you

spare sluice
#

NP!

mortal sinew
spare sluice
#

Yes, exactly

mortal sinew
#

ok