#ikushch_best-practices
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/1224821894688276510
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there!
I think this is what you're looking for: https://docs.stripe.com/payments/bank-transfers#refunds
Let me know if you've already looked at this guide
I saw how to make a refund for payment that is paid and has status 'Succeeded'
but I don't see how to do that for partialy paid paymnt
Invoices can't be partially funded so these invoices will remain open until the customer transfers enough funds to cover the full amount
So in the case above, Invoice # 2 will remain open
does it means that in order to get $50 back uset needs to pay another $50 to cover full amount and only after that refund can be made?
Those $50 can remain in the customer's cash balance for use with future payments. You can also refund their cash balance: https://docs.stripe.com/payments/customer-balance/refunding#create-return-dashboard
How long it will take until they will became customer's cash balance?
I don't really understand the question. When a customer sends funds via bank transfer, what we do with those funds depends on whether you use automatic or manual reconciliation. If you use automatic, we'll apply the funds they transferred in this order: https://docs.stripe.com/payments/customer-balance/reconciliation#cash-automatic-reconciliation
any remaining funds will make up the customer's remaining cash balance.
If you use manual, the funds they transfer will go to their cash balance first. You will then have to manually apply those funds to any outstanding payments
yes, I got it
but in my case there are 2 invoices
if there would be 1 invoice and user paid $150 instead of $100 then $50 will go to overpay
and they will be sent back
but in my case I see a problem that those $50 are not counted as cash balance but as partialy paid for invoice#2
sorry for the confussion
just trying to understand how to handle that
I'm still not really following. If this is something you see in your account, do you have an ID for invoice # 2?
here is the example
cash balance is $0
and I need to refund $100 with status partialy paid
Can you copy/paste that PaymentIntent ID?
Okay, so this is PaymentIntent is not tied to an invoice. It was created using some Node code and it was manually funded via the Dashboard
Looking into your options to refund this $50
yes, my dev team was investigating bank transfers
and this is how we got this question
so what do you think?
If you want to "unapply" the $50 and return this amount to the cash balance, you can cancel the PaymentIntent or update and confirm the PaymentIntent (with the same $100) amount. Either of these actions should release those funds back to their cash balance
I don't quite follow. If you cancel PaymentIntent pi_3P1BuVFsEyguhAmS0FuLAj7M, the $50 that was used to partially fund this PaymentIntent will be returned to the customer's cash balance.
yes but I dont see how to cancel paymentintent
You'll need to do this via the API: https://docs.stripe.com/api/payment_intents/cancel
No, it's not possible to cancel a PaymentIntent from the Dashboard
I see
and once paymentintent is canceled funds will go to customer's cash balance and it will go according to the flow of returning cash balance right?
Not sure what you mean by "according to the flow of returning cash balance" but yes, once canceled, those $50 will be returned to the customer's cash balance