#rhy_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/1219189995705733160
đ 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.
- rhy_code, 2 days ago, 48 messages
Hi there
I am building a stripe checkout form, but I want to display more custom data; on a previous page I had the user select the size and quantity of the shoe to purchase (as shown in screenshot), and in the checkout page I want to display this information on the lefthand side of the checkout underneath the 'subtotal' section; how do I display the quantity and the size information there?
checkout page in questions
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-custom_text You can use custom_text field to display additional text for your customer
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 already tried custom fields, but custom fields adds the data to the right column for them to input like this
I want to show the quantity and the size they selected on the left column of checkout
this is the cart page before where the information will be pulled from
No, that's not possible,
so there's no way I can customise the checkout form?
for the description section here 'the 925 shoe for the 925 worker', is it possible to fetch data and plug it here instead of using words? e.g., data.get('quantity') 'x shoes'
No
I see
can you direct me on where I can get more information re collecting data/metadata?
and how to use it
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
how would I retrieve it?
If you set the metadata on a checkout session object, you should retrieve it from the same checkout session object https://docs.stripe.com/api/checkout/sessions/object#checkout_session_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.
will this object be displayed under the stripe dashboard
or do I have to do something separately to retrieve it
Dashboard display paymentIntent's metadata, and you can set the metadata for checkout session's paymentIntent through 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.
I see, will take a look into it thanks