#jclusso
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I don't think there's a specific API for that. As a workaround, you could query all source.chargeable events and find the sources that had funds pushed
https://stripe.com/docs/sources/ach-credit-transfer#charge-request
However, that won't get you the full list (only limited to 30 days)
that's problematic lol. how do i know if we have money sitting waiting to be charged
also, if auto_advance isn't set on an invoice, it defaults to true... right?
I think auto_advance default value depends on the collection method
collection_method is send_invoice
Yeah for send_invoice auto advance is false by default.
Thiking through alternatives ๐ค
really?
basically i'm trying ot make sure ACH payments on an invoice get applied automatically
and when you make invoices in the dashboard, this is always the case
We typically recommend listening to source.* events in order to receive events when the customer pushes funds to the source
https://stripe.com/docs/sources/ach-credit-transfer#charge-request
If you're on invoicing plus then I believe we will try to automatically reconsile the funds once the customer sends it
https://stripe.com/docs/invoicing/automatic-reconciliation
but don't you automatically reconcile the funds if auto_advance is set to true?
how do I tell if we're on invoicing plus?
but don't you automatically reconcile the funds if auto_advance is set to true?
I don't think we do that for ACH Credit transfers
how do I tell if we're on invoicing plus?
You can check here
https://dashboard.stripe.com/settings/billing/plans?utm_source=docs-reconciliation
it has always done it in the past for us on invoices created via the dashboard
so I just was reviewing an old invoice and the answer I was previously told here (#1126260379719323738 message) is incorrect. in the past we've had invoices that did not have auto_advance set to true (ex: in_1MFjdXF6KG2nMs1lLgDlmOt0) and as you can see from the events on src_1IEMrjF6KG2nMs1lpJCRaTdr, 5 seconds after the transaction the invoice was paid.
Hi ๐
I'm stepping in as @void pasture had to go. Are you saying you are not having your ACH CT invoices process?
what is CT?
oh Credit Transfer
yes, they don't process the payments anymore
the ACH source just sits waiting as a chargable source
So the customer adds their account info that makes the source chargeable and you are expecting it to process automatically. Hmmmm
the invoice i put in my message at 12:13 PM, that happened
and we noticed it recently stopped happening
and I don't know why
both invoices have collection_method of send_invoice and auto_advance false
The invoice has a number of interactions via the Dashboard
Hello! I'm taking over and catching up...
Okay, so in_1MFjdXF6KG2nMs1lLgDlmOt0 is an example of the Invoice being automatically paid as you expected, correct? Can you give me the ID of an Invoice where you expected the same behavior but the Invoice was not automatically paid?
So that first Invoice, in_1MFjdXF6KG2nMs1lLgDlmOt0, was set to charge_automatically. The second one, in_1NJf4xF6KG2nMs1lwkTHKGNp, was set to send_invoice, so the different behavior there makes sense to me.
Same for the third, in_1Mp9zBF6KG2nMs1lqcwAbeC9, it was set to send_invoice.
No it's not....
"send_invoice"```
I just checked all of them in my console and they are send_invoice
Have a look here: https://dashboard.stripe.com/logs/req_tGrInbqQGIVsvG
When that Invoice was created billing was set to charge_automatically.
You changed it later, in this request: https://dashboard.stripe.com/logs/req_tCTBiGgpnqFqEW
ok, but how does that matter what it was at some point
you can't change it after the invoice was paid....
what i'm trying to figure out here is how do I create an invoice and have it automatically paid when the ACH is sent like it would. we previously created invoices via the API and finalized them in the dashboard (like in_1MFjdXF6KG2nMs1lLgDlmOt0) and had no issues
now we create and finalize them via the API and I don't know what options are different
how do I create an invoice and have it automatically paid when the ACH is sent
Can you clarify what you mean here? I want to make sure I fully understand what you're trying to do.
we make invoices for customers and send them the invoice ourselves
when they pay with ACH Credit Transfer
I want the invoice to pay itself
and not leave the ACH CT floating around with money in it
Gotcha. Let me consult with someone on my team who knows more about this subject than I do, hang on...
Okay, the issue is that automatic Invoice advancement is enabled when you create Invoices in the Dashboard, but it's not automatically enabled when you create Invoices via the API: https://stripe.com/docs/invoicing/integration/automatic-advancement-collection
ok
auto_advance is not enabled on any of the invoices that have been automatically paid
and I'm trying to figure out why they worked in the past but don't now
and the response was that they have billing set to charge_automatically
Can you share examples of Invoices that show the different behaviors you're describing?
in_1MFjdXF6KG2nMs1lLgDlmOt0 was paid automatically and auto_advance is false
in_1NJf4xF6KG2nMs1lwkTHKGNp or in_1Mp9zBF6KG2nMs1lqcwAbeC9 were not and required manual payment
i think the way to acheive what I want is to finalize with auto_advance to true. I'm guessing that is what the stripe dashboard does by default. i'm just confused because the invoices that were previously finalized via the stripe dashboard and are paid don't show auto_advance set to true unless it gets updated to false or something after payment.
the confusing part to me is clearly auto advance was off during payment tho
Stepping through the request history for in_1MFjdXF6KG2nMs1lLgDlmOt0
Will take some time, there is a lot going on here.
i guess it looks like auto_advance gets set to false after it's paid
is that automatically done?
because we didn't do that so just a bit confusing
For this Invoice I see that auto_advance was false until this request that set it to true
https://dashboard.stripe.com/logs/req_NAY6PoWE54OEqe
I'm not certain offhand if auto_advance is set to false once an Invoice is paid, but I believe that could be happening as an Invoice is in a terminal state once it is paid and there are no more states for it to be advanced to.
ok that might explain this then
i guess it seems i should finalize the invoice with auto_advance to resolve my issue
Yes, if you want an Invoice that is using charge_automatically to automatically process payments, then you will want to ensure auto_advance is enabled. This chart shows what features are disabled if auto_advance is false:
https://stripe.com/docs/invoicing/integration/automatic-advancement-collection#toggle-auto-advance