Paypal Java script integration
问题 Want to integrate Paypal with my mobile web application. I tried to get the access token using client id and secret id but unable to get the access token. Below is the sample Ajax call with I am making to retrieve the access token. function getAccessToken(){ $.ajax({ url:"https://api.sandbox.paypal.com/v1/oauth2/token/", type:"POST", data : {"grant_type":"client_credentials"}, beforeSend: function (request) { request.setRequestHeader("Accept", "application/json"); request.setRequestHeader(