Showing results for 
Search instead for 
Did you mean: 

How to integrate paypal payment gateway in my android app without using braintree sdk

Posted on

I want to integrate Paypal payment in my android app. I dont want to use Braintree sdk. I tried

. 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(
at org.json.JSONTokener.nextValue(
at Source:7)
at Source:0)
at Source:21)
at Source:58)
at Source:45)
at okhttp3.internal.connection.RealCall$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
request failed with server response:


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

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.