How can I resolve a mandatory webhooks error in my marketplace app?

How can I resolve a mandatory webhooks error in my marketplace app?

furqan3
Visitor
2 0 1

Hi,

I deployed the application on marketplace for review but due to 1 issue my app has been rejected & the reason was in screen shot below:

Screenshot_3.png

I configure their mandatory webhooks on my node application now what else I have to do to get rid out of this error and to be able to re-deploy the application.

 

My NodeJs Code for this specific URL:

app.post("/webhooks/shop/redact", hmacVerify, async (ctx) => {

    try {
      const { res } = ctx;
      console.log("deleting shop data");

      return res?.status(200).send();
    } catch (error) {
      console.log(`Failed to process webhook: ${error}`);
    }
  });

@Parcel_Intellig 

Thanks 

Replies 3 (3)

oscprofessional
Shopify Partner
16343 2438 3177

Hello @furqan3 
Looking you only one (shop redact) mandatory handle. you need to handle another mandatory hooks.

e.g. customer redact, customer data request


Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...
furqan3
Visitor
2 0 1

I already had done with all three mandatory webhooks but this issue was coming from the code and I have done with myself to fix it on NodeJS.

 

Thank you @oscprofessional,

 Best Regards.

flareAI
Shopify Partner
2405 224 549

Hello @furqan3,


I'm Gina - Product Manager at flareAI. flareAI has helped Shopify stores generating $5+ million in sales from Google Search, on autopilot.

 

If it's helpful to you, please let me know by giving it a like or marking it as a solution.

 

I would suggest to make sure your webhooks are working fine. There are three mandatory webhooks: customers/data_request , customers/redact, shop/redact.

 

You can go through this documentation and test all webhooks your app is using and make sure it works well. Also, make sure your app url's host is invalid.

 

If there is no issues with the Webhook, you can ask the person who does the app review to help you to recreate the issue or more details on how he got this issue.


I hope that the above list's tips will help you solve your query

 

Gina
flareAI

flareAI : Get Sales from Google Search, on Autopilot
$10+ billion in eCommerce on Google Search, every day. Find out how much you are missing