#Devtest
1 messages · Page 1 of 1 (latest)
Hi, how can I help?
I need help with stripe invoices. I need to remove 'Ship to' detail showing in invoice template but I couldn't find an option here.
How do you create the invoice? did you set the shipping_details ?https://stripe.com/docs/api/invoices/create#create_invoice-shipping_details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I have not created invoice, it is auto send by the Stripe.
Do you have the invoice ID?
This is the invoice number, invoice ID is something like in_xxx
in_1NXIgKCPDNJaogsDUqX0UvkT
https://dashboard.stripe.com/logs/req_0cVwqVNA7hdNsa you created the invoice from Dashboard, and shipping_details is null
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
okay, so how can I remove shipping detail parameter?
Please guide me here how to disable shipping details.
I don't see any shipping_details on this invoice
ok
in_1NWoHZCPDNJaogsDPDqis0EJ
above is the invoice ID
and this is the number:
Invoice number
AB7AA220-0001
Please check and guide further on this.
The shipping details is coming from cus_OJR9h81jGLLzdG , you can remove the shipping from this customer (https://stripe.com/docs/api/customers/update#update_customer-shipping) if you don't want to show it in the next invoice of this customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, and for other customer how that will be handled?
I don't want shipping details for any customer in future as well. Removing for one customer would not solve my problem, I am assuming.
Then you should just unset the shipping on those customer objects
can you guide in more detail please. how and where I can do it.
You can manage the customer's shipping address from Dashboard, or update it programmatically through API https://stripe.com/docs/api/customers/update#update_customer-shipping
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
okay, let me check. Thanks.
Just wanted to confirm. So, for each user I will need to hit this API. Right?
Yes you are right