#OptimalSurprise - invoice
1 messages · Page 1 of 1 (latest)
Hi there!
Stripe has an Invoicing product. You can learn more about it here: https://stripe.com/docs/invoicing
Yes, I've looked into it
but it's not clear how you can send invoices with credit card payment / automatic payments
Can you clarify what you mean by that? You want to send an invoice to customer so they can pay by card, or you want customers to pay on your website by card and then you send them an invoice?
The latter, so I'd like to send them an invoice even if they have paid
Just for their records
And how are you making payments with Stripe currently? Checkout Session, Payment Element, something else?
Checkout session
We're using stripe connect if that makes a difference
are you still here?
Thanks for the info! Unfortunately it's currently not possible to have Checkout Sessions create invoices. However:
- You can get a receipt, by looking at the charge objects https://stripe.com/docs/api/charges/object?lang=node#charge_object-receipt_url
- And invoices for Checkout Session is something we are currently working on. Can you share your account ID so we can keep track of this on our end?
That's strange. I can see an invoice.created event when a subsciprion is paid for using a credit card via checkout session
Oh, I assumed you were doing one-off payments. Sorry!
If you do create subscriptions, then yes invoices are created.
Ah ok, so what would the approach be here?
So you want to send the paid invoices to the customer by email, at the end of every billing period?
Yes but not our customer but their end user
we're using stripe_account to allow for invoices to be sent
any thoughts?
sorry, catching up
I'm not sure what the issue is exactly? if you're using subscriptions and invoices, we email a receipt to the email address associated with the Customer the subscription is for. The receipt contains a link to the invoice(https://stripe.com/docs/receipts#receipts-with-billing). What part is missing or you'd like to have instead/in addition?
How do we send receipts using stripe connect on behalf of our customer to our customers' customers?
it just works.
Like you have a connected account acct_xxx . If you create a Customer cus_xxx and Subscription sub_xxx on that account (via https://stripe.com/docs/connect/authentication) then it just works, we use the email settings of that Stripe account that owns the Subscription object and send the email to the customer, same as how a subscription on your own Stripe account would work
How do we adjust the stripe email settings of our customer through the api?
you don't , since they control that themselves as a Standard account, through their dashboard
(or you move to destination-style billing instead so the settings/invoices use your platform controls https://stripe.com/docs/connect/subscriptions#use-destination-charges-to-create-a-subscription )
the product isn't completely perfect here and it's completely valid to want to have a way for the platform to directly control the email and other Billing settings for the connected account, and I think it's something we want to build(as extensions to the increased control we lauched last year for platforms in https://stripe.com/docs/connect/platform-controls-for-standard-accounts) , but it doesn't exist today so it's mostly up to the connected account to control it or for you to tell them what to change
Ah interesting. This makes sense
Do you know what the default email settings are for any connect account?
pretty sure the default is to send emails
ah ok
I'll assume that its hopefully to send emails
is there any way to check this?
example via Account.retrieve?
there's not, there's no API access(read or write) to the Billing settings today
it's all dashboard-only
ah ok
i just checked, i believe the default is for this to be off
both email customers about are off for successful payments and refunds
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!