Add carrier field to Refund model and update Stripe views

Introduces a OneToOneField for carrier in the Refund model to support future integration and refactoring. Adds and updates TODO comments for email template usage, error handling in Stripe webhooks, and clarifies logic placement in Stripe models.
This commit is contained in:
David Bruno Vontor
2025-11-21 15:15:47 +01:00
parent 37f36b3466
commit ebab304b75
4 changed files with 12 additions and 4 deletions

View File

@@ -3,8 +3,6 @@ from django.apps import apps
# Create your models here.
#TODO: logika a interakce bude na stripu (třeba aktualizovaní objednávky na zaplacenou apod.)
from .client import StripeClient
class StripeModel(models.Model):