Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • PayPal Integration in Android

    • 0
    • 0
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 564
    Comment on it

    PayPal Integration :

    I am introducing step by step points for integrating paypal into your application with understanding of different terms used in programing.


    1. Creating developer account in paypal :

    a. For development purpose we need to create developer account of paypal or if one have real account then you should use it as well. First login / sign up on Paypal account. Your account will help you to create multiple testing accounts.

    Non US citizen can create account using any address of USA.

    b. Login and then confirm your email-id.

    c.Go to Application - SandBox Accounts - Create Acoount. Then you can create both personal and business account here and these are your payment account.

    And you dont need to enter your credit card details.

    d. Now you can use your account in different applications that you will develop.

    Application - My Apps - Create Application


    1. Set PayPal Environment on your application.

      Download PayPal Sdk from here https://github.com/paypal/PayPal-Android-SDK. Copy jar and code for start up from it and import on your project.


    There are following things that you have to handle on PayPal Integration.


    1.ENVIRONMENT : This is the paypal environment that you will run your applications. Three options for this::

    a. ENVIRONMENT_SANDBOX : For using credentials from developing account we use this.Its for testing purpose.

    b. ENVIRONMENT_NO_NETWORK: Test without PayPal server.

    c. ENVIRONMENT_PRODUCTION : For production. When we change your app test to live.

    1. CLIENT ID: Its the is that you get from your app that we created on developer account.


    3.RECEIVER_EMAIL : Its the account used to get the amount for testing.

    Now you can text your application, and use SandBox Test account that you created earlier.

 1 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: