php - BigCommerce Webhook Not Triggering -


i created webhook in bigcommerce using following code:

use bigcommerce\api\connection;  $connection = new connection();  $connection->setcipher('rc4-sha'); $connection->verifypeer(false); $connection->addheader('x-auth-client', $clientid); $connection->addheader('x-auth-token', $token);  $response = $connection->post('https://api.bigcommerce.com/stores/' . $hash . '/v2/hooks', json_encode(array(     'scope'=>'store/order/created',     'destination'=>'https://bigcommerce.example.com/order' ))); 

i got response following:

stdclass object (     [id] => 568     [client_id] => lms4gxejy2xw2bia7w30v3bal1sz5yz     [store_hash] => xxxxxx     [scope] => store/order/created     [destination] => https://bigcommerce.example.com/order     [headers] =>      [is_active] => 1     [created_at] => 1403762563     [updated_at] => 1403762563 ) 

however, never got callbacks https://bigcommerce.example.com/order bigcommerce whenever order placed. website having valid ssl. ideas?

clientid & clientsecret?

i assume using standard (now old) authentication , not using oauth integration? oauth required webhooks (see documentation).

i know have https need valid cert trusted ca. (only mentioned commonly issue)


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -