cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Who Me Too'd this topic

Options
issacpeter
Contributor
Posted on

I want to integrate Paypal payment in my android app. I dont want to use Braintree sdk. I tried https://github.com/paypal/PayPal-Android-SDK

. The paypal login page is showing. But i cant login. The sdk is giving to below error.


E/paypal.sdk: request failure with http statusCode:404,exception:
E/paypal.sdk: Exception parsing server response
org.json.JSONException: End of input at character 0 of
at org.json.JSONTokener.syntaxError(JSONTokener.java:460)
at org.json.JSONTokener.nextValue(JSONTokener.java:101)
at com.paypal.android.sdk.cw.m(Unknown Source:7)
at com.paypal.android.sdk.fm.d(Unknown Source:0)
at com.paypal.android.sdk.ci.a(Unknown Source:21)
at com.paypal.android.sdk.cm.a(Unknown Source:58)
at com.paypal.android.sdk.cq.onResponse(Unknown Source:45)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
request failed with server response:
E/paypal.sdk: INTERNAL_SERVER_ERROR

 

How to proceed with this paypal sdk? Or is there any alternative way (not braintree) to integrate paypal sdk in android?

Who Me Too'd this topic