#vivsriva01
1 messages · Page 1 of 1 (latest)
👋 happy to help
Thank you.
the custom fields are meant to help you gather additional information
oh sorry, wait
I thought you were talking about https://stripe.com/docs/payments/checkout/custom-fields
would you mind sharing the invoice ID?
No not the custom fields that shows up during checkout, but rather some data that can be shown in the invoice.
Sorry, I may be mistaken about invoice and receipt. Are they same or they are different entities?
This is my test payment ID: pi_3NzcCwDusMLDomPA2mayxnos
no 2 different entities
oh ok, what I am looking for is to some way capture a custom field in the message that gets sent to the customer after the payment.
Also, I want to send this receipt automatically.
the Checkout Session you shared didn't have invoice_creation enabled
Yes, I am not seeing it, is there some issues with my payload? I see that I have included it in the payload.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
interesting, I am using firebase extensions and posting the payload as shown above.
oh that might be related to that
ok, do I need to enable some flags?
we're not familoar with the firebase extension
you should reach to the maintainers of that extension
ok, does the payload look ok, if I wanted to have the receipt sent automatically and include the custom fields?
Isn't the firebase stripe extension provided by stripe?
no, this is now maintained by a 3rd party
ok
Thank you @uneven berry for the help. I am assuming that the payload is ok, but the details are not being sent.
just one last thing that I want to make sure it's clear, the custom fields are only visible in the invoice and not in the receipt
ok, thank for the clarification. Is there a way to send some custom data in the receipt?
and can we send the receipt automatically?
and second you're not sending the receipt
what do you mean? Is there something, I need to add to the payload?
ok, perfect. Thank you.
let me know if you need any more help