Mandatory GDPR webhook - advice on implementation

Nikita92
Visitor
1 0 0

Dear Community, 

 

I'm developing an embedded app with Node.js and React (using boilerplate code generated by Shopify CLI). 

 

The problem is that when I want to test my GDPR webhooks implementation  by hitting Request customer data button in the test store, I don't see 'CUSTOMER DATA REQUEST' in the console, so it seems something is wrong with routing. 

 

Could you advice on the correct implementation, please?

 

Thank you!

 

My implementation:

 

1) index.js:

path.png

 

1) gdpr.js:

handler.png

 

2) shopify.js:

shopify-node.png

 

2) App settings in Partner's dashboard:

shopify.png

 

Replies 0 (0)