#ijustdev-mark-invoice-paid
1 messages ยท Page 1 of 1 (latest)
Hi ๐ that is expected behavior, our API controls the status of Invoices, and you are not able to directly set them.
If you'd like to mark an Invoice as having been paid from outside of Stripe, then you can set paid_out_of_band to true while making a request to pay the Invoice:
https://stripe.com/docs/api/invoices/pay#pay_invoice-paid_out_of_band
Thanks a lot, that really helped!
ijustdev-mark-invoice-paid
One other question. I've called send_invoice after that and the email does not arrive to my inbox?
If you're in test mode, that is likely expected. Most emails are suppressed when working in test mode. We don't know too much about the email functionality in this forum, so I'm not exactly sure when this works, but I've heard some emails are still generated if the email address that they are being sent to exactly matches the email address of the owner of the Stripe account.
Okay I see, thank you! One last question :D. The invoice does not include the vendors address. Why is this?
Was the address provided on the Customer object before the Invoice was finalized?
The billing details for the customer work out fine. It's about the vendor
The company that is selling the goods to the customer. It only tells the company url and the phone number
Oh gotcha, sounds like the Account that created the Invoice may not have all of its details populated then. If this is for your account, you can check those values here:
https://dashboard.stripe.com/settings/public
If it's for a Connected Account the process is different depending on the type of Connected Account being used.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Is there a way to update those details via the API?
Not for your own account.
For the connected accounts? I'm using connect for that
Are they Custom Connected Accounts?
Yes via the API and custom code
Sorry, to clarity, there are three types of Connected Accounts. Standard, Express, and Custom.
For Standard and Express accounts, the owner of the accounts maintains their data, so you cannot update them via the API.
If you're working with Custom Connected Accounts, then you can use this endpoint to update them:
https://stripe.com/docs/api/accounts/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you very much!
Any time!