Angular 4 App - Allowing customers to link their bank accounts - android

I would like to know if there is a solution which allows me to create an app that allows users to sign in. They can then link their own bank account via Stripe (Stripe been integrated into the app).
The app will then accept payments and any payments made will go to their Stripe account.
I do not need the code for the whole app or the Stripe integration just some guidance on how this can be implemented.
I have had a look at the following Stripe resources - https://stripe.com/docs/stripe.js#bank-account-createToken
However I am not sure if there needs to be one main Stripe account (which I will create) and sub accounts underneath that (which the users will create) or if each user will have their own Stripe account (only accessible to them).
Also is there something special I need to implement when trying to configure automated payouts or is this handled by Stripe directly.
Is it also possible to charge a handling fee (for example 2%) from the payments made and if so is there any specific method the integration needs to happen or can it happen with a normal Stripe integration.
App is using the following,
Angular 4
Ionic 3
Built for iOS and Android.

You can do it easily using Stripe Native plugin.Here is the Plugin's
repo.
import { Stripe } from '#ionic-native/stripe';
constructor(private stripe: Stripe) { }
...
this.stripe.setPublishableKey('my_publishable_key');
let card = {
number: '4242424242424242',
expMonth: 12,
expYear: 2020,
cvc: '220'
};
this.stripe.createCardToken(card)
.then(token => console.log(token))
.catch(error => console.error(error));
For all your other business related questions you need to read this.If you unable to find a solution specific to you then you need to contact Stripe team for that.
If you need to see the real implementation then you can get the full source code of it from here (Commercial one (Just for $ 5)).This is their readme file.But this implementation has not been used Cordova plugin which I have mentioned above.

Related

How can I save card data to the Stripe in flutter?

I want to save card info to the stripe and with that data, I want to pay later. I am using flutter stripe package, but I didn't find any way to do so.
You basically cannot do that with Flutter.
You have to build that on your back-end :
1/ Create a customer : https://stripe.com/docs/api/customers/create
2/ Create a SetupIntent, with usage argument setup to off_session
https://stripe.com/docs/api/setup_intents/create
3/ Charge the customer by creating a subscription or an invoice.
Then you'll be able to charge the customer based on this payment method.
PS : Be extremely careful, you can only do that for physical products, for digital goods, platforms (iOS, Android) requires you to use their inhouse solution (Google Billing, InApp Purchases...)

Pass payment to from customers to people using PayPal Android SDK

I want to use PayPal Android SDK on my Android app. The problem is that I don't sure if it has the kind of features I need.
What I need is a dynamic payment service (for example, like Stripe Connect) which uses PayPal SDK. What I mean by 'dynamic' is that I would be able to set a custom recipient to who gets the transactioned money.
I've seen this PayPal MPL guide, but unfortunately there is a message in it, says it is restricted for selected partners and should not be integrated in new apps.
I've checked also about Braintree v.zero, but it isn't supported in my country.
Is there a way to use PayPal Native Android SDK to create a custom recipient payment on an Android app?

Implement paypal payment in app Android

I would like to implement payment via paypal.
I downloaded the example samplepaypalsdk and I tye to modify:
NFIG_CLIENT_ID
CONFIG_RECEIVER_EMAIL
with the data generated from the center of development.
In addition I have also modified
EXTRA_CLIENT_ID, "buyer#paypalsandbox.com"
EXTRA_PAYER_ID, "mypayer"
I run the app and I bought the jeans, now I would see the status of transaction?
I tried to search in developer center, but I didn't find it. I would understand how can I manage a transaction...
There is currently a problem displaying AdaptivePayment transactions in the developer console. (AdaptivePayments is the name of the "classic" API that is used by the Mobile SDKs to process PayPal transactions).
However, you can see the notification generated by this transaction in the notifications section, and you can log in to the sandbox webapp as either buyer or seller to see the transaction record.

Integrating Mobile Express Checkout on IOS

I was using Paypal to make payments from my application using MPL. Now I want to enable users to make card payments using Paypal. I have found that to implement this feature I have to move to MPECL. When I am using MPL I used to get call backs regarding the payment status whether its success or failure within my app. Now my issue is
If I use MPECL will I get callbacks to my IOS app about the payment
status?
Are there any nice tutorials in integrating MPECL in IOS/Android?
Also is it possible to use MPL and still accept card payments from
user?
Thanks
1) By callbacks are you referring to IPN notifications? If so, then yes, you'll get them the same way, although the txn_type value may be different.
2) According to this documentation, MPL and MPECL have been replaced by PayPal iOS and Android SDK's. I'd recommend using those instead. There are samples included with the SDK's.
3) Yes, users will be able to pay via PayPal or a credit card when going through the payment flow. If you want to process credit cards directly within your app you can use the new REST API for credit cards or you could use PayPal Payments Pro.

Android sync adapter with appengine Google user accounts

I am implementing a sync adapter for my app to sync with an appengine backend. On appengine I am using the built in User api for authentication. There is a post HERE that tells how to do it, however the app is listed under the gmail account. Ideally my app would be listed in the accounts. I don't want to ask the user for username and password, just use the existing google account for authentication. Has anyone done this before??
Update:
I've been working on this and it looks like I could implement the AuthenticationService and store the users account name and leave the password as an empty string. In the getAuthToken() methods I should be able to simple return the google auth token. Will post once I get further along...
Perhaps you have misunderstood the Android account system. When you go to Settings -> Accounts & Sync and add a new account what you see then is a list of account types. Often there is a relationship between account types and apps, for example Facebook accounts are used together with Facebook. Normally you would add a new account type if you have a different backend system for handling authentication etc.
If I understand you correctly, you use Google accounts but want it to appear as your own account type. That sounds wrong to me. You'll end up reimplementing the Google account handling, with little value. I believe it is simpler for users if you simply piggyback on what Google provides you with. Your app / service / content provider can be seen when clicking on the account. For example, after installing "Tasks" by "Team Task" (disclaimer: I'm not affiliated with that company) they add "Sync Tasks" to the list of data & sync options.
But if you really want to create your own account type, follow the sample Sample Sync Adapter. Look for the Authenticator code and related resources (e.g., manifest, activity layout, etc.).
This is indeed possible and I have implemented this with success but be warned it is a bit of a headache.
There is an excellent tutorial available called writing-an-android-sync-provider-part-1
... don't forget to check the follow up in part 2
Beyond this there is also an example in the Android SDK samples called SampleSyncAdapter which was invaluable in my development.
With a little hard work and a lot of coffee you should be able to get this working ;)

Categories

Resources