PayPal ClassicAPI SDK for Android - android

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.

Related

Amazon Pay Integration in Android

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.

Native app (ios/android) autentication using ADFS

I basically want to want to authenticate with ADFS as an external identity provider in a native ios/android app. Preferably with a seamless login experience, but that may be asking to much.
The setup that I want is pretty much the one described here except that I moved the identity stuff to an STS project. The ios and android apps are accessing the web api.
I also used this pluralsight course.
Now I "just" need a way to use the credentials received from the mobile app to issue an access token.
I need to know if I am on the right path. I am using:
IdentityServer3.
Oauth2 and OpenID Connect. (using password grant)
The solution has to work on adfs 3.0.
NET 4.6 web api and mvc solutions running in azure.
I have been looking at the ADAL.NET project, but that seems to be primarily for Xamarin and I already have the ios and android developed natively.
Questions:
What is the best approach going forward?
Are there any (perhaps new) technologies that i am completely
missing?
Your basic problem is that with ADFS 3.0, there is no OpenID Connect support and very limited OAuth support - basically just auth. code grant for web API.
Much along these lines.
If you want the full stack (ala what you have with idsrv3), you need ADFS 4.0.
You could federate idsrv3 with ADFS using WS-Fed for the final hop.

Transfer Money through Paypal Android SDK

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.

integrate rest-api-sdk-php of paypal to an android app

I want to intagrate paypal into my android app, for that, I have integrate the paypal android sdk, but it doesn't fit to all my needs, because I need to custome langage and alert and so on
for that I am wondering if I can integrate the resp api sdk php of paypal into my android app and create my own view in android and communicate directly with my php server which in turn will communicate with paypal server
here is the php rest api here
what yould you advise me
thank you in advance
What is it that the PayPal Android SDK does not do for you, and/or what language do you need that we do not support? We have a pretty extensive set of languages for you to localize with.

Looking to build a Android App, which syncs to App Engine datastore (python)

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.

Categories

Resources