Unable to test mandatory GDPR webhooks

Solved

Problem
I'm trying to setup the GDPR webooks on my app but I'm not receiving anything when clicking on "View Customer Data" or "Erase Personal Data":

customer-privacy.jpg

Overview

1. I have the following endpoint in my app's API:

  router.post("/webhooks/customers/data_request", async (ctx, next) => {
    console.log("(test) webook POST request: ", ctx);
  });

 For testing purposes I have added only one.

2. I have added it to my app's dashboard:

data-request.jpg

3. Now when I try to request it via Customers > View Customer Data I don't receive anything. It works on Postman, though.

Can anyone tell me what I'm doing wrong here, please?
Am I not supposed to receive an immediate webhook when the user requests to view their data?
Does it apply exclusively for apps that have orders or customers added  to their scope as per mentioned in the documentation?

cust.jpg

If so, why all apps are required to have these webhooks' endpoints?

Thank you.

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Using a free theme? Improve it with copy/paste code snippets clicking here.
◦ Looking to hire an experienced developer? Same day response: ezfycode@gmail.com.
0 Likes

@HunkyBill @Parcel_Intellig @Joel-Reeds 

Gentlemen, would you happen to have any information about this? 

Thank you very much in advance!

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Using a free theme? Improve it with copy/paste code snippets clicking here.
◦ Looking to hire an experienced developer? Same day response: ezfycode@gmail.com.
0 Likes
Parcel_Intellig
Shopify Partner
68 1 33

This is an accepted solution.

Hi @diego_ezfy 

Confirming you should receive an immediate webhook, although my observations are sometimes webhooks don't fire immediately, as per the docos i don't think they are guaranteed to be delivered immediately or in order either.

Also, yes it appears only the apps which has access to the orders scope will have the request.

Thanks

Min

Understood.

Thank you very much for your time and reply, @Parcel_Intellig , I appreciate it!

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Using a free theme? Improve it with copy/paste code snippets clicking here.
◦ Looking to hire an experienced developer? Same day response: ezfycode@gmail.com.
0 Likes