Code Monkey home page Code Monkey logo

Comments (13)

josharian avatar josharian commented on July 17, 2024

Does the card.io based SDK work with front facing cameras (Nexus 7)?

It does not right now, no. Our user testing suggested that this was very awkward.

I'll let someone else weigh in on the rest of your question.

from paypal-android-sdk.

burnto avatar burnto commented on July 17, 2024

It sounds like neither fits your needs.

The Android SDK (this repo) is really only designed for one user per device. As far as your use case is concerned, the limitation is that if the user logs in with PayPal once, that user remains logged into PayPal on subsequent uses of that app unless she explicitly logs out. Similarly, if the user pays with a credit card in the app, she can pay later within that same app with that same stored card information. We don't currently support a developer option to suppress this feature.

from paypal-android-sdk.

ffaridi1 avatar ffaridi1 commented on July 17, 2024

Thanks for the reply !
Do you guys suggest me what could be the best solution for my Kiosk ?
Just a brief use case of my application is below
Donor (Scans Credit Card) -> Android App <-> Paypal (card.io)
..................................................|
.................................................V
...........................................Web Server
Do you mean that if a Donor scans CC in my App and leave, the next Donor will some how re-use previous CC ?

from paypal-android-sdk.

ffaridi1 avatar ffaridi1 commented on July 17, 2024

One quick addition:
If I create a user in my paypal profile which can only accept payments and if I log in to this user from my application and keep it logged in, can't this full fill my need and cover the kiosk use case?

from paypal-android-sdk.

burnto avatar burnto commented on July 17, 2024

HI @ffaridi1

Do you guys suggest me what could be the best solution for my Kiosk ?

At the moment, your use case isn't well covered by our drop-in tools! I've noted the limitation in our SDK, and we'll discuss internally.

What I'd suggest right now is that you integrate card.io (which is very quick) to provide UI for obtaining the user's credit card info, and then use the PayPal REST API directly from your app.

Do you mean that if a Donor scans CC in my App and leave, the next Donor will some how re-use previous CC ?

Yes, that's correct.

If I create a user in my paypal profile which can only accept payments and if I log in to this user from my application and keep it logged in, can't this full fill my need and cover the kiosk use case?

This doesn't address the basic issue outlined above. In the mobile SDKs, the logged in user is the payer, not the payee.

from paypal-android-sdk.

ffaridi1 avatar ffaridi1 commented on July 17, 2024

This is quite different than the Paypal "Here" application where payer does not have to log in to swipe his/her card.
This will be a big issue to lot's of developers as normally the Payer is not supposed to have a paypal ID to make a payment (not even in web based paypal standard API structure) .

Just so we are on the same page , I am all referring to this SDK:
https://www.paypal-forward.com/innovation/paypal-launches-android-sdk-for-developers/

Please confirm.
Really appreciate the responses !!!

from paypal-android-sdk.

ffaridi1 avatar ffaridi1 commented on July 17, 2024

My whole assumption was based on this tutorial from paypal developers website:
https://developer.paypal.com/webapps/developer/docs/integration/mobile/android-integration-guide/
"
How it works
The PayPal Android SDK…
Takes care of the UI to gather payment information from the user.
Coordinates payment with PayPal.
Returns to you a proof of payment.
Your code…
Receives proof of payment from the PayPal Android SDK.
Sends proof of payment to your servers for verification.
Provides the user their goods or services."

from paypal-android-sdk.

burnto avatar burnto commented on July 17, 2024

That flow is correct. The customer does not have to log in to use a credit card.

from paypal-android-sdk.

ffaridi1 avatar ffaridi1 commented on July 17, 2024

In that case, if my Application is running on kiosk and I have entered my paypal credentials in my application, it could do what I want it to do , (i.e. get CC info of payer, authenticate from paypal , notify my app , and then my app will take care of rest of the stuff) .

from paypal-android-sdk.

burnto avatar burnto commented on July 17, 2024

Yes, but there is no option in our SDK to disable PayPal as a customer payment method, nor is there an option to disable reuse of customer payment credentials. For these reasons, the SDK will not work for your use case. But rather than continue to discuss here ad nauseum, you're welcome to give it a try and see for yourself. It should only take a few minutes for you to download the SDK, review the API, and run the sample app.

from paypal-android-sdk.

ffaridi1 avatar ffaridi1 commented on July 17, 2024

Hi,
I have done all sort of research and experiments and I am back to what you have suggested (i.e. get CC info using card.io and then REST APIs to send them to Paypal).
Could you please provide some guidance on how to integrate REST APIs in android I did download jar file from MVN
http://mvnrepository.com/artifact/com.paypal.sdk/rest-api-sdk/0.6.0
but when I try to use the API calls some class definitions (e.g. Links.class) are completely missing from library ?

Is there a working example available which I could use as a reference?

from paypal-android-sdk.

burnto avatar burnto commented on July 17, 2024

@ffaridi1: The other SDKs are outside our area of expertise, but @prannamalai and team may have some advice over at https://github.com/paypal/rest-api-sdk-java (and do check out the readme). Hope this helps.

from paypal-android-sdk.

tomwhipple avatar tomwhipple commented on July 17, 2024

This SDK is not designed to be used in a kiosk as the security concerns for that application are quite different.

Please note that implementing a kiosk without prior approval by PayPal could cause your account and those of all prior users of the kiosk to be locked.

from paypal-android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.