خرید بک لینک

Vote count: 0

Profile Sharing Server-Side Integration (PayPal-iOS-SDK)

Retrieve Customer Information Using a Valid Access Token. but it is not working (customer Information not fetch what is issue in my code. if any idea and code please help me )

$access_token = "A103.9RZJFEa4fW5sQOX6DFsfTTH1tCPV_Om-icjqwrzzi2e1n7Jd_iFYBkrCCK_2ENsg.W5-JERJfcL6VphiZEbjeOLA-IAe";

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.paypal.com/v1/identity/openidcoect/userinfo/?schema=openid");
curl_setopt($ch, CURLOPT_HEADER, "Content-Type:application/json");
curl_setopt($ch, CURLOPT_HEADER, "Authorization: Bearer ".$access_token);

$result1 = curl_exec($ch);

curl_close($ch);
print_r($result1);die;

asked 1 min ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 12 اسفند 1394 ساعت: 13:03

صفحه بندی