New to the community? Welcome! Please read our Community Rules and Guidelines
If you want to report illegal content under the EU Digital Services Act, please do so here
while creating marchant using angular js ,we are getting below error.please help me
error :
$http({
url: 'https://api.sandbox.paypal.com/v1/customer/partners/merchant-accounts',
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer ' + accessKey,
'Accept-Language': 'en_US',
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, POST, PUT',
'Access-Control-Allow-Headers': 'x-requested-with, Content-Type, origin, authorization, accept, client-security-token'
},
contentType: 'application/json',
data:inputdata
}).then(function mySuccess(response) {
var res = response.data;
}, function myError(response) {
var res1 = response.data;
});
Solved! Go to Solution.