#bouyyaaa_webhooks-charge-events

1 messages ยท Page 1 of 1 (latest)

quiet anchorBOT
#

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

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

spiral crescent
#

Hi ๐Ÿ‘‹

Where are you seeing a notice that the event is deprecated? We don't currently support all events in the CLI due to the complexity of triggering some of them but you can still use the event.

#

We have deprecated the Charge based flows in favor of Payment Intents, but the webhook events will still occur

#

Since Payment Intents are built on top of Charges

uncut totem
#

As i wrote it in my message, i was not sure of this. If it's only the cli, it's fine thanks haha

Yep, i saw that you deprecated this flow, that's why i was afraid that you might have deprecated it !
Do you know if these charge events will disappear in the future to be replaced with payment intents events ?

spiral crescent
#

I don't think we would ever do that because the Payment Intent and Charge serve different purposes in the Payment Intent flow.

The Payment Intent represents your intention to collect funds. It can be retried multiple times until it succeeds. The Charge represents a single instance of attempting to collect those funds. A Charge can expire but a Payment Intent never will.

uncut totem
#

Yeah, that's why i wasn't sure of this
Okay so no plan to deprecate it. Thank you very much !

#

Have a nice day !

spiral crescent
#

Thanks, You too! ๐Ÿ‘‹