Files
fotospiel-app/docs/changes/2025-11-08-coupon-ops.md

823 B

Coupon Ops Enhancements (2025-11-08)

Summary

  • Added CouponRedemptionService + Paddle webhook hooks so successful/failed redemptions are logged and counted.
  • Exposed /api/v1/marketing/coupons/preview with per-IP rate limiting, structured logging, and localized responses.
  • Marketing funnel + checkout wizard auto-prefill coupons from ?coupon= links and persist selections through Paddle checkout.
  • Super Admin dashboard now shows a "Coupon performance (30d)" widget with recent usage + discount totals.
  • New artisan command php artisan coupons:export exports the last N days of redemptions to CSV for finance/reporting.

Follow-ups

  • Wire coupon analytics into the Matomo dashboard once new segments are defined.
  • Expand fraud tooling with IP/device reputation once we roll out the affiliate program.