#ignasidedieu_webhooks

1 messages ยท Page 1 of 1 (latest)

wet needleBOT
#

๐Ÿ‘‹ 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/1338846645877477478

๐Ÿ“ 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.

hoary horizon
#

๐Ÿ‘‹ happy to help

#

I see that my colleague answered your question earlier

#

anything specific I can help with?

hard cedar
#

Yes, this is a different issue.

hoary horizon
hard cedar
#

Okay, so the only solution is to subscribe to charge.updated event

hoary horizon
#

due to latency issues when using the automatic capture

hard cedar
#

I've updated to "automatic" when creating the checkout_session

hoary horizon
#

and even with that you're still not getting the balance transaction?

hard cedar
#

GIve me one sec to confirm

#

In this flow we directly create a payment_intent

hoary horizon
#

would you mind elaborating a bit more?

hard cedar
#

Sure sorry. We create are creating a Payment Intent object calling your endpoint POST /v1/payment_intents, after creating we receive a webhook of type payment_intent.succeeded where we try to get the Charge value and find that the "balance_transaction" is null

#

Oh sorry my bad, we are not setting the value to automatic when creating the payment_intent

#

For now probably we are gonna use this "automatic" approach. What are the inconvinients that we could experience?

hoary horizon
#

latency as I mentioned earlier

#

this is why we moved away from that approach