#rock_17
1 messages ยท Page 1 of 1 (latest)
Hi ๐ sorry, I'm not quite sure I'm grasping what's being asked here. Are you wanting to change the email address that is displayed within the Invoices, or change the email address that the Invoices are being sent from?
A user want to see a different email in the "bill to" section of the invoice that is being sent to that user.
I added the email id in the billing emails to achieve this but that dosent work.
Gotcha, I'm not exactly sure, but I think that field pulls from the email address on this page:
https://dashboard.stripe.com/settings/public
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
This is a dummy invoice that i generated, now if i want to add a new email id here of the user how can i achieve that?
atush@tmevbx.com is the user email that he subscribed from and now he wants some other email to be seen in the invoices.
Oh, you want the Customer email to change? In that case you need to update the email address on the Customer object. I believe the email field is the one you update:
https://stripe.com/docs/api/customers/update#update_customer-email
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But by updating the customer email I have to then work on the fields in my dbs and on webhooks then received as subscription email got changed, right?
I don't know what you're referring to by "subscription email"
I meant that the customer email here atush@tmevbx.com was used for purchasing a plan and creating a subscription in stripe , if i will change this will it effect any of the webhooks then received by the application or maybe the subscription in stripe.
I'm not sure what webhook events you're listening for, so I'm not sure about that, but Subscription's don't have an email field, they reference the Customer object for that.
I would recommend trying it out in test mode, where it won't impact any real subscriptions if it doesn't do what you're hoping, and see if it triggers any of your test webhooks.
Got it, Thanks for your help toby!
Any time!