Code Monkey home page Code Monkey logo

Comments (3)

braebot avatar braebot commented on August 16, 2024

Hi @SviMobileElmec, sorry to hear about your troubles logging in. Are you using your sandbox credentials? Sandbox and Live do not have synced accounts, for obvious reasons. To set your sandbox credentials, navigate to the link provided in the following snapshot:

screenshot 2013-10-15 10 11 04

Log in with PayPal is a separate feature, not currently available on the MSDKs, so please ignore that section on the developer website.

Lastly, the REST API problem is most likely is caused by an incorrect header. Please see the Authentication & Headers section of the REST API docs for more information.

from paypal-android-sdk.

SviMobileElmec avatar SviMobileElmec commented on August 16, 2024

Hi @braebot ,
thank you for suggesting me to create sandbox accounts. Doing this, i can login correctly in my testing app!!!
It was my misunderstanding thinking that you can login with a real account in the sandbox environment.

For the last problem, i have to pass trough the headers the secret token, i suppose.
So, to get this token, i have to login with a REST call to my sandbox business account, right?

from paypal-android-sdk.

braebot avatar braebot commented on August 16, 2024

Great! Your client id and secret are found in the Rest API Credentials section of your app on developer.paypal.com. Your sandbox and live credentials are different, so double check each time you make changes to your app.

For the time being, you can use the REST API to verify credit card transactions only, while you must use the Adaptive Payments API to verify PayPal payments. See verify your mobile payment for more details. Also, be sure you're verifying the payment on your server, and not on your device.

Since it sounds like you just need to complete the integration, I'm going to close out this issue. Thanks!

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.