-
-
Notifications
You must be signed in to change notification settings - Fork 375
GDPR
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.
php artisan shopify-app:make:webhook ShopRedactJob shop/redact
This will create a webhook job: App/Jobs/ShopRedactJob
.
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.
php artisan shopify-app:make:webhook CustomersRedactJob customers/redact
This will create a webhook job: App/Jobs/CustomersRedactJob
.
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.
road map
Welcome to the wiki!
Please see the homepage for a list of relevant pages.