feat: refunds, failed and pending payments work

This commit is contained in:
2026-05-20 20:27:32 +02:00
parent 3338a1d3e7
commit ffc53f1b54
5 changed files with 636 additions and 59 deletions

View File

@@ -0,0 +1,23 @@
# Generated by Django 6.0.4 on 2026-05-20 17:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('purchase', '0008_remove_purchasableproduct_stripe_payment_url'),
]
operations = [
migrations.AddField(
model_name='coursepurchase',
name='stripe_charge_id',
field=models.CharField(blank=True, max_length=255, null=True),
),
migrations.AddField(
model_name='coursepurchase',
name='stripe_payment_intent_id',
field=models.CharField(blank=True, max_length=255, null=True),
),
]