simpleshop_theme/lib/simpleshop_theme_web/controllers
jamey a9c15ea6ae feat: add Printify webhook endpoint for real-time product updates
- Add /webhooks/printify endpoint with HMAC-SHA256 signature verification
- Add Webhooks context to handle product:updated, product:deleted events
- Add ProductDeleteWorker for async product deletion
- Add webhook API methods to Printify client (create, list, delete)
- Add register_webhooks/2 to Printify provider
- Add mix register_webhooks task for one-time webhook registration
- Cache raw request body in endpoint for signature verification

Usage:
1. Generate webhook secret: openssl rand -hex 20
2. Add to provider connection config as "webhook_secret"
3. Register with Printify: mix register_webhooks https://yourshop.com/webhooks/printify

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 22:41:15 +00:00
..
page_html mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
admin_controller.ex perf: self-host fonts and add /admin route 2026-01-20 22:54:07 +00:00
error_html.ex chore: apply mix format to codebase 2026-01-31 14:24:58 +00:00
error_json.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
error_preview_controller.ex feat: add Cart page and themed error pages 2026-01-17 22:29:45 +00:00
image_controller.ex feat: enhance image optimization with on-demand JPEG fallbacks 2026-01-25 00:33:09 +00:00
page_controller.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
page_html.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
user_session_controller.ex mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
webhook_controller.ex feat: add Printify webhook endpoint for real-time product updates 2026-01-31 22:41:15 +00:00