Reputation: 61
I have followed PayPal Android SDK Integration from this link: https://developer.paypal.com/docs/limited-release/native-checkout/android/invoking-sdk.
I am getting this error page on reaching PayPal..
On return to app I am getting this exception from the PayPal Callbacks.
Upvotes: 6
Views: 2987
Reputation: 30359
Edit: it's no longer limited release, so this answer no longer applies
As that limited release document notes in a red box, "Important: PayPal Checkout Native SDK is a limited-release solution available only to select merchants"
If you are not one of those select merchants (and my understanding is there are very few), an error such as "invalid client_id" on reaching PayPal is expected.
Upvotes: 1
Reputation: 710
I solved this problem by adding the Return Url. The error comes when the return URL from your app doesn't match with the return URL described in your Paypal sandbox account. So, to solve it, just simply do these steps:
Upvotes: 4
Reputation: 815
I was able to solve the problem by. The problem occours when the return url from your app doesn't match with the return url described in your paypal sandbox account.
And the problem is solved.
Upvotes: 3