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.
Looks resolved now with new version 2.12.5
Got this news from official android SDK github code, person from Paypal confirmed that it is now resolved. from this
I have tested with new version 2.12.5 and problem is no more exist.