I am working on integrating Paypal
payment with my android app.
This is my Paypal
configuration code :
private static PayPalConfiguration config = new PayPalConfiguration()
.environment(CONFIG_ENVIRONMENT)
.clientId(CONFIG_CLIENT_ID)
// The following are only used in PayPalFuturePaymentActivity.
.merchantName("Integration Demo")
.merchantPrivacyPolicyUri(Uri.parse(""))
.merchantUserAgreementUri(Uri.parse("https://www.paypal.com/webapps/mpp/ua/useragreement-full"))
.rememberUser(true);
and here i am calling PayPalService
:
Intent intent = new Intent(this, PayPalService.class);
intent.putExtra(PayPalService.EXTRA_PAYPAL_CONFIGURATION, config);
startService(intent);
But i am getting following error :
01-11 11:49:19.788 31868-8284/com.packagename E/paypal.sdk: request failed with server response:shutdown
01-11 11:49:19.803 31868-31868/com.packagename E/paypal.sdk: SERVER_COMMUNICATION_ERROR
I have gone through this, but no helps till now.