Regarding .apk file size increment after Integrating paypal card - paypal

I am developing an Android application previously(Paypal without "io.card") it size was 2.3 MB after integrating paypal io.card it increases its siz to 15 MB. I need both the payment options(Paypal Account & Card payment) but i don't want card scanning feature. So, please kindly let me know how to remove card scanning feature to reduce the size of .apk. Or any other way to reduce the size of .apk with both payment options.
I have read the discussion at link below, but i didn't found solution.
https://github.com/card-io/card.io-Android-SDK/issues/93
Thank in advance

refer this official Android SDK of paypal : Paypal Android SDK GitHub At this url, already mentioned that "How you remove only scanning feature.". In build.gradle of your app level "put packagingOptions ---- inside ----
android{ ....
.....
packagingOptions{}
.......
}

Related

Implement credit card payment using NFC (Flutter)

I'm trying to implement a credit card payment using a flutter app (like Apple/Goggle pay).
The main goal is to store the relevant information about the credit card from a scan or from given details (whatever is possible) and later use it to make a payment with a payment terminal device.
An example is shown in this video: https://www.youtube.com/watch?v=aifXMV8PLYM, but unfortunately the source code of the mobile application has been removed.
Thanks,
Noy.
You are definitely able to read NFC-Tags (Credit-Cards) using Flutter. I have tested the nfc_manager package (https://pub.dev/packages/nfc_manager) successfully, with the provided example. Emulating does not seem to be supported by this package.
If you want to emulate NFC maybe checkout this package: https://pub.dev/packages/nfc_emulator

How to implement In-App Purchases Subscription in Flutter?

I want to provide auto renewable subscription in my Flutter App for both iOS and Android devices. Users can subscribe for 1 Month.
There is not an officially maintained in-app purchase plugin yet. But there are lots of plugins about In-App Purchases in Flutter.
Which one is the best? How to implement? Are these secure?
==== UPDATE from 11.03.2020
Hi, I can see this post still reading by people who looking for a
method of how to work with subscription in Flutter. During 2019 I made
two apps with thousands install where users can buy a renewable
subscription on the 2 platforms. Until February 2020 I used for this
package from Flutter team https://pub.dev/packages/in_app_purchase,
BUT - there is no way to get info about the user to unsubscribe in
iOS. This is not the plugin issue, but the iOS approach for the
process. We should implement our own backend for security reasons (by
the way Google also recommends to do the same, but still left the way
to check the state directly from the app).
So, after some researches, I found guys who made backend and plugin
and it is free until you have less than 10 000 USD revenue for the
month. https://www.revenuecat.com/
https://pub.dev/packages/purchases_flutter
I've implemented this plugin in my apps and it works like a charm.
There is some good approaches that allow you to get a subscription
state at any point in the app. I'm going to make an example and
article, but not sure about the timing.
==== UPDATE from 03.10.2019
I recommend using new package from Flutter
team https://pub.dev/packages/in_app_purchase
The example with code is here https://github.com/flutter/plugins/tree/master/packages/in_app_purchase/in_app_purchase/example
With this plugin I successfully implemented payments and recursive
subscriptions to Android and iOS simultaneously. With the old package I
had some minor issues.
You can use nice plugin flutter_inapp_purchase
I've used it for the app that I developed and it works well. You can use my example of how to work with subscription - github
There is a complete working example - when you run it, you should get the screen
(do not forget to log in to Google play in an emulator or you will get “in-app billing version 3 NOT supported”)
For those looking for resource on how to implement IAP, Flutter team wrote a tutorial using in_app_purchase package and Firebase as backend for validation.
Link: https://codelabs.developers.google.com/codelabs/flutter-in-app-purchases#0
Android and IOS both with In-App-Purchase with auto-renew working best and easy way in Revenuecat plugin Link https://docs.flutterflow.io/advanced-functionality/payments/revenuecat

Is the PayPal MEC library deprecated or discontinued?

I've successfully implemented the MEC pattern in a couple of native applications using the MECL library as described in:
https://www.x.com/developers/paypal/documentation-tools/express-checkout/integration-guide/ECOnMobileDevices
The library (both iOS and Android packages) can be found here:
https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index?qt-paypal_sdk_index=2#qt-paypal_sdk_index
Unfortunately, the new http://developer.paypal.com website seem to have forgotten that once this library existed.
What should I do? Remove the library and do the express checkout without the DRT (device reference token) provided by the library? Or is it safe to still use it?
My app uses the DRT id to ask the server whether the payment was completed, and so a failure to get the token would compromise the ability to perform payments.
Mobile Express Checkout process is still around and available to use. There isn't any official code samples though and that is kind of a bummer.
You can use the Merchant SDK to get a working example of the full-site Express Checkout process and make changes to it as needed.
We're trying to get people to use the new iOS and Android SDK's.
Here is a link to a setup guide for Mobile Express Checkout:
https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/integration-guide/ECOnMobileDevices/
It goes into detail on the differences (mostly just the redirect URL) and I hope gets you a place to start.
Sorry!

How to add In App purchase for for premium verision of application?

Hi can any body tell me how to add the feature of In App purchase premium version of application. Infect i want to sale my application free but some of the features will not be available in free app. To unlock all the features user will have to purchase a premium version of app. So can anybody guide me how to this?
A simple Google search would have been pretty successful on this.
I have already implemented InApp purchase facility by considering both :
this tutorial
and dedicated Apple documentation
Hope this helps
You can either create a limited functionality free version and a full paid version = 2 applications in the app store.
Alternatively you can create a free app with options for user to purchase / unlock certain areas of functionality. A simple google search turns up: http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/

iPhone: How to gather Credit Card information upon swiping with device attached to it?

I want to add credit card swipe feature to my application.
What do I need to make it work?
All I need is
1. Swipe the card
2. Populate the fields on the view with the card info
3. Store that populated into database(I have an idea in this db part), which will be used for further process later.
Please help me how to start programming for this. I have card reader device. What do I need to do?
The device comes with the SDK and Full documentation. You just run the sample application that comes with SDK. If its working correctly, u can integrate the same in ur project. My device came with 2.7 SDK but that did not work for me, then I upgraded to 3.3 SDK.
3.3 SDK version working fine for me.