Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
Tyler King edited this page May 30, 2018 · 8 revisions

As per Shopify guidelines your app (in some cases) should implement webhooks for GDPR.

This package is remaining agnostic in this issue, but follow this guide to implement an easy solution.

Webhook Creation (shop/redact)

php artisan shopify-app:make:webhook ShopRedactJob shop/redact

This will create a webhook job: App/Jobs/ShopRedactJob.

Config Entry

Modify your webhooks in config/shopify-app.php:

// ...
'webhooks' => [
    // ...
    [
        'topic' => 'shop/redact',
        'address' => 'https://some-app.com/webhook/shop-redact'
    ],
    // ...
],
// ...

That's it. You're now free to modify the webhook job and use it to delete information about the shop.

Webhook Creation (customers/redact)

php artisan shopify-app:make:webhook CustomersRedactJob customers/redact

This will create a webhook job: App/Jobs/CustomersRedactJob.

Config Entry

Modify your webhooks in config/shopify-app.php:

// ...
'webhooks' => [
    // ...
    [
        'topic' => 'customers/redact',
        'address' => 'https://some-app.com/webhook/customers-redact'
    ],
    // ...
],
// ...

That's it. You're now free to modify the webhook job and use it to delete information about customers.

Welcome to the wiki!

Please see the homepage for a list of relevant pages.

Clone this wiki locally