tiki-deprecated / integrations

A collection of example implementations
MIT License
1 stars 1 forks source link

Send a signed customer discount request to TIKI Shopify app backend upon Payable creation and verify its authenticity #131

Closed ricardobrg closed 1 year ago

ricardobrg commented 1 year ago

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.

ricardobrg commented 1 year ago

Waiting on tiki/integrations#122 for testing

ricardobrg commented 1 year ago

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.