# Generated migration to add webhook fields to PaymentMethodConfig

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('billing', '0012_add_payment_fk_to_credit_transaction'),
    ]

    operations = [
        # Add webhook configuration fields
        migrations.AddField(
            model_name='paymentmethodconfig',
            name='webhook_url',
            field=models.URLField(
                blank=True,
                help_text='Webhook URL for payment gateway callbacks (Stripe/PayPal)'
            ),
        ),
        migrations.AddField(
            model_name='paymentmethodconfig',
            name='webhook_secret',
            field=models.CharField(
                max_length=255,
                blank=True,
                help_text='Webhook secret for signature verification'
            ),
        ),
        migrations.AddField(
            model_name='paymentmethodconfig',
            name='api_key',
            field=models.CharField(
                max_length=255,
                blank=True,
                help_text='API key for payment gateway integration'
            ),
        ),
        migrations.AddField(
            model_name='paymentmethodconfig',
            name='api_secret',
            field=models.CharField(
                max_length=255,
                blank=True,
                help_text='API secret for payment gateway integration'
            ),
        ),
    ]
