#neto-dev_api
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/1404862716614676572
đ 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.
- neto-dev_api, 1 day ago, 15 messages
Hi there! Let me look into this for a few minutes
Are you using the send_invoice collection method for Subscriptions? You can reference the description here:
I use send_invoice, I read the documentation and it didn't answer how I can generate the boleto directly without the client having to fill in the data every time
If you're using send_invoice, that means that you are sending the Invoice to the Customer to be paid manually. This always requires manual input from the customer. You could consider using charge_automatically collection method instead, which is described in the guide I sent you previously.
if I use charge I won't be able to set an invoice due date, isn't there a way I can send the boleto directly to the customer?
Unfortunately, no. When sending the Invoice for the customer to pay (send_invoice), the customer needs to enter their full name, address, and tax ID for each new Invoice
weird, I could swear I had already done it using the invoices.pay method
but I'm not able to replicate it
Oh geez, sorry I didn't get the audio notification for that last message
no problem
That might be possible - retrieving the Subscription's latest Invoice and paying it manually if the Customer has Boleto set as their default payment method.
But if you want to control the due date and it is variable, why use Subscriptions instead of one-off Invoices?
here is the guide for Invoices: https://docs.stripe.com/payments/boleto/set-up-invoices
My system works with a subscription cycle, they need to be charge_automatically so I receive the upcoming event, in this event I generate an invoice 7 days before so the user receives it in advance and reduces delinquency
The pay method only generates a boleto right? and doesn't actually pay it?
Correct. I don't think a Boleto payment can be unilaterally paid without customer involvement
I think there is a way, if the customer has balance in the account and the invoice is finalized it will be paid, but I can only think of this case
But I think using the pay method in this case no
hi! taking over the thread for palamedes and just getting caught up. is there anything you need help with at the moment? i don't see any dangling questions
no tks