Stripe custom fields in price list

60 views
Skip to first unread message

Jan Verderber

unread,
Sep 28, 2023, 11:29:12 AM9/28/23
to Stripe API Discussion
Hello,

I have a question about custom fields in price lists in Stripe. I have 2 custom fields, one is Company Name and one is VAT number (image in the attachments).

I wonder where this information is stored, when user submits the payment? I can't see this information anywhere, not in subscription metadata, not in payment metadata, anywhere. Not even in customer metadata. Does anyone know?

Thanks and best regards
Jan Verderber

Remi J.

unread,
Sep 28, 2023, 11:51:02 AM9/28/23
to api-d...@lists.stripe.com
Hello Jan,

Based on your question I assume you are talking about Custom Fields on our Checkout product? If so, our documentation here [1] covers how to access that information directly in code. This information lives in the `custom_fields` property on the Checkout Session object [2]. 

In the Dashboard it is also surfaced on the Payment page directly at the top under the Checkout Summary section that would appear for those payments. This is true for one-time payments and the first payment of a Subscription though it doesn't appear anywhere on the Subscription itself for now.

Hope this helps! If you have follow up questions, please work directly with our support team for help instead: https://support.stripe.com/contact
Best,
Remi


--
To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.
Reply all
Reply to author
Forward
0 new messages