Refactored commerce models to support refunds, invoices, and improved carrier/payment logic. Added new serializers and viewsets for products, categories, images, discount codes, and refunds. Introduced Stripe client integration and removed legacy Stripe admin/model code. Updated Dockerfile for PDF generation dependencies. Removed obsolete migration files and updated configuration app initialization. Added invoice template and tasks for order cleanup.
219 B
219 B
Stripe Tutorial
Example of redirecting the webhook events to local Django endpoint
stripe listen --forward-to localhost:8000/api/stripe/webhook/