#BilalSaeedAlam

1 messages · Page 1 of 1 (latest)

fallen baneBOT
whole orbit
#

Hi there!

#

It's basicaly this line: stripe.collectBankAccountForSetup(...)

#

And Stripe will collect all the information needed

full onyx
#

Yes i can see this function
stripe.collectBankAccountForSetup({
clientSecret: clientSecret,
params: {
payment_method_type: 'us_bank_account',
payment_method_data: {
billing_details: {
name: accountHolderNameField.value,
email: emailField.value,
},
},
},
expand: ['payment_method'],
})

But there is no any Stripe Elemt for this, shold we use custom fields for this?

whole orbit
#

Have you tried this code? This will open a popup where the end user will enter their payment details.

full onyx
#

In the billing_details object what will be the keys for routing number and account details?

whole orbit
#

In the billing_details object what will be the keys for routing number and account details?
No, that's Stripe who will collect this.

full onyx
#

O i see, not yet i was just reading it and finding that thing.

whole orbit
#

Got it.

full onyx
#

Perfect understood now

#

I will try it and just last thing i am using Next JS, so should i need to add <script> on the header or packages are enough which i have installed

#

?

whole orbit
full onyx
#

Alright no worries, i will try it, thanks @whole orbit