#jonastex_invoice-manual-send
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1228037130878455938
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- jonastex_api, 2 days ago, 15 messages
- jonastex_api, 3 days ago, 30 messages
Hi ๐
So you do not want to use either option for collecting payment from the Customer?
Yes, in php
Okay well if you don't provide any collection_method value we will use charge_automatically.
For charge_automatically, Stripe will attempt to charge the default payment method for the Customer
For send_invoice we will attempt to send the PDF of the Invoice to the email saved for the Customer
You could use send_invoice and not set an email in the Customer object in Stripe.
Let me test that out
Yes but i need email with customer for identify customer
Okay, you have other solution ?
You would use the collection method charge_automatically but specify the payment_behavior: "default_incomplete".
This will create and finalize the Invoice but not attempt payment
Okay thanks i look that
You can then either use the PDF link that is associated with the Invoice, or use the Payment Element to collect funds, or get paid outside Stripe. In the last case you would mark the Invoice as paid_out_of_band . https://docs.stripe.com/api/invoices/pay#pay_invoice-paid_out_of_band