#crsven

1 messages · Page 1 of 1 (latest)

woeful pebbleBOT
thorn reef
#

What I'm doing:

  • Creating an Invoice with a Payment Intent by accepting a Quote
  • Passing that Payment Intent to Payment Elements in JS

What I'm seeing:

  • If the customer for the Invoice has added a Bank Account as a payment method, they are able to pay with that Bank Account. This is not desired. I would like to restrict to non-bank payments. I attempted to do this by passing paymentMethodTypes when instantiating the elements, but this doesn't appear to play nicely with the Payment Intent.
#

Ultimately, I'd like to leave ACH as an option on my account for separate, one-off invoices, while still restricting my Payment Elements checkout to only cards.

#

I thought that the payment methods available on my Invoice Template would be reflected on these Invoices, but that does not appear to be correct.

fallow iron
#

Hi, I think that is controlled by the payment method setting on the invoice

#

I'm looking at my Dashboard to confirm what the setting's link is

thorn reef
#

Ah, looking at payment_settings.payment_method_types in the API Docs for Invoice makes it sound like the Invoice Template is only part of the equation and this might be my Customer's default payment type overriding it: "If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your invoice template settings."

#

I don't have any bank payment methods available on that screen

#

Do you know if I'm able to update payment_settings on an Invoice automatically created from an accepted quote? My concern is that it's in a state where that attribute can't be updated, but I'm going to try that.

#

Oooo, I think that did it. Got a payment screen with only card.