#ijustdev-mark-invoice-paid

1 messages ยท Page 1 of 1 (latest)

exotic ibexBOT
eager moat
#

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

pearl bluff
#

Thanks a lot, that really helped!

eager moat
#

ijustdev-mark-invoice-paid

pearl bluff
#

One other question. I've called send_invoice after that and the email does not arrive to my inbox?

eager moat
#

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.

pearl bluff
#

Okay I see, thank you! One last question :D. The invoice does not include the vendors address. Why is this?

eager moat
#

Was the address provided on the Customer object before the Invoice was finalized?

pearl bluff
#

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

eager moat
#

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.

pearl bluff
#

Is there a way to update those details via the API?

eager moat
#

Not for your own account.

pearl bluff
#

For the connected accounts? I'm using connect for that

eager moat
#

Are they Custom Connected Accounts?

pearl bluff
#

Yes via the API and custom code

eager moat
#

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

exotic ibexBOT
pearl bluff
#

Thank you very much!

eager moat
#

Any time!