Ravi Rupareliya Ravi Rupareliya -4 years ago 119
Android Question


I am working on integrating

payment with my android app.

This is my
configuration code :

private static PayPalConfiguration config = new PayPalConfiguration()
// The following are only used in PayPalFuturePaymentActivity.
.merchantName("Integration Demo")

and here i am calling

Intent intent = new Intent(this, PayPalService.class);
intent.putExtra(PayPalService.EXTRA_PAYPAL_CONFIGURATION, config);

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.

enter image description here

Answer Source

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 updated the okhttp version to latest stable release in v2.12.5. Can you please update to latest version and confirm if you are now not getting this exception.

I was hardly able to reproduce this issue on any device, and so, would need your help fixing this issue. I will keep an eye on this issue promptly, and get it sorted out soon :+1:

Thanks for helping all !

I have tested with new version 2.12.5 and problem is no more exist.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download