title: How to generate signature in Shopee 2.0 API request authentication?
body: <p>I'm trying to get shop details thru <a href="https://partner.uat.shopeemobile.com/api/v2/shop/get" rel="nofollow noreferrer">https://partner.uat.shopeemobile.com/api/v2/shop/get</a></p>
  <p>I tried this in php</p>
  <pre><code>$timestamp = time();
  $partner_key = 123456;
  $path = '/api/v2/shop/get';
  $access_token = 'token...';
  $shop_id = 22222;
  $base_string = $partner_key . $path . $timestamp . $access_token . $shop_id;
  $secret_key = 'secret...';
  
  $sign = hash_hmac('sha256', $base_string, $secret_key);
  </code></pre>
  <p>but the response returned is wrong_sign.</p>
  <p>I'm not sure if the path is correct. But that is what I understood in their documentation. <a href="https://open.shopee.com/documents?module=63&amp;type=2&amp;id=56" rel="nofollow noreferrer">https://open.shopee.com/documents?module=63&amp;type=2&amp;id=56</a></p>