#ghadgraft

1 messages · Page 1 of 1 (latest)

sterile mapleBOT
gloomy slate
#

However we are looking to use bank transfers in the UK via the customer_balance payment method. However this is incompatible with the in_behalf_of attribute.
How are you collecting the payment for your invoices ?
Can you share a sample invoiceId or a failure requestId when trying to use customer_balance?

sharp spruce
#

Using the following to create an invoice:

invoice = Stripe::Invoice.create({
      customer: customer.stripe_identifier,
      collection_method: 'send_invoice',
      days_until_due: 30,
      pending_invoice_items_behavior: 'exclude',
      transfer_data:           {
        destination: booking.outlet.stripe_account.identifier
      },
      on_behalf_of:            booking.outlet.stripe_account.identifier,
      payment_settings: {
        payment_method_types: ['card', 'customer_balance']
      }
    })
#

This returns the following error from Stripe:

The payment method type `customer_balance` does not support invoices that are created on behalf of other Stripe accounts.
chilly kraken
#

I guess that's not supported right now. Banks Transfers is a pretty new feature