#darkon_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252535174718160936
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
You need to retrieve the Checkout Session via API and check the custom_fields[text][value] field: https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-custom_fields-text-value
or custom_fields[numeric][value] or custom_fields[dropdown][value], depending on the type
This is not a field for programmatic editing, but one that your customers will need to fill out when going through the checkout process.
If you're looking for a field to hold metadata, I'd suggest using Session.metadata (not editable later): https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-metadata
Or Session.payment_intent_data.metadata (sets the metadata field on the attached PaymentIntent, editable later): https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-metadata
If you're creating a Subscription instead, set subscription_data.metadata: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-subscription_data-metadata