#neto-dev_api

1 messages ¡ Page 1 of 1 (latest)

oblique cloakBOT
#

👋 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.

pallid pond
#

Hi there! Let me look into this for a few minutes

jovial night
#

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

pallid pond
#

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.

jovial night
#

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?

pallid pond
#

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

jovial night
#

weird, I could swear I had already done it using the invoices.pay method

#

but I'm not able to replicate it

pallid pond
#

Oh geez, sorry I didn't get the audio notification for that last message

jovial night
#

no problem

pallid pond
#

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?

jovial night
#

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?

pallid pond
#

Correct. I don't think a Boleto payment can be unilaterally paid without customer involvement

jovial night
#

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

oblique cloakBOT
hallow dove
#

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

jovial night
#

no tks