What does it do?

Installing the Shopify webhook receiver allows the use of the following CrowdHandler ShopifyJS features. 

- Shopify -> CrowdHandler stock syncing. 
- Destroys sessions on checkout. 
- Automatic cancellation of orders considered fraudulent with optional automatic refunding or payment authorization reversal.  
Personally Identifiable Information (PII)

Both the automatic destroy session on checkout and automatic order cancellation feature require CrowdHandler to handle PII. This information is handled on receipt of the Order Creation webhook notification from Shopify and is then immediately discarded. 

I don't want to send PII to CrowdHandler

- Option 1

Skip this step. 

- Option 2

Install the Shopify webhook receiever but do not send PII to CrowdHandler. This will allow the use of the Shopify -> CrowdHandler stock syncing feature only. 

- On step 5 select the read_products permission only. 

- Skip steps 8 - 11

- On step 12 enter this dummy Shopify Webhook Signature 4f7ad17cb44da0f0791b32109b10fdcab0d221f0571bc1bf395e11d5177324e1 alongside your Shopify Access Token obtained during step 7.

- An alternative method of destroying sessions on checkout can be found here.
  1. Navigate to the Apps and sales channels screen in your Shopify settings then hit the Develop apps button.

  2. Hit Create an app.
  3. Name the app CrowdHandler then create the app.
  4. Hit the Configure Admin API scopes button.

  5. Find and select the read_products (required for stock syncing), read_orders and write_orders (required for checkout post-processing) permissions then hit save.
  6. Go back to the overview screen and hit Install app.
  7. Reveal your token and take note of it. The token format will begin shpat_
  8. Navigate back to the CrowdHandler control panel. Copy the Webhook URL displayed on the ShopifyJS deployment screen for the domain you are configuring.



  9. Navigate back to Shopify and go to the webhooks screen. You can find this by going to Notifications -> Webhooks. Configure two webhooks as shown in the screenshots below, ensuring that you replace the placeholder URL with your real webhook URL that you copied from the CrowdHandler control panel in step 8.

    Order Creation

  10. Once saved, a webhook signature will be revealed.
  11. Make note of the signature and navigate back to the CrowdHandler control panel.
  12. Enter your Shopify Access Token (step 7) and Shopify Webhook Signature (step 11) then hit install.
  13. If successful the webhook will be flagged as active.

  14. You can now move on to step 2b. Configure Anti-Cheat & Stock Syncing