#altairsama69
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- altair-django-integration, 2 days ago, 27 messages
payment_method_data is available in Payment Intent object. Let me double check where this field can be set in Checkout Session
gotcha thanks, so if I want to add the data, I first have to create the checkout session
and then fetch the payment intent for it and then modify the payment intent?
With Checkout Session, it should be possible to send test email after you enter the email in the format of {any-prefix}+test_email@{any_domain} in the email field. To test this out, please ensure that your account has been verified and activated: https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=checkout#send-transaction-emails-in-test-mode
If it still doesn't work, I'd recommend writing in to Support https://support.stripe.com/contact, so that we can check follow up and check with relevant team.
no yeah that's in the docs
my question is where exactly to add this field
it's a payment intent field from the api ref
so the way I detailed above is correct?
Setting payment_method_data.billing_details[email] will work only when collecting the payment method details. Not after payment intent is created. With setting {any-prefix}+test_email@{any_domain} in the email address field of Checkout Session, it will be automatically populated to the underlying payment method billing details email. You shouldn't need to do additional step, i.e. update payment intent
gotcha thanks, so any email I use even in live mode will be auto populated in this field then?
Yup, it should be!
gotcha thanks!