ios Stripe payment(Account to Account Transfer) - ios

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

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

How to send payment to the customer from Stripe account using API in Rails?

One of my client Ruby on Rails project have a functionality of get payment from customer in his stripe account.
Now, He needs to pay that payment to the item owner after deducted commission. So, how we can pay from stripe account to particular customer account using API in Rails?
I have checked many API's but not clear which exactly use for it.
Any one have a idea or experience in it?
Thanks
See the Stripe guide on Using Checkout with Rails.
I am not positive if a customer token can be used to send funds to, but if so or not, the following still applies.
If the customer has a connected account (or customer token), you can then use "transfer" to transfer the funds to them.

Swift Stripe Saving Card Integration

I have recently developed an iOS application using swift that does the basic Stripe functionality as mentioned in the Stripe example. However, my app requires saving card details with payment being made at certain times in the system. I am aware that a customer object needs to be created, store the id and then charge in reference to this id. My issue is when using the server side code provided by Stripe I am unable to create a customer or charge. If anyone has any suggestions that would be most appreciated!
I have also had this issue when I first started to use Stripe.
The first thing I did was to review the standard Stripe integration guide to make sure all the dependencies were added to the pod file, that they were installed, and that I had deployed to a backend in my case Heroku and then added the backend base url in the CheckoutViewController.
I also checked to make sure that my ViewControllers had the proper target membership selected.
I also made sure the app delegate had the Stripe publishable key added in the func didFinishLaunchingWithOptions.
Once I did all that I was able to process a purchase from my app on my device and see a new customer, a new credit card, and a new charge in my Stripe Dashboard.
EVENT
cus_C4jHIFBjr12qoy was charged $1.99
Customer cus_C4jHIFBjr12qoy added a new MasterCard ending in 4444
cus_C4jHIFBjr12qoy's details were updated
cus_C4jHIFBjr12qoy is a new customer
I am also able to add additional credit cards during a session, but I still have not figured out how to retrieve an existing client id from the backend or stripe so I can retrieve stored credit cards so the user does not have to reenter the credit card information every time they use the app.
A good resource to check out is : http://webchat.freenode.net to see what other developers are doing to integrate Stripe into their apps.
Here is a link to a YouTube Video on Stripe which you may find useful:
Part 1 https://www.youtube.com/watch?v=NdszUvzroxQ&t=233s
there is also a Part 2 which actually shows how to create charges and configure the backend. Hope this helps.

pay from customer to another customer in my app use paypal or stripe?

I am developing an application that has a function allow an customer pay to another customer.Can I use Paypal mobile or Stripe? how to implement it?
Stripe has a full solution of this. This is call stripe connect.
Suppose you have a marketplace and you have buyer and seller. Now you want to send money directly to your seller.
For this situation you can use stripe connect.
To use stripe connect your seller need to connect with his/ her stripe account (similar as facebook or social media login).
When you use stripe connect a charge will deduct from buyers account which is called stripe charge. Another type of charge you can deduct from your buyer which is called application fee. You can set your own application fee.
Money will send directly to seller's stripe account after deducting stripe charge and applicatipn fee. You also have full refund option in stripe comnect.
There're several options for you to implement a person-to-person payment function, but you may want to check with venmo as the most convenient way for an native APP integration
Stripe is one of the popular gateway for receiving payment in Canada, if you have user base of canada than i would recommend using stripe, you can find the integration kit here
Paypal is also good option you can get the documentation of paypal integration here.
For Paypal account you need to verify your email id & bank accounts same is for stripe.

Accepting payment on behalf of someone else

I have organizations who have users that pay to join. I need to be able to accept payments on my rails app and send the money(minus a potential charge that goes to me) to the organization's bank account.
Currently I have only found services to accept payments(fee #1) and then separate services that distribute payments(fee #2). I am looking for a service that is easy to implement and combines these steps; preferably wrapped up in a nice ruby gem.
I suggest Stripe, I've implemented it before, the documentation is very clean and the gems worked fine
How you could use it:
Organizations needs to create an account on stripe
You will implement in your platform a way to organizations login on stripe through your platform, when they do that they will create a permission to your platform to receive payment in their behalf
You can set a value you will receive for each transaction
Stripe will distribute the money automatically after each payment

Resources