#jarrett-cashbalance-invoices

1 messages · Page 1 of 1 (latest)

undone ledgeBOT
hybrid fractal
#

I confirmed the payment intent has the customer_balance option as well

steady forge
#

I see it is the only option

hybrid fractal
#

so why is the invoice only giving me an option in the dashboard to pay with a card

steady forge
#

I cannot speak to what the Dashboard would attempt to do

hybrid fractal
#

i know the dashboard has an option in the past to credit an invoice the difference and pay it

#

but idk what that normally does behind the scenes

steady forge
#

Neither do I, we are focused on the APIs here and there isn't direct parity in terms of behavior between the two

hybrid fractal
#

i mean in the past people here have been aware of the dashboard... and clearly something is wrong if the dashboard only wants to let me pay an invoice with a credit card which isn't an available payment method on the payment intent.

anyway, how can I apply a customer balance to an invoice through the API if they don't match?

#

Like I don't know what I pass the the invoice pay API to use the balance

steady forge
undone ledgeBOT
hybrid fractal
#

ok so i can't do that with the amount being differnt

#

in the past there was an option to basically handle this. where it did some sort of credit application to the invoice. was that using like credit notes or something?

steady forge
#

Okay I just walked through partial funding of a Payment Intent with a customer balance in my test integration, taking a look at the api calls

#

One difference that jumps out at me is my payment intent has the following payment_method_options

"payment_method_options": {
        "customer_balance": {
          "bank_transfer": {
            "type": "us_bank_transfer"
          },
          "funding_type": "bank_transfer"
        }
      },

but I only see the following for yours

payment_method_options: {
    customer_balance: {
      funding_type: null
    }
  },
hybrid fractal
#

we ended up just putting a credit note on the invoice. are you saying if we had customer balance with those options it would've given us different dashboard options to fund the transaction?

steady forge
#

I'm testing myself through the Dashboard. I do not see a way to partially fund the invoice via the customer balance if the amount is not sufficient.

hybrid fractal
#

we don't currently pass those options when we make an invocie. should we be passing those options? We're a US based company? Could we be collecting non US customer balances if we passed like eu_bank_transfer

steady forge
hybrid fractal
#

cash

#

the wording around this shit is so confusing tbh lol

#

aren't they called Bank Transfers

steady forge
hybrid fractal
#

so the customer used a Bank Transfer to create their Cash Balance.

#

can a US Stripe account use non US Bank Transfers... like an EU Bank Transfer?

steady forge
#

If they had a bank account in the EU, they would conceivably be able to transfer EUR from there

hybrid fractal
#

That's not my question.... i'm asking if the bank transfer type on the customer would be eu_bank_transfer

steady forge
#

Your original question was about applying a Customer cash balance to partially pay an outstanding Invoice. As I've had more time to review our docs it looks like this isn't an option

Invoices can only be fully funded using the Dashboard, so this option doesn’t appear if the customer doesn’t have sufficient funds on their cash balance to fully pay the invoice.
https://stripe.com/docs/payments/customer-balance/reconciliation#cash-manual-reconciliation

#

I think that resolves your question for this thread. I'm going to close this one but you are welcome to ask any new questions you might have in #dev-help

I'll give you a minute to tell me if I'm wrong about that.