http://dev.api.digidom.pro/webhook/stripe?q=%2Fwebhook%2Fstripe

StripeController :: webhook

Request

GET Parameters

Key Value
q
"/webhook/stripe"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Webhook\StripeController::webhook"
_firewall_context
"security.firewall.map.context.main"
_links
Symfony\Component\WebLink\GenericLinkProvider {#2309
  -links: [
    2310 => Symfony\Component\WebLink\Link {#2310
      -href: "http://dev.api.digidom.pro/v1/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_route
"app_webhook_stripe"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"7b23a6"

Request Headers

Header Value
accept
"*/*; q=0.5, application/xml"
cache-control
"no-cache"
content-length
"2608"
content-type
"application/json; charset=utf-8"
host
"dev.api.digidom.pro"
stripe-signature
"t=1728890612,v1=389168665d1e15a41e2d72db0b9a3aa38ef46a5fe4ee5d8bbd246d665d6f59d9,v0=7f5055f1c2835c8a5a63574666771c195b49f518984b666d7e4b0a4750b0d3ee"
user-agent
"Stripe/1.0 (+https://stripe.com/docs/webhooks)"
x-amzn-trace-id
"Root=1-670cc6f4-660fce870758ae3129de7e1b"
x-forwarded-for
"54.187.205.235"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-php-ob-level
"1"

Request Content

Raw

{
  "id": "evt_3Q9icpFc7W56lMnF0WnwwsGE",
  "object": "event",
  "api_version": "2018-02-28",
  "created": 1728890611,
  "data": {
    "object": {
      "id": "pi_3Q9icpFc7W56lMnF0q78DBaw",
      "object": "payment_intent",
      "allowed_source_types": [
        "card"
      ],
      "amount": 46080,
      "amount_capturable": 0,
      "amount_details": {
        "tip": {
        }
      },
      "amount_received": 0,
      "application": null,
      "application_fee_amount": null,
      "automatic_payment_methods": {
        "enabled": false
      },
      "canceled_at": null,
      "cancellation_reason": null,
      "capture_method": "automatic_async",
      "charges": {
        "object": "list",
        "data": [

        ],
        "has_more": false,
        "total_count": 0,
        "url": "/v1/charges?payment_intent=pi_3Q9icpFc7W56lMnF0q78DBaw"
      },
      "client_secret": "pi_3Q9icpFc7W56lMnF0q78DBaw_secret_QOPtDMACxn3H2Na6wr9uoSP17",
      "confirmation_method": "automatic",
      "created": 1728890611,
      "currency": "eur",
      "customer": "cus_R1mBl82IVZgPbk",
      "description": "Paiement de 460.8 €",
      "invoice": null,
      "last_payment_error": null,
      "latest_charge": null,
      "livemode": false,
      "metadata": {
        "pack": "SCANPACK",
        "quantity": "1",
        "organization": "43615",
        "object": "Domiciliation et immatriculation de société",
        "payment_method": "pm_1Q9icnFc7W56lMnFUjwuhrGw",
        "email": "wxxc@yopmail.com",
        "type_payment": "STRIPE",
        "amount": "460.8",
        "name": "XC WX"
      },
      "next_action": null,
      "next_source_action": null,
      "on_behalf_of": null,
      "payment_method": null,
      "payment_method_configuration_details": null,
      "payment_method_options": {
        "card": {
          "installments": null,
          "mandate_options": null,
          "network": null,
          "request_three_d_secure": "automatic"
        }
      },
      "payment_method_types": [
        "card"
      ],
      "processing": null,
      "receipt_email": null,
      "review": null,
      "setup_future_usage": null,
      "shipping": null,
      "source": null,
      "statement_descriptor": null,
      "statement_descriptor_suffix": null,
      "status": "requires_source",
      "transfer_data": null,
      "transfer_group": null
    }
  },
  "livemode": false,
  "pending_webhooks": 6,
  "request": {
    "id": "req_S8zrDreX0wXbJw",
    "idempotency_key": "stripe-node-retry-17838a7f-7b35-4ef8-bc7c-56e28062737f"
  },
  "type": "payment_intent.created"
}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Mon, 14 Oct 2024 07:23:32 GMT"
link
"<http://dev.api.digidom.pro/v1/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
x-debug-token
"464537"

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" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 87
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 80
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/public/index.php"
    "line" => 25
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
API_KEY_YOUSING
"d44e8adee19da3a8d2a1a72b70fd9343"
API_URL
"https://staging-api.yousign.com"
APP_BASE_URL
"https://dev.api.digidom.pro"
APP_CREDIT_NOTES_STORAGE
"credit_notes.storage.aws"
APP_CSV_STORAGE
"csv.storage.local"
APP_DEBUG
"1"
APP_DOCUMENTS_STORAGE
"documents.storage.aws"
APP_ENV
"dev"
APP_EXPORT_STORAGE
"export.storage.aws"
APP_INVOICES_STORAGE
"invoices.storage.aws"
APP_LETTERS_STORAGE
"letters.storage.aws"
APP_PUBLIC_PATH
"./public"
APP_QUOTES_STORAGE
"quotes.storage.aws"
APP_SECRET
"cljd2a7d0hej6584frk7560a0a72c53eb"
AWS_ACCESS_KEY_ID
"AKIA5ASVTKMOUVRMN426"
AWS_ENV
"staging"
AWS_REGION
"eu-west-3"
AWS_SECRET_ACCESS_KEY
"HpRloO5wSlQ9ait41p8xF1XA1lJTfT3M+GqM1dCu"
AWS_SUPPRESS_PHP_DEPRECATION_WARNING
"true"
CORS_ALLOW_ORIGIN
"*"
DATABASE_HOST
"dgm-mysql-staging.cgnm2oflbrxp.eu-west-3.rds.amazonaws.com"
DATABASE_NAME
"apidg_dev"
DATABASE_PASSWORD
"VoC0RWLWzB4XtROLaBbmxzJCwyEHRMzy"
DATABASE_PATH
"~/.data/mysqldb_ceg"
DATABASE_PORT
"3306"
DATABASE_USER
"apidg_dev"
DOCKER_APP_PATH
"/var/www"
DOCKER_FOLDER_PATH
".docker"
DROPBOX_PATH
"/Applications/DOSSIER DOM"
DROPBOX_PATH_COURRIER
"/Dossier de l'équipe Digidom"
DROPBOX_TOKEN
"OhPLqkgPZWIAAAAAAAAAAarlgapj8-NijFMnT1GNzHD-Hj8U8g1CpZlyEYC4UOxe"
DROPBOX_TOKEN_COURRIER
"fgnFhdTnIgIAAAAAAAAAAerTkgQ5UKZq54UZqbuSWAqnidpvKk8bPfpgKFZI2FU4"
ELASTICSEARCH_HOST
"https://vpc-dgm-elasticsearch-staging-s6aty3a7arrhhogh3ycoz7gare.eu-west-3.es.amazonaws.com/"
ELASTICSEARCH_PREFIX
"dev"
ENQUEUE_DSN
"sqs:?region=eu-west-3&key=AKIA5ASVTKMOR4SBQ3CT&secret=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"
ENQUEUE_QUEUE
"enqueue://default?topic[name]=dgm-sqs-dev.fifo&queue[name]=dgm-sqs-dev.fifo&receiveTimeout=4"
FRONTAPP_API_KEY
"663f106d7aa32f020949f3a3424f163c"
FRONTAPP_API_URL
"https://api2.frontapp.com"
FRONTAPP_TOKEN
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzY29wZXMiOlsic2hhcmVkOioiLCJwcml2YXRlOioiXSwiaWF0IjoxNTQzMjQxMTY3LCJpc3MiOiJmcm9udCIsInN1YiI6ImRpZ2lkb20yIiwianRpIjoiMDE2ZDc5MjY5NDkwM2UzOCJ9.3A8cHpz-aEqU2sHbr4cPShGlWJXNAxuja3oPFYoZyaU"
GC_ACCESS_TOKEN
"sandbox_tcf_QHruQHlfZc850lf9drtGAdcPsvoadeg0ndmc"
GC_ENV
"sandbox"
GC_URL_DASHBOARD
"https://manage-sandbox.gocardless.com/"
INPI_PWD
"!ChangeMe!"
INPI_URL
"https://api.inpi.fr/v1/"
INPI_USER
"!ChangeMe!"
JWT_PASSPHRASE
"5ab85efd51ad4hh66ecet4d31aca2318"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/%kernel.environment%_public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/%kernel.environment%_private.pem"
JWT_TOKEN_TTL
"86400"
LOCALSTACK_HOST_ENDPOINT
"http://localstack:4566"
MERCURE_JWT_SECRET
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.teGguELe3UyCloKfSL1cbkU1eo37x40BLNzNnT9vWdc"
MERCURE_PUBLIC_URL
"https://dev.mercure.digidom.pro"
MERCURE_URL
"https://dev.mercure.digidom.pro/.well-known/mercure"
MESSENGER_TRANSPORT_DSN
"https://sqs.eu-west-3.amazonaws.com/894606463773/dgm-sqs-dev.fifo?access_key=AKIA5ASVTKMOR4SBQ3CT&secret_key=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&auto_setup=false&region=eu-west-3"
PAPPERS_CLIENT_TOKEN
"593edd1a49cf1f781f00d20d6aa89b976cd28211ac2a1729"
PAPPERS_SURVEILLANCE_ID_LIST
"30aa5ea2bec302842330da3993124ee55dt1689666383834"
PAPPERS_URL
"https://api.pappers.fr/v2/"
PAYMENT_INTERFACE_URL
"https://dev.app2.digidom.pro/"
PENNYLANE_API_KEY
"00dxkIJKPx9F079BE8Z-KRDVoza1wcmhQR-TkC_g5Js"
PENNYLANE_API_URL
"https://app.pennylane.com"
REDIS_HOST
"dgm-redis-dev-01-001.iq3hy2.0001.euw3.cache.amazonaws.com"
REDIS_PORT
"6379"
REDIS_URL
"redis://dgm-redis-dev-01-001.iq3hy2.0001.euw3.cache.amazonaws.com:6379/1"
SECRET_KEY
"sk_test_5of8oI8k8uONOkKZ7reR6ig3"
SEGMENT_WRITE_KEY
"OAnKZI4sGK9kTYCQpMZSlruByMIJYlcZ"
SENTRY_DSN
"https://975adc698b074eebb1fdd7d03234f474@sentry.io/1450929"
SENTRY_ENV
"dev"
SESSION_MAX
"1296000"
STRIPE_URL_DASHBOARD
"https://dashboard.stripe.com/test/"
STRIPE_WEBHOOK_SECRET
"whsec_b15eImHgOfIqeMngBHFLiSJpE6Y9ZWsN"
TESSERACT_URL
"http://localhost:8884"
TWILIO_ACCOUNT_SID
"AC7c0b05c94a1d9d030ced3f77535e7d7b"
TWILIO_AUTH_TOKEN
"33214901f7a093a26f556233a7a8cb9c"
TWILIO_PHONE_NUMBER_SENDER
"+447445413116"
URL_BV
"https://dash.dev.digidom.pro"
URL_NEW_ADMIN
"https://dev.admin.digidom.pro"
URL_TUNNEL
"https://www.dev-54ta5gq-7voayyan2nsfe.de-2.platformsh.site"
WEBHOOK_SECRET
"webhook_digidom_api_secret"
WEB_URL
"https://staging-app.yousign.com"
WKHTMLTOIMAGE_PATH
"xvfb-run /usr/local/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"wkhtmltopdf -B 20 -L 20 -R 20 -T 20 --enable-local-file-access --footer-center "[page]/[toPage]" --footer-spacing 10"
YOUSIGN_API_KEY
"EZtk878ZYSEStJHSPANWhw8fCXAdTqN6"
YOUSIGN_API_KEY_PRODUCTION
"KCbiTc8KXHERxf0GJFzfqiR5OaSk7I8M"
YOUSIGN_API_SANDBOX
"true"
YOUSIGN_API_URL
"https://api-sandbox.yousign.app/v3/"
YOUSIGN_API_URL_PRODUCTION
"https://api.yousign.app/v3/"

Defined as regular env variables

Key Value
CONTENT_LENGTH
"2608"
CONTENT_TYPE
"application/json; charset=utf-8"
DOCUMENT_ROOT
"/data/vhosts/api.digidom.pro/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/data/home/customer"
HTTP_ACCEPT
"*/*; q=0.5, application/xml"
HTTP_CACHE_CONTROL
"no-cache"
HTTP_CONTENT_LENGTH
"2608"
HTTP_CONTENT_TYPE
"application/json; charset=utf-8"
HTTP_HOST
"dev.api.digidom.pro"
HTTP_STRIPE_SIGNATURE
"t=1728890612,v1=389168665d1e15a41e2d72db0b9a3aa38ef46a5fe4ee5d8bbd246d665d6f59d9,v0=7f5055f1c2835c8a5a63574666771c195b49f518984b666d7e4b0a4750b0d3ee"
HTTP_USER_AGENT
"Stripe/1.0 (+https://stripe.com/docs/webhooks)"
HTTP_X_AMZN_TRACE_ID
"Root=1-670cc6f4-660fce870758ae3129de7e1b"
HTTP_X_FORWARDED_FOR
"54.187.205.235"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
PHP_SELF
"/index.php"
QUERY_STRING
"q=/webhook/stripe&"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"10.55.28.168"
REMOTE_PORT
"24666"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1728890612
REQUEST_TIME_FLOAT
1728890612.6548
REQUEST_URI
"/webhook/stripe"
SCRIPT_FILENAME
"/data/vhosts/api.digidom.pro/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"10.55.109.67"
SERVER_NAME
"dev.api.digidom.pro"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.14.2"
SYMFONY_DOTENV_VARS
"APP_SECRET,APP_ENV,APP_DEBUG,AWS_ENV,DOCKER_APP_PATH,DOCKER_FOLDER_PATH,APP_PUBLIC_PATH,DATABASE_PATH,CORS_ALLOW_ORIGIN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,SENTRY_DSN,SENTRY_ENV,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TOKEN_TTL,TWILIO_ACCOUNT_SID,TWILIO_AUTH_TOKEN,TWILIO_PHONE_NUMBER_SENDER,SEGMENT_WRITE_KEY,SECRET_KEY,STRIPE_WEBHOOK_SECRET,STRIPE_URL_DASHBOARD,URL_TUNNEL,URL_BV,URL_NEW_ADMIN,DROPBOX_TOKEN,DROPBOX_PATH,DROPBOX_TOKEN_COURRIER,DROPBOX_PATH_COURRIER,SESSION_MAX,FRONTAPP_API_KEY,FRONTAPP_TOKEN,FRONTAPP_API_URL,ELASTICSEARCH_HOST,ELASTICSEARCH_PREFIX,APP_BASE_URL,GC_ACCESS_TOKEN,GC_ENV,WEBHOOK_SECRET,GC_URL_DASHBOARD,API_KEY_YOUSING,API_URL,WEB_URL,YOUSIGN_API_KEY,YOUSIGN_API_KEY_PRODUCTION,YOUSIGN_API_URL,YOUSIGN_API_URL_PRODUCTION,YOUSIGN_API_SANDBOX,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_REGION,DATABASE_HOST,DATABASE_NAME,DATABASE_USER,DATABASE_PASSWORD,DATABASE_PORT,ENQUEUE_DSN,ENQUEUE_QUEUE,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,REDIS_URL,REDIS_HOST,REDIS_PORT,PAYMENT_INTERFACE_URL,PAPPERS_URL,PAPPERS_CLIENT_TOKEN,PAPPERS_SURVEILLANCE_ID_LIST,INPI_URL,INPI_USER,INPI_PWD,MESSENGER_TRANSPORT_DSN,APP_DOCUMENTS_STORAGE,APP_INVOICES_STORAGE,APP_LETTERS_STORAGE,APP_QUOTES_STORAGE,APP_CREDIT_NOTES_STORAGE,APP_CSV_STORAGE,APP_EXPORT_STORAGE,PENNYLANE_API_URL,PENNYLANE_API_KEY,LOCALSTACK_HOST_ENDPOINT,TESSERACT_URL,AWS_SUPPRESS_PHP_DEPRECATION_WARNING"
USER
"customer"