#ibgoldbergs_payment-events

1 messages ¡ Page 1 of 1 (latest)

void flumeBOT
#

👋 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. Thank you for your patience!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 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/1213169083516977282

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

chrome shoalBOT
reef jewel
#

Hello! Do you have a preference on which specific object (charges, payment intents, etc) you want to set this on? If you want to set metadata on all successful charges you could listen for the charge.succeeded event

vale isle
reef jewel
#

Yeah that'd be a payment intent - you can listen for payment_intent.succeeded if you want the successful ones

void flumeBOT
#

ibgoldbergs_payment-events

vale isle
#

would that also catch things like disputes

#

basically want payment intents where its a charge, dispute, or refund

reef jewel
#

If you want to be 100% sure you have metadata on all your payment intents you can listen for payment_intent.created instead

vale isle
#

yeah that might make sense

#

okay cool thank you