#Abishek

1 messages · Page 1 of 1 (latest)

whole novaBOT
surreal wagon
#

It looks like all the debit methods except for ACSS support the payment element.

vivid pivot
#

ok, so for it to show on the Payment Element, I need to turn on bank debits on my payment settings on Stripe. Is that all?

#

Also, is this feature only available in US, UK, Europe and CA?

#

What about countries like India, Singapore, Australia?

craggy pilot
#

👋 Hopping in since Pompey has to head out soon

vivid pivot
#

no problem

craggy pilot
#

Currently we don't have support for bank debits in other countries, but you can always write in to support (https://support.stripe.com/contact) to see if there are any that are currently being developed and may be ready soon

#

And for it to show up on Payment Element it depends on how you're creating your Payment Intent - if you use Automatic Payment Methods then all you have to do is enable it in your settings

#

But if you're setting payment_method_types when you create the Payment Intent then you'll need to change your code

vivid pivot
#

ok, i use payment_method_types because I did not want wallets to show. So, if I only wanted card and bank debits what do I need to update that parameter to?

#

And I am assuming the webhooks that receive a successful payment for card and bank debits are the same. No additional webhook required. Correct?

craggy pilot
#

Correct, the webhook should still be payment_intent.* events

#

Even with Automatic Payment methods you should be able to disable the wallets, and using automatic payment methods will be way easier.

#

Otherwise, if you still want to use payment_method_types it'll depend on your account type (since certain bank debit methods are only available in certain countries, and you have to include the separately)_

vivid pivot
#

ok

#

To test bank debits, do I have to be on a US VPN or is there a way to test US bank debits? I am currently in India

craggy pilot
#

You need to have a US Stripe account

vivid pivot
#

I do have a US stripe account, but I am browsing the payment element from India, so just wondering how to test US bank debits

#

and is there a way to force what country settings to load instead of Stripe auto-detecting?

#

The reason why I ask is, I have vendors who are located in India, but have US LLC and US bank accounts, so when they are browsing the payment element, it will always show based on what location they are on.

#

So if the account settings for the User is based in the US, I want to show the Payment Element form based on how it would look for people in the US so they can configure the bank accounts for ACH

#

does it make sense?

#

just trying to see if this is documented somewhere

#

ok, I think I figured it out. I can set payment_element_currency with the currency code

#

actually that doesn't work

#

I get an error when passing that

#

but that is what I see on the payload of that page I shared

craggy pilot
#

Yeah I'm not sure where you found payment_element_currency but that isn't something you can pass in with our API

#

Have you tried it out w/o the VPN yet?

vivid pivot
#

I was looking at the console to see what is the XHR request

#

the VPN solves for me, but not to my customers who want to add US bank account from here in India

craggy pilot
#

Yeah payment_element_currency is something that's used internally, not intended for public use

#

and what behavior did you get when you tried w/o the VPN?

vivid pivot
#

let me check

#

still only seeing the card, but the country automatically defaulted to US and it was India when I was not on the VPN

#

but I still don't see the option for Bank Debit

#

Does it take a while for it to propogate after it is enabled?

craggy pilot
#

Do you have the Payment Intent ID - I just want to check something on our end

vivid pivot
#

did you mean the setup intent?

#

is the id for the setup intent ok?

craggy pilot
#

Setup Intents don't work with Automatic Payment Methods though - are you just using a Setup Intent with payment_method_types?

vivid pivot
#

yes

#

I switched to automatic, so no payment_method_types are set

craggy pilot
#

What's the Setup Intent ID?

#

and again - I just want to be really clear, Setup Intents cannot be used with Automatic Payment Methods. Unsetting payment_method_types with a Setup Intent will just have it default to card

vivid pivot
#

you mean, I cannot use SetupIntent for subscriptions?

#

here is the setupIntent Id seti_1LkaSXJG3J57HiInrK734Amy

#

I thought setup intents were for Future Use Payments

craggy pilot
#

Yes, you can use Setup Intent for Subscriptions, but the specific part that doesn't work for Setup Intents is Automatic Payment Method selection (where we choose which payment method types to display in the element)

vivid pivot
#

ok, so if I specifically set the payment_method_types, then it shows

#
'payment_method_types' => ['acss_debit', 'au_becs_debit', 'bancontact', 'card', 'sepa_debit', 'us_bank_account']
#

so, I have to only pass the one's based on their billing currency they want to setup the payments for

#

so if they select US, I only add card and us_bank_account

#

something I am assuming Stripe does on their payload for that page I showed

craggy pilot
#

Yup - with Setup Intents you have to calculate which Payment Method types based on the currency you'll be charging in

vivid pivot
#

ok, that works. thank you. I will do that