#borja-snchez_api

1 messages ¡ Page 1 of 1 (latest)

frail daggerBOT
#

👋 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/1237640189766013011

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

cobalt gorge
#

Sure you can use the payment_intent_data.metadata parameter

#

to set it to the PaymentIntent, then you can look at payment_intent.succeeded

plain sigil
#

And what about subscriptions ?

#

is it possible ?

#

Hello ?

cobalt gorge
#

Hi, yes should be subscription_data.metadata

#

It will become metadata of the Subscription

plain sigil
#

but it won't appear at the charge.succeded ?

cobalt gorge
#

Yes

#

It should be on customer.subscription.created, where the returning object is the Subscription