#kirenhunocoly_api
1 messages · Page 1 of 1 (latest)
👋 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.
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.
- kirenhunocoly_api, 23 hours ago, 8 messages
- kirenhunocoly_api, 1 day ago, 13 messages
- kirenhunocoly_api, 2 days ago, 17 messages
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?
- https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-metadata, or
- https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata, or
- https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Is it possible to bring our R&D staff into the chat?
invoice-padi
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
like what i previously mentioned, 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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I dont understand
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?
Are you using mode="subscription" when creating the Checkout Sessions?
No, cause we do not have the unique ID for the Subscription.
are you the developer?
No, that's why I've said "Is it possible to bring our R&D staff into the chat?"
sure, go ahead
I dont have permission to invite
your developers can join as per however you joined Discord (https://discord.com/invite/stripe), then you can give them the link to this thread : https://discord.com/channels/841573134531821608/1266271346145361924