I have read all detail about stripe payment section here. https://stripe.com/docs/connect
But unable to understand subscriptions section of this page. Please tell me how to implement stripe connect in ios app using objective-C.
Thanks in Advance.
The difference between Stripe and Stripe Connect is who plays the "merchant" role.
With regular stripe the merchant is the app provider. For example an app created by "Barney's Pizza" - The app can collect payment using Stripe for pizzas. In this case Barney's merchant details are built in to the app.
With Stripe connect the app user can register as the "merchant". For example, you create an app that allows small businesses to invoice clients. After they install the app, the user would configure their Stripe account into the app so that they received the payments. Stripe Connect also allows the app developer to charge a fee that is a percentage of the amount - so your app could be free to download but users would pay you a percentage for every charge they made.
Stripe Connect allows users to create an account with Stripe if they don't already have one, which makes the program flow a bit more complex in an app (On the web, the Stripe web site takes care of it for you, redirecting back to your page once it is done).
This answer suggests one approach to using Stripe Connect in iOS - How to use Stripe Connect in an iOS app
Related
I am working on a react-native mobile app that is about unlocking experiences uploaded by other users. (roadtrips, videos, ...).
So the user can login/signup to the app, and explore the experiences uploaded, but each experience has a price the user needs to purchase it in order to view/use it.
so am I obliged to use the in-app purchase provided by apple or I can use a different payment gateaway by poping up a webview or sending him outside the app through the payment gateaway link ?
Note: without having my app to be rejected.
I have a dapp for web application. Users have metamask installed in the Chrome browser. They make transactions using metamask. Now I want the same application to be developed in iOS using react-native. How to develop this? For browser when users want to make any transaction simply metamask pop ups and asks for confirmation.
How about in mobile devices? How they are going to install metmask in the devices and make transactions in mobile device. Is is possible to achieve this? How can I develop this app?
Your iOS app can communicate with iOS wallets using WalletConnect mobile linking. This fulfils a similar functionality as MetaMask pop-up on desktop environments.
Yes, you don't need metamask for your application. (And I am yet to see someone use it in an app built in React Native.)
Metamask is essentially a wallet which 'injects' into various services on the web. But it is nothing more than a wallet that manages your identit(y/ies).
The features you'd need in your React app would need:
Managing identities (private and public keys.)
Ability to sign transactions.
Then you might want to use extra features such as:
Importing keys
Updating balances
Recording transasctions, etc.
If you're using web3.js, then you need to start here: web3.eth.accounts and look into wallets on the same page.
For React Native, you can use the Moralis SDK https://moralis.io/
If you're developing a native app with Swift, you can use the v1 WalletConnect SDK https://github.com/WalletConnect/WalletConnectSwift.
Also, I'm working on a package (on top of WC) that already has all the configuration for it: https://github.com/maurovz/Glaip
Lydia (easy paiement solution) propose Lydia API and web and iOS SDKs
Does anyone has a proof that Lydia auth/paiement actions can work in a React-Native app?
What I actually think:
Using the web sdk will maybe make the auth callbacks impossibles (like a web social auth on cordova => cookies policy errors)
Using the Lydia API using fetch is surelly ok, but without SDK the experience will be limited to create/read data from api.
Thanks by advance
Lydia tech lead here.
All SDKs you can find are just a quick and easy integration of the API : they are mainly distributed to not tech people. Using Lydia to make a payment is easy just one cURL.
Actually, there is no auth required for a payment through Lydia : the only thing you need is a phone number or an email address.
The API will return a link you can redirect the user to. If he has the app, it will open it for a on click payment. If he doesn't he will land on a credit card form. In both case, after the payment, he will redirected to an URL you gave when sending the payment request (meanwhile the payment confirmation will be done by a server to server call).
I am developing iphone application for a shopping cart, i have done all stuffs but now its turn for online payment, the web version support paypal standard and the client want to stick with paypal standard the user will be redirected and paypal site and log and complete order. Is this possible on iphone?
Some days before apple does not allow any third party payment gateway. But now apple allows it to use the third party payment gateway like Paypal. You can used paypal library which allows you to pay your payment of products which you purchased from the app. For doing all this, paypal provides the library for mobile application development. I had used it in my 3-4 apps & works fine for me.
may be this could help you
link
link
Download Mobile Express Checkout Library from library and add the same to your project.
Why not you using PayPal SDk for Mobile device ? I have integrated PayPal in my app through their MPL library and Modified some stuffs like App Key and price,Store name Receiver account details etc. And its working fine for me.
check this link which is Already answered.
Also you can have a look at Getting started Guide.
PayPal API : How to integrate it in my App? IOS5
https://developer.paypal.com/
You need to implement paypal on your web server first.
Then go to that link from UIWebview….
I am using Titanium studio to build an iphone mobile app, and I want to do the following
Send a user id using API to my server
Server processes payment for that user using the previous card on file
Server sends a success/failure response.
What is the most secure way to do this? I know if I just send the user id then anyone could hack.
Are you sure what your doing is allowed (roll-your-own Payments and credit cards in-app will generally get you rejected)
Make sure your app does not violate any of these guidelines:
11.1 Apps that unlock or enable additional features or functionality with mechanisms other than the App Store will be rejected
11.2 Apps utilizing a system other than the In App Purchase API (IAP) to purchase content, functionality, or services in an app will be
rejected
11.13 Apps that link to external mechanisms for purchases or subscriptions to be used in the app, such as a “buy” button that goes
to a web site to purchase a digital book, will be rejected
Check the latest App store review guidelines here : https://developer.apple.com/appstore/resources/approval/guidelines.html
Also refer to these SO questions for more information:
iPhone Paypal in UIWebView Appstore approval process
iOS - Integrating credit card payments
A more secure way to do this (if you pass all the above guidelines) would be to use a userid, password, and salt, encrypted either over https or SHA256. Note that you have to specify you use encryption if you go the second route, during the review process.
Here is a wikipedia article about Salt and Passwords that I used.
Here is a SHA256 library for JavaSCript that works great with Titanium and is simple to use.