Actualizacion la compra con logs logs correspondientes

This commit is contained in:
adevopg
2025-02-18 11:11:47 +01:00
parent 162f4bf828
commit e94915e667
19 changed files with 321 additions and 87 deletions
+30
View File
@@ -0,0 +1,30 @@
# Generated by Django 5.1.4 on 2025-02-16 18:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('home', '0008_category_remove_storecategory_parent_category_and_more'),
]
operations = [
migrations.CreateModel(
name='StripeLog',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('account_id', models.IntegerField()),
('username', models.CharField(max_length=100)),
('email', models.EmailField(max_length=254)),
('acore_ip', models.GenericIPAddressField()),
('stripe_ip', models.GenericIPAddressField(blank=True, null=True)),
('product_name', models.TextField()),
('amount', models.DecimalField(decimal_places=2, max_digits=10)),
('session_id', models.CharField(max_length=255)),
('mode', models.CharField(choices=[('test', 'Test'), ('live', 'Live')], max_length=10)),
('character_name', models.CharField(max_length=100)),
('timestamp', models.DateTimeField(auto_now_add=True)),
],
),
]