Allow user to input financial information for stripe express account? - ios

I'm trying to build a Patreon-like app: A creator creates an account where users can then subscribe for some price.
I have gotten to the point in my code where I now need the user to add his bank info into stripe so he can receive funds. I have come across questions like this, and this, but neither shares any information on how a user can input his bank info on the client-side (they only deal with the backend).
The connected accounts are Express accounts.
How do I make the user add banking information on the client-side?
I have been recommended this stripe page but it does not show how to allow a creator to input banking info on client-side. I have also implemented the example backend code from firebase and updated it for my specific case.
Update:
I've also come across this page about Managing bank accounts and debit cards but it appears to be for custom accounts not express.

Stripe uses a hosted onboarding page for Express accounts. It's basically a form hosted on a Stripe domain that handles all the common onboarding requirements (e.g. verification documents and bank account details) needed.
Once the user has filled everything in they are redirected back to your site/app. In other words you don't really have to worry about collecting bank details client side, Stripe does it for you: https://stripe.com/docs/connect/express-accounts

Related

Where can I find the information or documentation to allow a stripe connected account to add bank information within my app?

I have been looking for documentation or tutorials which show what to do in order to allow a creator (who already has a connect account (it was created when he first authenticated)) to add the banking information necessary for him to withdraw funds from his connect account (transfer his funds).
How app works:
Creator makes an account like on patreon.
User subscribes to creator like on patreon.
How can I allow the express connected account add his details?
Here are some links I have gatherd but don't seem to contain info on how to:
https://stripe.com/docs/connect/express-accounts
https://stripe.com/docs/connect/charges#types
It depends on what type of Account.
Standard Accounts: https://stripe.com/docs/connect/standard-accounts#create-link
Express Accounts: https://stripe.com/docs/connect/express-accounts#create-link
Custom Accounts: https://stripe.com/docs/connect/connect-onboarding
For express accounts redirect users to stripes onboarding
I emailed them for info before I got this answer. I will include their info here:
I understand you would like to know how a user can input their bank account information on the client-side.
As per in docs Stripe will handle onboarding, account management, and identity verification for your platform, which means you can onboard users very quickly. This is done by using the OAuth connection flow, after this, your user will be able to connect to your platform.
You can test this by trying the sample we have using Rocket Rides. Also, here you will be able to find the demo’s source code.
On the other hand, if you are referring to updating this information after the onboarding, this is done by logging on the Express Dashboard, and you can achieve this by integrating with the Express Dashboard.
Extra info: https://stripe.com/connect/express
This is especially helpful: https://stripe.com/docs/connect/collect-then-transfer-guide

Stripe Connect with React and API only Rails

I'm having some issues with Stripe Connect. I have an API only backend in Rails and a frontend in React. I have successfully created Connect Accounts for new businesses which register in my frontend. However when a customer wants to buy something from the business, the payment doesn't work.
I create a Stripe::PaymentIntent in my rails backend when the frontend calls /business/payment_secret and return the client secret which is provided by the Payment Intent. The frontend then calls stripe.confirmCardPayment with the given client secret and the card which was used in the form. However, I always get "No such payment intent" error.
I've read somewhere that I need to add the stripeAccount config to the stripe object which is plugged into Elements. I tried to plug in the stripe account id of the business the customer is purchasing from but it didn't work.
Also it was very awkward to create the stripe object which has the business the customer is purchasing from can change depending on which items the user adds to the cart. Is there a standard way of doing that?
Or how does the payment process for connected accounts look like with an API only backend and a react frontend?
Thanks in advance
You need to review the various charge types to determine which fits your business needs, combined with the account type(s) you're using.
It sounds like you might be creating "direct charge" payment intents using the stripe-account header on your server then trying to confirm them in the client without that. You'll need to initialize Stripe.js using the same stripeAccount option.
The issue you're referring to with multiple potential accounts is one to think about in your customer flow. What if a customer wants to buy two items from two different connected accounts? For that flow you'd need to change your integration to use separate charges and transfers.

How to get other user information with apple signin

My App required user email, phone number and City for providing the local discount offer. This is the paid app and we will charge differently in different cities according to the number of discounts we offer in that city. But know we are using apple sign-in which does not return any of these data. so we will add the separate form for getting this information after sign-in but apple will reject that by saying
Sign in with Apple is designed to be a self-contained, all-in-one
login system. With security features like built-in two-factor
authentication, you can remove additional sign-up steps so users can
focus on your app's content and features.
How I solve this issue?

ios Stripe payment(Account to Account Transfer)

I am making an application in Objective-C(iOS). I want to transfer some amount from my account to the other account using my application.
Case: The transfers will be user specific.
1.There will be a user who will post his need for money.
2.The other person who wants to help him will contact him in personal chat.
3.There will be a payment option from where the donator will send money to the person in need.
Please help if anybody is having knowledge about it, as I haven't worked with stripe before.
Thanks in advance.
The first step would be setting up Stripe
https://www.youtube.com/watch?v=NdszUvzroxQ
The tutorial uses Heroku which handles the backend side of the payments.
Here is the documentation https://devcenter.heroku.com
Just incase you're looking for a way to do this with Firebase, check out my answer here Swift Firebase Stripe Connect
The next step would be altering your Stripe project to work for Stripe Connect
The documentation for Stripe connect is here https://stripe.com/docs/connect
You basically need to setup your account to allow for users to sign up as 'Connected accounts' that can receive payments. Your stripe account takes the payment and then dishes out to the connected account accordingly, it needs to be setup in the node server.
Stripe has an example project that uses Stripe connect which is what you're looking for, this handles marketplace style payments.
Take a look at their project. The concept is that users can sign up online and be accepted for payments.
Here is the project https://github.com/stripe/stripe-connect-rocketrides
and the demo website https://rocketrides.io

How can I allow users to get paid directly with stripe?

I've looked at stripe connect and it forces each user to impute their Social Security number and etc. just so they accept payments for a item they want to sell.
Is there a less painless method where users can sell something on my site, receive monies, and buy from other users?
I tried using stripe alone and it pays me directly. Problem is I want user to sign up, sell something on the site, and get paid. I'm not sure how this can be done without having each user impute social security numbers, tax id, and other personal information if all they want to sell is a pen.
For financial compliance reasons (know your customer laws, anti-money laundering stuff), as well as protecting you from chargebacks and refunds, you'd have to use Stripe Connect and either Standalone or Managed Accounts. Unfortunately this means you'll have to collect certain information from the user like their bank account, date of birth, last 4 of their social, etc.
You can using their Transfers API, but you need to be in the US and so do they. https://stripe.com/blog/send-payouts-with-stripe

Resources