Bigcommerce API PHP [Error: "You need to sign in or sign up before continuing."] -
Bigcommerce API PHP [Error: "You need to sign in or sign up before continuing."] -
can help code has error , i've been solving quite time now. error display "you need sign in or sign before continuing." there there encounter same problem?
$tokenurl = "https://login.bigcommerce.com/oauth2/token"; $connection = new connection(); $connection->setcipher('rc4-sha'); $connection->verifypeer(false); $response = $connection->post($tokenurl, array( "client_id" => "", "client_secret" => "", "redirect_uri" => "http://youurl.com", "grant_type" => "authorization_code", "code" => $_get["code"], "scope" => $_get["scope"], "context" => $_get["context"] )); echo '<pre>'; print_r($connection); print_r($response); echo '</pre>'
php bigcommerce
Comments
Post a Comment