Closed ricardobrg closed 1 year ago
Waiting on tiki/integrations#122 for testing
The JS code and the backend functions are done.
The calls could not be tested because Shopify is blocking the fetch to 3rd parties. It will be handled in tiki/tiki-shopify#9.
As a developer I need to verify the authenticity of a customer discount creation request in the TIKI Shopify app backend so that fake requests are not accepted.
Use the TIKI SDK JS to sign the request in the embedded app block in the frontend and verify this request in the /customer/discount endpoint.