#roshe10_webhooks

1 messages ยท Page 1 of 1 (latest)

lucid dockBOT
#

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

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

real robin
#

basically, I just need to know whether I had (any) product included within payment_intent or not. If I can safely check that, I will know that it is not donation payment

keen crater
#

๐Ÿ‘‹ One easy way of doing this would be to add your own metadata when creating the payment intent https://docs.stripe.com/metadata You can add any information you like here to store any additional details about the payment

real robin
#

can I add metadata to payment intent if I'm creating simple checkout session for donations via API, but only having payment links for products (not creating them with api)

#

because I think I tried that and it does not seem to work properly, or I missed something

this payment intent is the one that came after API created embed checkout session, with provided metadata to paymentintent, but in response of the event it's empty: id: pi_3SUzxYPeBLev00TB1arePqau

#

I found error, all good