HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/unlimited-leads/Unlimited-Leads-Be/logs/2024-12-20.log
DEBUG 2024-12-20 08:32:37,076 views Request Headers: {"Content-Length": "6431", "Content-Type": "application/json; charset=utf-8", "Host": "unlimitedleads-be.spericorn.com", "Cache-Control": "no-cache", "User-Agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", "Accept": "*/*; q=0.5, application/xml", "Stripe-Signature": "t=1734683555,v1=9ab8ae8851c883cd8961a0df55005c448f2541c5d12d758ba80ad7d8434283a9,v0=327055e498b5378f61673b4053102159869e3cd8b27e48e99462aa16221f8163", "X-Forwarded-For": "192.168.1.1", "X-Forwarded-Host": "unlimitedleads-be.spericorn.com", "X-Forwarded-Server": "unlimitedleads-be.spericorn.com"}
DEBUG 2024-12-20 08:32:37,076 views Request data: <WSGIRequest: POST '/api/payment/webhook/'>
DEBUG 2024-12-20 08:32:37,150 views invoice.created
INFO 2024-12-20 08:32:37,150 views {
  "api_version": "2024-09-30.acacia",
  "created": 1734683555,
  "data": {
    "object": {
      "account_country": "DE",
      "account_name": "stripe",
      "account_tax_ids": null,
      "amount_due": 200,
      "amount_paid": 0,
      "amount_remaining": 200,
      "amount_shipping": 0,
      "application": null,
      "application_fee_amount": null,
      "attempt_count": 0,
      "attempted": false,
      "auto_advance": true,
      "automatic_tax": {
        "disabled_reason": null,
        "enabled": false,
        "liability": null,
        "status": null
      },
      "automatically_finalizes_at": 1734942756,
      "billing_reason": "subscription_cycle",
      "charge": null,
      "collection_method": "charge_automatically",
      "created": 1734683555,
      "currency": "usd",
      "custom_fields": null,
      "customer": "cus_R5XUcy5amyEO4i",
      "customer_address": null,
      "customer_email": "qwertypoiuy@mailinator.com",
      "customer_name": "qwerty a",
      "customer_phone": null,
      "customer_shipping": null,
      "customer_tax_exempt": "none",
      "customer_tax_ids": [],
      "default_payment_method": null,
      "default_source": null,
      "default_tax_rates": [],
      "description": null,
      "discount": null,
      "discounts": [],
      "due_date": null,
      "effective_at": null,
      "ending_balance": null,
      "footer": null,
      "from_invoice": null,
      "hosted_invoice_url": null,
      "id": "in_1QY1dPGYEFDoancgqw2uStEz",
      "invoice_pdf": null,
      "issuer": {
        "type": "self"
      },
      "last_finalization_error": null,
      "latest_revision": null,
      "lines": {
        "data": [
          {
            "amount": 200,
            "amount_excluding_tax": 200,
            "currency": "usd",
            "description": "1 \u00d7 daily Subscription (at $2.00 / day)",
            "discount_amounts": [],
            "discountable": true,
            "discounts": [],
            "id": "il_1QY1dPGYEFDoancgHf9XZeDI",
            "invoice": "in_1QY1dPGYEFDoancgqw2uStEz",
            "livemode": false,
            "metadata": {},
            "object": "line_item",
            "period": {
              "end": 1734769906,
              "start": 1734683506
            },
            "plan": {
              "active": true,
              "aggregate_usage": null,
              "amount": 200,
              "amount_decimal": "200",
              "billing_scheme": "per_unit",
              "created": 1729744132,
              "currency": "usd",
              "id": "price_1QDIfIGYEFDoancgFUz3SdxB",
              "interval": "day",
              "interval_count": 1,
              "livemode": false,
              "metadata": {},
              "meter": null,
              "nickname": null,
              "object": "plan",
              "product": "prod_R5TcSIWTP9CWOw",
              "tiers_mode": null,
              "transform_usage": null,
              "trial_period_days": null,
              "usage_type": "licensed"
            },
            "pretax_credit_amounts": [],
            "price": {
              "active": true,
              "billing_scheme": "per_unit",
              "created": 1729744132,
              "currency": "usd",
              "custom_unit_amount": null,
              "id": "price_1QDIfIGYEFDoancgFUz3SdxB",
              "livemode": false,
              "lookup_key": null,
              "metadata": {},
              "nickname": null,
              "object": "price",
              "product": "prod_R5TcSIWTP9CWOw",
              "recurring": {
                "aggregate_usage": null,
                "interval": "day",
                "interval_count": 1,
                "meter": null,
                "trial_period_days": null,
                "usage_type": "licensed"
              },
              "tax_behavior": "unspecified",
              "tiers_mode": null,
              "transform_quantity": null,
              "type": "recurring",
              "unit_amount": 200,
              "unit_amount_decimal": "200"
            },
            "proration": false,
            "proration_details": {
              "credited_items": null
            },
            "quantity": 1,
            "subscription": "sub_1QDMSMGYEFDoancgTCP7wu1g",
            "subscription_item": "si_R5XXXKSJCwcqRq",
            "tax_amounts": [],
            "tax_rates": [],
            "type": "subscription",
            "unit_amount_excluding_tax": "200"
          }
        ],
        "has_more": false,
        "object": "list",
        "total_count": 1,
        "url": "/v1/invoices/in_1QY1dPGYEFDoancgqw2uStEz/lines"
      },
      "livemode": false,
      "metadata": {},
      "next_payment_attempt": 1734687155,
      "number": null,
      "object": "invoice",
      "on_behalf_of": null,
      "paid": false,
      "paid_out_of_band": false,
      "payment_intent": null,
      "payment_settings": {
        "default_mandate": null,
        "payment_method_options": null,
        "payment_method_types": null
      },
      "period_end": 1734683506,
      "period_start": 1734597106,
      "post_payment_credit_notes_amount": 0,
      "pre_payment_credit_notes_amount": 0,
      "quote": null,
      "receipt_number": null,
      "rendering": null,
      "shipping_cost": null,
      "shipping_details": null,
      "starting_balance": 0,
      "statement_descriptor": null,
      "status": "draft",
      "status_transitions": {
        "finalized_at": null,
        "marked_uncollectible_at": null,
        "paid_at": null,
        "voided_at": null
      },
      "subscription": "sub_1QDMSMGYEFDoancgTCP7wu1g",
      "subscription_details": {
        "metadata": {}
      },
      "subtotal": 200,
      "subtotal_excluding_tax": 200,
      "tax": null,
      "test_clock": null,
      "total": 200,
      "total_discount_amounts": [],
      "total_excluding_tax": 200,
      "total_pretax_credit_amounts": [],
      "total_tax_amounts": [],
      "transfer_data": null,
      "webhooks_delivered_at": null
    }
  },
  "id": "evt_1QY1dPGYEFDoancgLPy3K9A4",
  "livemode": false,
  "object": "event",
  "pending_webhooks": 1,
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "invoice.created"
}
DEBUG 2024-12-20 08:32:37,166 views Request Headers: {"Content-Length": "5564", "Content-Type": "application/json; charset=utf-8", "Host": "unlimitedleads-be.spericorn.com", "Cache-Control": "no-cache", "User-Agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", "Accept": "*/*; q=0.5, application/xml", "Stripe-Signature": "t=1734683556,v1=5fc1d67a8d74f90a6bd70c50adf2d0179014f3eed87c14008164c69e505be783,v0=d3dff228e48b55db9d0e05a2be1e06b2eedfd97111e6491dd5edccb330ebce76", "X-Forwarded-For": "192.168.1.1", "X-Forwarded-Host": "unlimitedleads-be.spericorn.com", "X-Forwarded-Server": "unlimitedleads-be.spericorn.com"}
DEBUG 2024-12-20 08:32:37,166 views Request data: <WSGIRequest: POST '/api/payment/webhook/'>
DEBUG 2024-12-20 08:32:37,168 views customer.subscription.updated
INFO 2024-12-20 08:32:37,168 views {
  "api_version": "2024-09-30.acacia",
  "created": 1734683555,
  "data": {
    "object": {
      "application": null,
      "application_fee_percent": null,
      "automatic_tax": {
        "disabled_reason": null,
        "enabled": false,
        "liability": null
      },
      "billing_cycle_anchor": 1729758706,
      "billing_cycle_anchor_config": null,
      "billing_thresholds": null,
      "cancel_at": null,
      "cancel_at_period_end": false,
      "canceled_at": null,
      "cancellation_details": {
        "comment": null,
        "feedback": null,
        "reason": null
      },
      "collection_method": "charge_automatically",
      "created": 1729758706,
      "currency": "usd",
      "current_period_end": 1734769906,
      "current_period_start": 1734683506,
      "customer": "cus_R5XUcy5amyEO4i",
      "days_until_due": null,
      "default_payment_method": null,
      "default_source": "card_1QDMSJGYEFDoancgT6cgc0uu",
      "default_tax_rates": [],
      "description": null,
      "discount": null,
      "discounts": [],
      "ended_at": null,
      "id": "sub_1QDMSMGYEFDoancgTCP7wu1g",
      "invoice_settings": {
        "account_tax_ids": null,
        "issuer": {
          "type": "self"
        }
      },
      "items": {
        "data": [
          {
            "billing_thresholds": null,
            "created": 1729758706,
            "discounts": [],
            "id": "si_R5XXXKSJCwcqRq",
            "metadata": {},
            "object": "subscription_item",
            "plan": {
              "active": true,
              "aggregate_usage": null,
              "amount": 200,
              "amount_decimal": "200",
              "billing_scheme": "per_unit",
              "created": 1729744132,
              "currency": "usd",
              "id": "price_1QDIfIGYEFDoancgFUz3SdxB",
              "interval": "day",
              "interval_count": 1,
              "livemode": false,
              "metadata": {},
              "meter": null,
              "nickname": null,
              "object": "plan",
              "product": "prod_R5TcSIWTP9CWOw",
              "tiers_mode": null,
              "transform_usage": null,
              "trial_period_days": null,
              "usage_type": "licensed"
            },
            "price": {
              "active": true,
              "billing_scheme": "per_unit",
              "created": 1729744132,
              "currency": "usd",
              "custom_unit_amount": null,
              "id": "price_1QDIfIGYEFDoancgFUz3SdxB",
              "livemode": false,
              "lookup_key": null,
              "metadata": {},
              "nickname": null,
              "object": "price",
              "product": "prod_R5TcSIWTP9CWOw",
              "recurring": {
                "aggregate_usage": null,
                "interval": "day",
                "interval_count": 1,
                "meter": null,
                "trial_period_days": null,
                "usage_type": "licensed"
              },
              "tax_behavior": "unspecified",
              "tiers_mode": null,
              "transform_quantity": null,
              "type": "recurring",
              "unit_amount": 200,
              "unit_amount_decimal": "200"
            },
            "quantity": 1,
            "subscription": "sub_1QDMSMGYEFDoancgTCP7wu1g",
            "tax_rates": []
          }
        ],
        "has_more": false,
        "object": "list",
        "total_count": 1,
        "url": "/v1/subscription_items?subscription=sub_1QDMSMGYEFDoancgTCP7wu1g"
      },
      "latest_invoice": "in_1QY1dPGYEFDoancgqw2uStEz",
      "livemode": false,
      "metadata": {},
      "next_pending_invoice_item_invoice": null,
      "object": "subscription",
      "on_behalf_of": null,
      "pause_collection": null,
      "payment_settings": {
        "payment_method_options": null,
        "payment_method_types": null,
        "save_default_payment_method": "off"
      },
      "pending_invoice_item_interval": null,
      "pending_setup_intent": null,
      "pending_update": null,
      "plan": {
        "active": true,
        "aggregate_usage": null,
        "amount": 200,
        "amount_decimal": "200",
        "billing_scheme": "per_unit",
        "created": 1729744132,
        "currency": "usd",
        "id": "price_1QDIfIGYEFDoancgFUz3SdxB",
        "interval": "day",
        "interval_count": 1,
        "livemode": false,
        "metadata": {},
        "meter": null,
        "nickname": null,
        "object": "plan",
        "product": "prod_R5TcSIWTP9CWOw",
        "tiers_mode": null,
        "transform_usage": null,
        "trial_period_days": null,
        "usage_type": "licensed"
      },
      "quantity": 1,
      "schedule": null,
      "start_date": 1729758706,
      "status": "active",
      "test_clock": null,
      "transfer_data": null,
      "trial_end": null,
      "trial_settings": {
        "end_behavior": {
          "missing_payment_method": "create_invoice"
        }
      },
      "trial_start": null
    },
    "previous_attributes": {
      "current_period_end": 1734683506,
      "current_period_start": 1734597106,
      "latest_invoice": "in_1QXf9RGYEFDoancg5yKv2MWF"
    }
  },
  "id": "evt_1QY1dPGYEFDoancgvYtIOdMo",
  "livemode": false,
  "object": "event",
  "pending_webhooks": 1,
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "customer.subscription.updated"
}