http://arty-paas-development-zxrwh.ondigitalocean.app/webhooks/stripe

WebhooksController :: webhookStripe

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\WebhooksController::webhookStripe"
_firewall_context
"security.firewall.map.context.user"
_remove_csp_headers
true
_route
"webhook_stripe"
_route_params
[]
_security_firewall_run
"_security_user"
_stopwatch_token
"d2d592"

Request Headers

Header Value
accept
"*/*; q=0.5, application/xml"
accept-encoding
"gzip, br"
cache-control
"no-cache"
cdn-loop
"cloudflare; loops=1"
content-length
"8252"
content-type
"application/json; charset=utf-8"
do-connecting-ip
"3.18.12.63"
host
"arty-paas-development-zxrwh.ondigitalocean.app"
stripe-signature
"t=1745078320,v1=750cb0520f601d349340875b45fa068dd524b6ac64ae9ef7c17517a4870f9c8e,v0=891403f04c94ade7109b63c9cca41f90babdef9d421b356c1dc1d6d769b8ea08"
user-agent
"Stripe/1.0 (+https://stripe.com/docs/webhooks)"
x-forwarded-for
"3.18.12.63,172.69.59.124"
x-forwarded-proto
"https"
x-php-ob-level
"1"

Request Content

Raw

{
  "id": "evt_1RFcqnKYY294IVX9eugeXAVU",
  "object": "event",
  "api_version": "2020-08-27",
  "created": 1745074716,
  "data": {
    "object": {
      "id": "in_1RFbuOKYY294IVX9A65p5Lqj",
      "object": "invoice",
      "account_country": "FR",
      "account_name": "Arty",
      "account_tax_ids": null,
      "amount_due": 1500,
      "amount_overpaid": 0,
      "amount_paid": 1500,
      "amount_remaining": 0,
      "amount_shipping": 0,
      "application": null,
      "application_fee_amount": null,
      "attempt_count": 1,
      "attempted": true,
      "auto_advance": false,
      "automatic_tax": {
        "disabled_reason": null,
        "enabled": false,
        "liability": null,
        "provider": null,
        "status": null
      },
      "automatically_finalizes_at": null,
      "billing_reason": "subscription_cycle",
      "charge": "ch_3RFcqkKYY294IVX90vJ6K6DG",
      "collection_method": "charge_automatically",
      "created": 1745071096,
      "currency": "eur",
      "custom_fields": null,
      "customer": "cus_Rt4bkoTO0De8VP",
      "customer_address": null,
      "customer_email": "[email protected]",
      "customer_name": "test",
      "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": 1745074712,
      "ending_balance": 0,
      "footer": "MYTY SAS – 17 boulevard des Filles du Calvaire 75003 Paris – FRANCE – 830 584 124 R.C.S. Paris – FR 88830584124",
      "from_invoice": null,
      "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1IxTTGKYY294IVX9/test_YWNjdF8xSXhUVEdLWVkyOTRJVlg5LF9TOXZsUm00VVJOeGRncjN4R1ZKejdydmEwUlh3UDBnLDEzNTYxNTUxNw0200Ede3hJHO?s=ap",
      "invoice_pdf": "https://pay.stripe.com/invoice/acct_1IxTTGKYY294IVX9/test_YWNjdF8xSXhUVEdLWVkyOTRJVlg5LF9TOXZsUm00VVJOeGRncjN4R1ZKejdydmEwUlh3UDBnLDEzNTYxNTUxNw0200Ede3hJHO/pdf?s=ap",
      "issuer": {
        "type": "self"
      },
      "last_finalization_error": null,
      "latest_revision": null,
      "lines": {
        "object": "list",
        "data": [
          {
            "id": "il_1RFbuOKYY294IVX9icIP0lij",
            "object": "line_item",
            "amount": 1500,
            "amount_excluding_tax": 1500,
            "currency": "eur",
            "description": "1 × To The Sky (at €15.00 / month)",
            "discount_amounts": [

            ],
            "discountable": true,
            "discounts": [

            ],
            "invoice": "in_1RFbuOKYY294IVX9A65p5Lqj",
            "livemode": false,
            "metadata": {
            },
            "parent": {
              "invoice_item_details": null,
              "subscription_item_details": {
                "invoice_item": null,
                "proration": false,
                "proration_details": {
                  "credited_items": null
                },
                "subscription": "sub_1QzISHKYY294IVX9AKJGUPZq",
                "subscription_item": "si_Rt4b3yLFMj70Lb"
              },
              "type": "subscription_item_details"
            },
            "period": {
              "end": 1747663069,
              "start": 1745071069
            },
            "plan": {
              "id": "price_1NcQOTKYY294IVX9Mp5vSy0l",
              "object": "plan",
              "active": true,
              "aggregate_usage": null,
              "amount": 1500,
              "amount_decimal": "1500",
              "billing_scheme": "per_unit",
              "created": 1691403033,
              "currency": "eur",
              "interval": "month",
              "interval_count": 1,
              "livemode": false,
              "metadata": {
              },
              "meter": null,
              "nickname": "No plugins",
              "product": "prod_OPEs7tKt9zspMm",
              "tiers_mode": null,
              "transform_usage": null,
              "trial_period_days": 14,
              "usage_type": "licensed"
            },
            "pretax_credit_amounts": [

            ],
            "price": {
              "id": "price_1NcQOTKYY294IVX9Mp5vSy0l",
              "object": "price",
              "active": true,
              "billing_scheme": "per_unit",
              "created": 1691403033,
              "currency": "eur",
              "custom_unit_amount": null,
              "livemode": false,
              "lookup_key": null,
              "metadata": {
              },
              "nickname": "No plugins",
              "product": "prod_OPEs7tKt9zspMm",
              "recurring": {
                "aggregate_usage": null,
                "interval": "month",
                "interval_count": 1,
                "meter": null,
                "trial_period_days": 14,
                "usage_type": "licensed"
              },
              "tax_behavior": "inclusive",
              "tiers_mode": null,
              "transform_quantity": null,
              "type": "recurring",
              "unit_amount": 1500,
              "unit_amount_decimal": "1500"
            },
            "pricing": {
              "price_details": {
                "price": "price_1NcQOTKYY294IVX9Mp5vSy0l",
                "product": "prod_OPEs7tKt9zspMm"
              },
              "type": "price_details",
              "unit_amount_decimal": "1500"
            },
            "proration": false,
            "proration_details": {
              "credited_items": null
            },
            "quantity": 1,
            "subscription": "sub_1QzISHKYY294IVX9AKJGUPZq",
            "subscription_item": "si_Rt4b3yLFMj70Lb",
            "tax_amounts": [

            ],
            "tax_rates": [

            ],
            "taxes": [

            ],
            "type": "subscription",
            "unit_amount_excluding_tax": "1500"
          }
        ],
        "has_more": false,
        "total_count": 1,
        "url": "/v1/invoices/in_1RFbuOKYY294IVX9A65p5Lqj/lines"
      },
      "livemode": false,
      "metadata": {
      },
      "next_payment_attempt": null,
      "number": "64C4F5A4-2966",
      "on_behalf_of": null,
      "paid": true,
      "paid_out_of_band": false,
      "parent": {
        "quote_details": null,
        "subscription_details": {
          "metadata": {
          },
          "subscription": "sub_1QzISHKYY294IVX9AKJGUPZq"
        },
        "type": "subscription_details"
      },
      "payment_intent": "pi_3RFcqkKYY294IVX90ZTGHIPt",
      "payment_settings": {
        "default_mandate": null,
        "payment_method_options": null,
        "payment_method_types": null
      },
      "period_end": 1745071069,
      "period_start": 1742392669,
      "post_payment_credit_notes_amount": 0,
      "pre_payment_credit_notes_amount": 0,
      "quote": null,
      "receipt_number": null,
      "rendering": {
        "amount_tax_display": null,
        "pdf": null,
        "template": null,
        "template_version": null
      },
      "rendering_options": null,
      "shipping_cost": null,
      "shipping_details": null,
      "starting_balance": 0,
      "statement_descriptor": null,
      "status": "paid",
      "status_transitions": {
        "finalized_at": 1745074712,
        "marked_uncollectible_at": null,
        "paid_at": 1745074712,
        "voided_at": null
      },
      "subscription": "sub_1QzISHKYY294IVX9AKJGUPZq",
      "subscription_details": {
        "metadata": {
        }
      },
      "subtotal": 1500,
      "subtotal_excluding_tax": 1500,
      "tax": null,
      "test_clock": null,
      "total": 1500,
      "total_discount_amounts": [

      ],
      "total_excluding_tax": 1500,
      "total_pretax_credit_amounts": [

      ],
      "total_tax_amounts": [

      ],
      "total_taxes": [

      ],
      "transfer_data": null,
      "webhooks_delivered_at": 1745071096
    }
  },
  "livemode": false,
  "pending_webhooks": 1,
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "invoice.payment_succeeded"
}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/xml; charset=UTF-8"
date
"Sat, 19 Apr 2025 15:58:40 GMT"
vary
"Accept"
x-debug-exception
"Call%20to%20a%20member%20function%20setExpiryDate%28%29%20on%20null"
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fsrc%2FController%2FWebhooksController.php:113"
x-debug-token
"5b2971"
x-debug-token-link
"http://arty-paas-development-zxrwh.ondigitalocean.app/_profiler/ff793b"
x-previous-debug-token
"ff793b"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/html/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php"
    "line" => 65
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 110
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php"
    "line" => 34
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php"
    "line" => 39
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 38
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 25
    "function" => "supports"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 70
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 117
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/html/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
(no data)

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"$ecretf0rt3st"
BASE_APP_URL
"https://arty-paas-development-zxrwh.ondigitalocean.app"
BASE_PRESENTATION_URL
"https://staging.ar-ty.com"
BUCKET_NAME
"arty-paas-development"
CDN_BASE_URL
"https://arty-paas-development.ams3.cdn.digitaloceanspaces.com"
CNB_PROCESS_TYPE
"web"
CONTENT_LENGTH
"8252"
CONTENT_TYPE
"application/json; charset=utf-8"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/public"
CONTEXT_PREFIX
""
COPILOT_API_BASE_URL
"https://development.copilot.ar-ty.com"
DATABASE_URL
"mysql://arty:AVNS_po93xVKV3mtIqORcxCL@arty-paas-development-do-user-6276092-0.b.db.ondigitalocean.com:25060/arty?ssl-mode=REQUIRED"
DOCUMENT_ROOT
"/var/www/html/public"
FB_PIXEL_ID
""
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GA_API_SECRET
"cQ7w5UDdTY6DA1A9OS6r8w"
GA_KEY
""
GA_MEASUREMENT_ID
"G-99ZSRK4KDZ"
HOME
"/"
HOSTNAME
"arty-paas-67d858898f-z8f9z"
HTTP_ACCEPT
"*/*; q=0.5, application/xml"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CACHE_CONTROL
"no-cache"
HTTP_CDN_LOOP
"cloudflare; loops=1"
HTTP_DO_CONNECTING_IP
"3.18.12.63"
HTTP_HOST
"arty-paas-development-zxrwh.ondigitalocean.app"
HTTP_STRIPE_SIGNATURE
"t=1745078320,v1=750cb0520f601d349340875b45fa068dd524b6ac64ae9ef7c17517a4870f9c8e,v0=891403f04c94ade7109b63c9cca41f90babdef9d421b356c1dc1d6d769b8ea08"
HTTP_USER_AGENT
"Stripe/1.0 (+https://stripe.com/docs/webhooks)"
HTTP_X_FORWARDED_FOR
"3.18.12.63,172.69.59.124"
HTTP_X_FORWARDED_PROTO
"https"
KUBERNETES_PORT
""
KUBERNETES_PORT_443_TCP
""
KUBERNETES_PORT_443_TCP_ADDR
""
KUBERNETES_PORT_443_TCP_PORT
""
KUBERNETES_PORT_443_TCP_PROTO
""
KUBERNETES_SERVICE_HOST
""
KUBERNETES_SERVICE_PORT
""
KUBERNETES_SERVICE_PORT_HTTPS
""
MEMCACHED_DSN
"memcached://localhost:11211"
NODE_ENV
"production"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
PORT
"8080"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REDIRECT_URL
"/webhooks/stripe"
REMOTE_ADDR
"10.244.6.123"
REMOTE_PORT
"52954"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1745078320
REQUEST_TIME_FLOAT
1745078320.5076
REQUEST_URI
"/webhooks/stripe"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SENTRY_DSN
"https://o1077906.ingest.us.sentry.io/4506978746368000"
SERVERLESS_URL
"https://serverless.ar-ty.com"
SERVER_ADDR
"10.244.8.1"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"arty-paas-development-zxrwh.ondigitalocean.app"
SERVER_PORT
"8080"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.56 (Unix)"
SG_API_KEY
"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"
SHOPIFY_PLUGIN_ID
"f2ec15e32a2e129d020e6d07372bda6e"
STRIPE_PK
"pk_test_51IxTTGKYY294IVX9pX363ulhz1bSnDVVBqcrZ4gWIxsC1jStRkbbv9EYcrCO45mCJwliE1wmsc21Qgsf95WHy0I200nLbVuGEv"
STRIPE_SK
"sk_test_51IxTTGKYY294IVX9NsqdnCVQg7ayHXCnqWvhtSz9iz01t9ydEE0tXtWfAcM7WvCqS3peM5hDF4Y61FAJyQz9rd5H00xjKmjUjD"
SUPERVISOR_ENABLED
"1"
SUPERVISOR_GROUP_NAME
"php-fpm"
SUPERVISOR_PROCESS_NAME
"php-fpm"
USER
"nobody"
WC_API_KEY
"d6593a17-9d14-42fb-86af-4826883cf0b0"
WC_API_SECRET
"KLgLOGCivvsdU()@uZ3HNecY1&3t*M5C8^F#CjfcRhwXlir&9h0IJY@yfCAA#s$1c$coe3vV$z5J)lY15c0UC#GvnwGJss#g8czc^6C!*Lhp872hY!&omxB91^pmF$Cj"
WC_API_URL
"https://sandbox.woocommerce.com/wp-json/wccom/billing/1.0"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = ff793b)

Key Value
_controller
"error_controller"
_stopwatch_token
"0f6983"
exception
Error {#938
  #message: "Call to a member function setExpiryDate() on null"
  #code: 0
  #file: "/var/www/html/src/Controller/WebhooksController.php"
  #line: 113
  trace: {
    /var/www/html/src/Controller/WebhooksController.php:113 {
      App\Controller\WebhooksController->handlePaymentIntentSucceeded($subscriptionId): void …
      › 
      › $subscription->setExpiryDate($dateTo);$em = $this->doctrine->getManager();
    }
    /var/www/html/src/Controller/WebhooksController.php:60 {
      App\Controller\WebhooksController->webhookStripe(Request $request, StripeSubscription $stripeSubscription) …
      › $invoice = $event->data->object;$this->handlePaymentIntentSucceeded($invoice->subscription);break;
    }
    /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/html/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/html/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/html/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#107 …8}