#Nox
1 messages · Page 1 of 1 (latest)
The closest thing to that that checkout has at the moment is the product's description
https://stripe.com/docs/api/products/create#create_product-description
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data-description
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.
So you could set the description to "Color: Red - Size: M"
So there's no built in way and I have to mess around with the description?
Is this on purpose? Seems like a very basic requirement for most e-commerce websites
Unfortunately not as far as I can see. I will look in to if there is some other way to do it
I didn't design the page, I imagine we have a reason for it working like this even though I agree that that does make it difficult to display that info that way even though it is a common way to want to display that info
Fair enough yeah
Thanks for confirming either way. I'll implement it in the description then
Yeah unfortunately I am not seeing a way to customize this in our docs. I think description is the way to go for now. https://stripe.com/docs/payments/checkout/customization#add-custom-text