#aaron_10220
1 messages · Page 1 of 1 (latest)
Hello! Unfortunately that screenshot image isn't working for me, but I think I have the gist of what you're describing
Quick question - are you using Payment Element in setup mode or payment mode?
Gotcha!
So I don't believe we offer anything like option 1 (programmatically determine which methods are being shown) but I do think option 2 will potentially work. As long as you have both card and us_bank_account enabled in your paymetn method settings and you pass in currency: usd and an amount that'll work for both it should always show both options
Okay! Can you elaborate on what you mean by "an amount that'll work for both"?
Also, is something like #1 possible to add to your roadmap? It seems like a fairly easy thing to expose (for example as a detail on the onReady event)
Yeah I'll definitely flag #1 as feedback, but I can't make any promises on when that would potentially be added
(#1 is a preferable solution in the long-run because it allows us to internationalize our form and take advantage of the Payment Element's smart heuristics for showing the best payment methods)
Thank you for passing along!
Yeah that's definitely fair (the other alternative would be to make it still collapse if only one payment method was available)
Which we've definitely gotten asks for in the past
yes that would be another decent alternative! For us it would still look a little weird missing the radio button but still much better than nothing
For the amount thing - what I'm referring to is that our automatic filtering takes amount into consideration because some payment method types have minimum amount requirements. For example, card has a minimum amount of 50 usd.
Ah I see. Is there documentation on these minimums anywhere?
I think the closest we have is https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts
But if you set a default to 100 usd I believe it should show both
I'd recommend trying it out to confirm
Sounds good, I'll try it out. Is it possible for the minimum to be different for different payment methods? The above documentation suggests it's the same minimum (for a single currency)
The minimum definitely changes across different payment methods (I know it's not the best doc resource - that doc is most accurate for card charges)
I've tried it out and appears that US bank account is also a $0.50 minimum
Thank you for your time!
Last question - is there a good way for me to follow along for any possible API changes we've discussed (such as adding methods to the onReady event or making it collapsible)
Since those are forwards compatible changes/net new features the best way to be notified would be by writing into support (https://support.stripe.com/contact) and asking them to notify you when it's been implemented
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.