I need to integrate the capability of transferring the money through paypal from one user to another via android mobile application. I had gone through Paypal SDK and documentation on their developer website but it is little bit confusing. So, can anyone help me out with how we can implement Paypal SDK for transferring money.
That feature is not supported by the SDK at the moment. It (and the REST APIs) only support the case where the merchant/developer accepts money from the end user.
Related
I am developing an demo application to integrate Amazon Pay In android application. Is there any proper documentation for the same. Thanks in advance
For using Amazon Pay in a mobile app, I'd recommend you to create a (or re-use an existing) web-based Amazon Pay integration as described in the official documentation. For most scenarios the "One-time payments" guide will be the integration guide you want to refer to. You would simply call this web page then from the Android app (or iOS app, or whatever) and send the buyer back to the app after the payment has been completed.
As the integration is independent from Android in this scenario, you can of course use any programming language you prefer. Using PHP, Java, C# (or other .NET languages), Ruby or Python is recommended though as there are officially supported SDKs available for those.
For other "in-app" integration options, you should contact Amazon Pay directly.
I integrated this library https://github.com/paypal/PayPal-Android-SDK to my Application. Sandbox works fine, but production fails when I try to pay directly.
PayPal manual explain this reason. I can't use REST Api for direct payments in my country. But I can use Classic API.
So I registered application here https://www.paypal-apps.com/user/my-account/applications and got Sandbox ID and Live App ID.
But what next? If I use this Sandbox ID, PayPal SDK says that it's not right ID. As I understand PayPal SDK tries to use REST API automatically. But how I can use it for Classic API?
Googling this problem gets me to this page http://paypal.github.io/sdk/, but there's no Android library (Android tab exists, but useless).
How to connect Classic API by PayPal SDK?
The PayPal Android SDK (Native) is built on top of REST APIs, and does not include any classic APIs in it.
To implement classic APIs on an Android device, you may want to setup the server side SDK (in whatever programming language you prefer, and obtain server SDKs from http://paypal.github.io/sdk/), and use the webview controller in your APP to load the server pages.
PayPal will be adaptive to mobile device resolutions so that there's no extra API codings required on the APP side.
Does the new native PayPal sdk for android have the ability to pull shipping information to give to the merchant? The sample code provided on the PayPal site will process cards etc, but it appears to me that the api only provides payment confirmation. What good is this api if you don't know where to send your product?
Anyone know how to do this?
Jeff from PayPal at your service. The PayPal Android SDK does not support shipping addresses just yet. Your feedback is heard, and we plan to add the feature as soon we can!
I've referred lot of things for payment processing system to android app. It proviedes Paypal's SDK as best to do. But, i've little confusion in there for below image -
What's the difference between these two - Mobile Express Checkout Library & Mobile Payment Libraries. And, which one will i choose to do the payment processing for android app. Anyone please, explain with brief explanation please. Thanks in Advance.
I hope this will help you :
Mobile Payment Libraries (MPL): Add in-app payments by just adding a
Pay with PayPal button to your iOS or Android app. PayPal’s library
will display an in-app UI to ask the buyer to log in and complete the
payment. It's the quickest way to add payments into your app, and you
can do it without having back-end services running.
Mobile Express Checkout Library (MECL): If you want the PayPal
checkout flow to be in a browser or webview, you can use our Mobile
Express Checkout Library. This is useful if you already have a express
checkout integration completed for your website or if app store
policies require you to complete your checkout flow in a browser. This
library will help you integrate the mobile web flow into your app.
I got this information from here.
I am looking into building an android app, which holds some simple data (probably stored in sqlite). I also have a app engine app which I intend to be an online data store for the information (the app engine app is wrote in python).
The question here is, what is the best way to authenticate a user with the app and how to get the data from the android app to the Google data store?
Thanks
Mike
You could use Google Account authentication and follow this useful post about Authenticating against App Engine from an Android app
You can also give a look at the SampleSyncAdapter sample from the SDK
If you want to authenticate using OAuth, you can do that. The only trick is that you need to launch the flow in an internal WebView, because App Engine's OAuth implementation doesn't allow custom protocols in the redirect. I recommend the Signpost library. If you'd like an example, the 2cloud Android client is licensed under the MIT license (full disclosure, I'm the lead dev for 2cloud). The benefit of this is it allows you to support Android 1.5 and higher. The Accounts API is only supported starting in 2.1.
Another option is the Accounts API. #systempuntoout has good links for that, so I won't reinvent the wheel here.
Finally, it might be worth taking a look at the App Engine-powered Android Eclipse project that was demo'd at I/O this year. It makes keeping code in sync and shared between the two simple. Only downsides are it requires Android 2.2 or higher, and it requires you to write in Java on the App Engine side and GWT for the client side.