#clueless-react-native
1 messages · Page 1 of 1 (latest)
haha
Just to turn this into "Stripe vocabulary": you're using Stripe Connect, to payout third-parties, and you're using Custom accounts, and are trying to collect bank account details for those users?
that is correct, yes
Essentially, I can buy something on this app using my credit card. That money is then sent to the app's stripe account. After receiving notice that the item has reached the customer, we want to send the money to the seller's bank account
Gotcha. We don't yet support this unfortunately. https://github.com/stripe/stripe-react-native/issues/575 is an ask for it and there's an open PR but not yet merged
for now, you'd either build your own logic to call https://stripe.com/docs/api/tokens/create_bank_account with the publishable key in your app raw HTTP requests) or open a webview maybe?
So, for clarity, we can build our own logic using publishable keys, and it will work for our app?
Is this considered a work around?
yep totally
and we won't be seeing the full bank account number this way, correct? so we'll still be PCI compliant?
PCI compliance is irrelevant since it's about card details not bank accounts
but overall yes, you'll collect the bank account details client-side, and send those to Stripe and not your server, which is safer overall!
much appreciated friend, thank you very much for your support
sure thing!
one last thing, those docs you sent me are good for React Native, right?
yeah, it's just an API request so they work anywhere
Credit cards use "CardField" for front end integration. Is there an equivalent for bank accounts?
no there's nothing
you build all of this yourself, there is nothing in the SDK for you to do this, you collect bank account details in your own UI/form and tokenize yourself with raw HTTPS requests
So how should I handle it if an account is not entered properly?
Would Stripe receive an error?
and would we be able to notify the customer/seller?
yes you'd get an error if the value are too short/long or have bad values for example
we can't know if the bank account is real though, not until we send funds to it
Hmmm, interesting
In that case would we just send them a notice saying to change their bank account info?
yes