#iamuser1
1 messages · Page 1 of 1 (latest)
Hi, can you add more details here on what you'd be doing with that email address? Are you using Stripe Checkout?
If you're using Stripe Checkout, there is a custom fields parameter, https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-custom_fields. If you're trying to use that email address you've already collected on that Checkout Creation session, you can pass in the customer_email address paramater: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_email
The email address in this field. And yes, I believe I am hoping to use Stripe Checkout.
Is it possible to provide already gotten information to the custom fields parameter?
Like can I prefill it?
You can also pass additional data in the Metadata: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-metadata when you create the Checkout Session.
No, it's not.
That sucks 😦
Wait, so if I get some information for what should be in a dropdown for a custom field. Can I provide those options in that dropdown 🤔
Or is that not possible?
It won't work for email addresses, you'd want to read here: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-custom_fields-dropdown-options-value