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...)
Related
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.
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?
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.
I am having an android app for an e-shop. So far the user after he chooses an item, he gets a reservation number and then he can call the shop and using this number he can verify the order and he pays it there. What I want is to update my app and make the user be able to order and pay from the app- either with paypal or a cedit card? What should I use? Are there any references, any sample code,any books maybe on that? And how can I make it secure or test it? Is it possible in android or not?
You can try http://OpenPayments.Mobi. They offer a set of very advanced FREE services to incorporate In-App Purchases from any platform including Android, BlackBerry, Windows Phone, etc. They currently offer PayPal and Google checkout payments.
I also suggest you see this link https://www.x.com/developers/paypal/products/mobile-payment-libraries
How to process the payment by paypal/credit card from a android app? Right now I have been converting an online website into an android app. And the final process is processing paypal/credit card payment. I don't know how to go about this.
If you want to continue with Paypal then this link will help you
read (1,2,3 article) & download pay[pal API from it
https://www.x.com/docs/DOC-2991
This api also have source code with it.
You should consider in-app billing. I'm not sure what your business model is but this is probably the best way to charge from within your app.
http://developer.android.com/guide/market/billing/index.html