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.
9 lines
219 B
Markdown
9 lines
219 B
Markdown
# Stripe Tutorial
|
|
|
|
## Example of redirecting the webhook events to local Django endpoint
|
|
```
|
|
stripe listen --forward-to localhost:8000/api/stripe/webhook/
|
|
```
|
|
|
|
|
|
# POUŽÍVEJTE SANDBOX/TESING REŽIM PŘI DEVELOPMENTU!!! |