Reputation: 1423
Hi i am developing a shopping application with payment system as Pappal in Android.
But i have problem with using sandbox.Because i can't control or enter with sandbox i am using this tutorial Paypal Android Tutorial and i couldn't.
Paypal application ID = "APP-80W284485P519543T" is my using. But i dont know how can enter with user.Can you help me about this?
Upvotes: 0
Views: 1288
Reputation: 9374
You don't need valid PayPal app id for sandbox environment. You can use any string for this field.
// The PayPal server to be used - ENV_SANDBOX, ENV_NONE or ENV_LIVE
int PAYPAL_SERVER = PayPal.ENV_SANDBOX;
Please read this document carefully. There is everything you need to know about this library.
PayPal ppObj = PayPal.initWithAppID(this.getBaseContext(), "APP-
80W284485P519543T", PayPal.ENV_SANDBOX);
If you need user - you should register at developer.paypal.com and create several test users.
Upvotes: 1