#kirenhunocoly_api

1 messages · Page 1 of 1 (latest)

uncut kiteBOT
#

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

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

long jackalBOT
#

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.

misty void
#

hello! what event type are you referring to specifically when you say payment completion event?

#

do you mean payment_intent.succeeded?

#

Also, how are you passing in that metadata?

If you pass in the metadata in https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-metadata, only the Checkout Session object will contain the metadata.

If you pass the metadata into subscription_data.metadata (this is for mode="subscription") - the Subscription will contain that metadata, and so will the Invoice Line Items : https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-metadata

If you pass in the metadata into payment_intent_data.metadata (this is for mode="payment") - the PaymentIntent will contain that metadata : https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-metadata

still cedar
#

Is it possible to bring our R&D staff into the chat?

still cedar
#

invoice-paid

#

I passing in the metadata when I

#

I passing in the metadata when I create a checkout session

#

Hey Are you still there?

#

I need a solution pls

misty void
still cedar
#

How could this even be possible?

#

We create a checkout session, and Stripe generates a URL. Our customer will make the payment through this URL, and then Stripe returns some events to our system. At which point can we pass the metadata into subscription_data.metadata?

misty void
#

Are you using mode="subscription" when creating the Checkout Sessions?

still cedar
#

No, cause we do not have the unique ID for the Subscription.

misty void
#

are you the developer?

still cedar
#

No, that's why I've said "Is it possible to bring our R&D staff into the chat?"

misty void
#

sure, go ahead

still cedar
#

I dont have permission to invite

misty void
still cedar
#

Oh He is chatting with you right now