#matt_phantom
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- matt_phantom, 5 days ago, 10 messages
Hi there, what's the invoice ID?
hI , in_1OZ8KDAoopeIlK3Up0YUqKPj
I checked this invoice and its auto_advance is false
what made you think it's true?
when you pay the invoice https://api.stripe.com/v1/invoices/in_1OZ8KDAoopeIlK3Up0YUqKPj/pay, the reponse sent display auto_advance:true
"object": "invoice",
"account_country": "FR",
"account_name": "EXTRACADABRA",
"account_tax_ids": null,
"amount_due": 76260,
"amount_paid": 0,
"amount_remaining": 76260,
"amount_shipping": 0,
"application": null,
"application_fee_amount": null,
"attempt_count": 1,
"attempted": true,
"auto_advance": true,```
That said I d like to prevent stripe to not send any email to client
How to prevent stripe to not send email to customer?
Hey! Taking over for my colleague. Let me catch up.
ok
You can disable emails via your Stripe Dashboard:
https://dashboard.stripe.com/settings/billing/automatic
https://dashboard.stripe.com/settings/emails
event though the collection_method is set to send_invoice when POST /invoice ?
We do not want Stripe to charge the customer automatically neither email him
No, if you specify explcitily to send invoice email then the email will be sent
So how to tell stripe to not charge automatically?
You want to not charge automatically and not to send email ?
I want to set a due_date but we cannot without collection_method
"error": {
"message": "You can only specify 'due_date' or 'days_until_due' if invoice collection method is 'send_invoice'.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_3CpqXnmxwwQKns?t=1705396996",
"type": "invalid_request_error"
}
}```
Yes you have two option, use automatic collection without sending email or send_email collection method and due_Date
those are the two supported methods
Or you can create the invoice
without calling the /send invoice API:
https://stripe.com/docs/api/invoices/send
but simply share the link with the customer by your own flow
But for bank_transfer
{ "error": { "message": "The payment method type `customer_balance` cannot be used with invoices that have the `collection_method` set to `charge_automatically`.", "param": "payment_settings[payment_method_types]", "payment_method_type": "customer_balance", "request_log_url": "https://dashboard.stripe.com/test/logs/req_HtkOteVqo2m4Uv?t=1705397159", "type": "invalid_request_error" } }
How to prevent stripe to not charge the client automatically
Yes you need to use send_invoice as a collection method
there is the problem I still do not whant Stripe to send any email
You send email unless you call the send API
You can create the invoice and finalize it without sending email to the customer (by not calling the send API)
Yo told me this earlier #1196738012046954518 message
if I set collection_method : send_invoice stripe will send the invoice
Yes you are right maybe I wasn't enough clear there
if you complete the flow to the end
In your case, you simply don't make this call:
https://stripe.com/docs/invoicing/integration/quickstart#send-invoice
I see bu when the invoice is finalized strip send it automaticaly no matter what
OK so even the first delivery you don't want it...
You don't want any mail at all
I'm afraid that the combination you want to achieve can't be done/supported
So yeah customer_balance isn't available without send_email collection for invoices
ok