Reputation: 941
I have integrated PayPal SDK in my android app and done transaction successfully in sandbox environment.Now the second step mentioned in docs is verification . I tried to hit rest Api with payment id in browser but it dint give me any response . So please tell me the proper way of verification .Here is the link I have followed
Also I have got client secret key but dont know where to use it . Will it be needed in verification process ?
Upvotes: 0
Views: 84
Reputation: 1081
Yes, you will need your ClientID and Secret to generate an Access Token that will then be used in subsequent Payment Lookup call. More information on creating the Access Token can be found here under step 2 of Getting an Access Token. That Access Token is then used in the payment lookup API call that you see on the Verify Mobile Payment link you provided in your question. More information/samples of a RESTful Payment Lookup call can be found here as well.
Upvotes: 1