#ssbjsb_invoice-underpayment
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/1305581461436633209
๐ 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.
- ssbjsb_webhooks, 3 days ago, 102 messages
- ssbjsb_webhooks, 3 days ago, 4 messages
Standalone invoice ID: in_0QK13I5QM0nABsUHmvGMZ91w
Stripe customer ID: cus_RB35tIYUaWhcW4
In my last conversation on Thursday Nov 7th I was told that subscription invoices are different than standalone invoices and that we can't make a payment without a payment method.
Payment method of type customer_balance cannot be attached to a customer. Stripe throws an error.
How can we programatically pay an invoice?
Hey @opaque crescent I'm sorry but I don't really understand how manual reconciliation works with open Invoices unfortunately beyond what's in the documentation page https://docs.stripe.com/payments/customer-balance/reconciliation. You might have to reach out to our support team for 1:1 debugging help: https://support.stripe.com/contact
But have you tried confirming the underlying PaymentIntent with the customer balance payment method?
We have a use case where if the customer has paid/transferred ~98-99% of the invoice amount then we reconcile and pay the invoice
Gotcha so you want some kind of "forgiven amount" for under payment
Unfortunately that's the part we don't understand well on this server from asking my team before and I think you'll be better off asking our support team for 1:1 support help, sorry
ssbjsb_invoice-underpayment
Can someone else join this thread who would have more familiarity with this?
The support channel/email path is very slow and it took weeks last time to answer questions about PaymentIntents API.
Hence I am on here.
I understand but the next step is to talk to our support team to help debug this. Unfortunately my team and myself don't understand how ths works when someone has underpaid and our support team will be able to help you further one on one. Please contact them here: https://support.stripe.com/contact
Okay
With sources going away, how do we pay an invoice programatically?
Currently we pass a source ID in the params
That's the part I don't know how to answer. I know when you have the full amount in the CashBalance where you confirm the PaymentIntent. But you were asking about an under payment
The documentation states we can still pass a source: https://docs.stripe.com/api/invoices/pay
My question is not about under payment anymore.
It's just about programatically paying an invoice without sources
I mean source is still an allowed parameter, you actively use it. We are just deprecating it.
Usually you would pass the payment_method: 'pm_1234' parameter instead with the id of a PaymentMethod such as a card or a bank account.
But you are using Bank Transfers I assume as a migration from ACH CT Sources or similar (I'm guessing as you didn't say). In that case you would need to confirm the underlying PaymentIntent. It's what's documented in https://docs.stripe.com/payments/customer-balance/reconciliation#cash-manual-reconciliation
yes we are moving over to bank transfers and customer_balance
okay so the doc mentioned above is the right flow.
The re-design on PaymentMethod is completely different. There isn't an equivalent to the Source id src_123 where funds were stored and you could pay the Invoice with it.
Okay got it.
I will test out the flow mentioned in the documentation
That flow does not work if there is an under payment
Correct which is back to what I originally explained/said
I don't know how it works. I did ask 4 people on my team, they don't know either, that flow is undocumented unfortunately and the best next step is to reach out to our support team for help: https://support.stripe.com/contact
But with sources it was possible to reconcile an invoice with an under payment
I understand your suggestion to contact stripe support
๐
Thank you!
Sure! I'm sorry I don't have an answer, I wish I did. I also flagged internally we need to improve our docs but unfortunately the most compelling ask is when developers like you reach out to support directly to ask how it works