skip to Main Content

shopify hmac verification php

This is my code : function verifyRequest($request, $secret) { // Per the Shopify docs: // Everything except hmac and signature... $hmac = $request['hmac']; unset($request['hmac']); unset($request['signature']); // Sorted lexilogically... ksort($request); // Special characters replaced... foreach ($request as $k => $val) {…

VIEW QUESTION
Back To Top
Search