#diego_54610

1 messages · Page 1 of 1 (latest)

smoky trenchBOT
steep tapir
#

The docs said I had to that setup_future_usage if I wanted to use the posit credit balance before trying to charge from the payment method
Where did you read it from?

#

The above code is to save the payment method that is used in this payment. It's expected to charge from the payment method that is collected in this Payment Intent

#

It will not charge from the credit balance

cobalt plinth
#

I read it in the docs AI
After that, I do:

intent = Stripe::PaymentIntent.update(intent.id, {
            payment_method: payment_method
})
intent = Stripe::PaymentIntent.confirm(intent.id)

So if this is not the way, how can I guarantee it will try to charge from the credit balance first and if not from the saved payment method?

steep tapir
#

This is not how Payment Intent works. It's not possible to charge credit balance first then from saved payment method.

Credit balance is used in invoicing and subscription, not one-time payment intent.

cobalt plinth
#

I see, so credit balance is not compatible with one-time payments ☹️
What is that "invoicing" you mentioned 🤔

steep tapir
cobalt plinth
#

Thank you, I'll check it out