I am trying to recalculate the signature sent from Shopware during the App Installation (Registration).
Following the code guide on the page
use Psr\Http\Message\RequestInterface;
/** @var RequestInterface $request */
$queryString = $request->getUri()->getQuery();
$signature = hash_hmac('sha256', $queryString, $appSecret);
How do I get the $queryString
?
Here's an example using
symfony/http-foundation