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 {#2100 -links: [ 2101 => Symfony\Component\WebLink\Link {#2101 -href: "http://staging.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 | "4ba502" |
Request Headers
Header | Value |
---|---|
accept | "*/*; q=0.5, application/xml" |
cache-control | "no-cache" |
content-length | "4157" |
content-type | "application/json; charset=utf-8" |
host | "staging.api.digidom.pro" |
stripe-signature | "t=1732006841,v1=872cdd21beccc7202e486683755a2e655c8a304c6c6939361441f116f737dcb0,v0=49bf43f8f60debfb1ceeb86dc010d56f4483ad6b7f81069b7b83c997f204e265" |
user-agent | "Stripe/1.0 (+https://stripe.com/docs/webhooks)" |
x-amzn-trace-id | "Root=1-673c53b9-6a8964166fdcd8cd187768e0" |
x-forwarded-for | "52.15.183.38" |
x-forwarded-port | "443" |
x-forwarded-proto | "https" |
x-php-ob-level | "1" |
Request Content
Raw
{ "id": "evt_3QMnIZFc7W56lMnF04YY56l4", "object": "event", "api_version": "2018-02-28", "created": 1732006840, "data": { "object": { "id": "ch_3QMnIZFc7W56lMnF0dFEgJey", "object": "charge", "amount": 40080, "amount_captured": 40080, "amount_refunded": 0, "application": null, "application_fee": null, "application_fee_amount": null, "balance_transaction": null, "billing_details": { "address": { "city": null, "country": null, "line1": null, "line2": null, "postal_code": null, "state": null }, "email": null, "name": "Dogan Gun", "phone": null }, "calculated_statement_descriptor": "DIGIDOM.PRO", "captured": true, "created": 1732006840, "currency": "eur", "customer": "cus_RFHsRGB9pwZbZ0", "description": "Paiement de 400.8 €", "destination": null, "dispute": null, "disputed": false, "failure_balance_transaction": null, "failure_code": null, "failure_message": null, "fraud_details": { }, "invoice": null, "livemode": false, "metadata": { "pack": "DIGIPACK", "quantity": "1", "organization": "27918", "object": "Domiciliation et immatriculation de société", "payment_method": "pm_1QMnIYFc7W56lMnFjpzoy1to", "type_payment": "STRIPE", "email": "gunnn@dddogan.com", "amount": "400.8", "name": "Dogan Gun" }, "on_behalf_of": null, "order": null, "outcome": { "network_advice_code": null, "network_decline_code": null, "network_status": "approved_by_network", "reason": null, "risk_level": "normal", "risk_score": 50, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, "payment_intent": "pi_3QMnIZFc7W56lMnF0CG70mj4", "payment_method": "pm_1QMnIYFc7W56lMnFjpzoy1to", "payment_method_details": { "card": { "amount_authorized": 40080, "authorization_code": null, "brand": "visa", "checks": { "address_line1_check": null, "address_postal_code_check": null, "cvc_check": "pass" }, "country": "US", "exp_month": 12, "exp_year": 2024, "extended_authorization": { "status": "disabled" }, "fingerprint": "tPyusf1vsqQGjZxC", "funding": "credit", "incremental_authorization": { "status": "unavailable" }, "installments": null, "last4": "4242", "mandate": null, "multicapture": { "status": "unavailable" }, "network": "visa", "network_token": { "used": false }, "overcapture": { "maximum_amount_capturable": 40080, "status": "unavailable" }, "three_d_secure": null, "wallet": null }, "type": "card" }, "radar_options": { }, "receipt_email": null, "receipt_number": null, "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xN2tZcmNGYzdXNTZsTW5GKLmn8bkGMgbSLwdgeiY6LBawUZRAR5wz8NdrhXeI6gHvME6Q9YbBS5x42cVHv6vMCK2bNgyG1bnqtwax", "refunded": false, "refunds": { "object": "list", "data": [ ], "has_more": false, "total_count": 0, "url": "/v1/charges/ch_3QMnIZFc7W56lMnF0dFEgJey/refunds" }, "review": null, "shipping": null, "source": null, "source_transfer": null, "statement_descriptor": null, "statement_descriptor_suffix": null, "status": "succeeded", "transfer_data": null, "transfer_group": null } }, "livemode": false, "pending_webhooks": 6, "request": { "id": "req_ltkq2hGTfHi3Qr", "idempotency_key": "1da306d9-98db-459a-ab95-348af9e4e38e" }, "type": "charge.succeeded" }
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "text/html; charset=UTF-8" |
date | "Tue, 19 Nov 2024 09:00:41 GMT" |
link | "<http://staging.api.digidom.pro/v1/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"" |
x-debug-token | "0fda55" |
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://staging.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 | "*" |
CUSTOMER_IO_API_BASE_URL | "https://api.customer.io" |
CUSTOMER_IO_API_BEARER_TOKEN | "6e01c5e78f994b07a81a5e8feb6d9b7a" |
CUSTOMER_IO_TRACK_BASE_URL | "https://track-eu.customer.io" |
CUSTOMER_IO_TRACK_BASIC_AUTH | "01131e1cd43f9e9aa3cd:7cef76fa9cf66615e19f" |
DATABASE_HOST | "dgm-mysql-staging.cgnm2oflbrxp.eu-west-3.rds.amazonaws.com" |
DATABASE_NAME | "apidg_staging" |
DATABASE_PASSWORD | "nnLLORJFa2CRHmvotd5Xskttm5qVhngq" |
DATABASE_PATH | "~/.data/mysqldb_ceg" |
DATABASE_PORT | "3306" |
DATABASE_USER | "apidg_staging" |
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 | "staging" |
ENQUEUE_DSN | "sqs:?region=eu-west-3&key=AKIA5ASVTKMOSLWNLYVK&secret=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" |
ENQUEUE_QUEUE | "enqueue://default?topic[name]=dgm-sqs-staging.fifo&queue[name]=dgm-sqs-staging.fifo&receiveTimeout=4" |
FRONTAPP_API_KEY | "663f106d7aa32f020949f3a3424f163c" |
FRONTAPP_API_URL | "https://api2.frontapp.com" |
FRONTAPP_TOKEN | "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzY29wZXMiOlsic2hhcmVkOioiLCJwcml2YXRlOioiXSwiaWF0IjoxNTQzMjQxMTY3LCJpc3MiOiJmcm9udCIsInN1YiI6ImRpZ2lkb20yIiwianRpIjoiMDE2ZDc5MjY5NDkwM2UzOCJ9.3A8cHpz-aEqU2sHbr4cPShGlWJXNAxuja3oPFYoZyaU" |
FS_CRAWLER_URL | "http://localhost:8090" |
GC_ACCESS_TOKEN | "sandbox_7INN3Kdk0FZPa1vA9Q1F7mmhTXKU4fpEpSIiulIc" |
GC_ENV | "sandbox" |
GC_URL_DASHBOARD | "https://manage-sandbox.gocardless.com/" |
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 | "1576800000" |
LOCALSTACK_HOST_ENDPOINT | "http://localstack:4566" |
MERCURE_JWT_SECRET | "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.teGguELe3UyCloKfSL1cbkU1eo37x40BLNzNnT9vWdc" |
MERCURE_PUBLIC_URL | "https://staging.mercure.digidom.pro" |
MERCURE_URL | "https://staging.mercure.digidom.pro/.well-known/mercure" |
MESSENGER_TRANSPORT_DSN | "https://sqs.eu-west-3.amazonaws.com/894606463773/dgm-sqs-staging.fifo?access_key=AKIA5ASVTKMOSLWNLYVK&secret_key=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&auto_setup=false®ion=eu-west-3" |
PAPPERS_CLIENT_TOKEN | "593edd1a49cf1f781f00d20d6aa89b976cd28211ac2a1729" |
PAPPERS_SURVEILLANCE_ID_LIST | "30aa5ea2bec302842330da3993124ee55dt1689666383834" |
PAPPERS_URL | "https://api.pappers.fr/v2/" |
PAYMENT_INTERFACE_URL | "https://staging.app2.digidom.pro/" |
PENNYLANE_API_KEY | "00dxkIJKPx9F079BE8Z-KRDVoza1wcmhQR-TkC_g5Js" |
PENNYLANE_API_URL | "https://app.pennylane.com" |
REDIS_HOST | "dgm-redis-staging-01.iq3hy2.ng.0001.euw3.cache.amazonaws.com" |
REDIS_PORT | "6379" |
REDIS_URL | "redis://dgm-redis-staging-01.iq3hy2.ng.0001.euw3.cache.amazonaws.com:6379/2" |
SECRET_KEY | "sk_test_5of8oI8k8uONOkKZ7reR6ig3" |
SEGMENT_WRITE_KEY | "OAnKZI4sGK9kTYCQpMZSlruByMIJYlcZ" |
SENTRY_DSN | "https://975adc698b074eebb1fdd7d03234f474@sentry.io/1450929" |
SENTRY_ENV | "staging" |
SESSION_MAX | "1296000" |
STRIPE_URL_DASHBOARD | "https://dashboard.stripe.com/test/" |
STRIPE_WEBHOOK_SECRET | "whsec_9XUoHd6hEujklxkmUzzBq4lWtu7o9GT1" |
TESSERACT_URL | "http://localhost:8884" |
TWILIO_ACCOUNT_SID | "AC7c0b05c94a1d9d030ced3f77535e7d7b" |
TWILIO_AUTH_TOKEN | "33214901f7a093a26f556233a7a8cb9c" |
TWILIO_PHONE_NUMBER_SENDER | "+447445413116" |
URL_BV | "https://dash.staging.digidom.pro" |
URL_NEW_ADMIN | "https://staging.admin.digidom.pro" |
URL_SITE | "https://www.staging-5em2ouy-iy7xdhsbjce24.de-2.platformsh.site" |
URL_TUNNEL | "https://staging-5em2ouy-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 | "4157" |
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 | "4157" |
HTTP_CONTENT_TYPE | "application/json; charset=utf-8" |
HTTP_HOST | "staging.api.digidom.pro" |
HTTP_STRIPE_SIGNATURE | "t=1732006841,v1=872cdd21beccc7202e486683755a2e655c8a304c6c6939361441f116f737dcb0,v0=49bf43f8f60debfb1ceeb86dc010d56f4483ad6b7f81069b7b83c997f204e265" |
HTTP_USER_AGENT | "Stripe/1.0 (+https://stripe.com/docs/webhooks)" |
HTTP_X_AMZN_TRACE_ID | "Root=1-673c53b9-6a8964166fdcd8cd187768e0" |
HTTP_X_FORWARDED_FOR | "52.15.183.38" |
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.56.48.93" |
REMOTE_PORT | "37206" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1732006841 |
REQUEST_TIME_FLOAT | 1732006841.7376 |
REQUEST_URI | "/webhook/stripe" |
SCRIPT_FILENAME | "/data/vhosts/api.digidom.pro/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "10.56.143.236" |
SERVER_NAME | "staging.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,DATABASE_HOST,DATABASE_NAME,DATABASE_USER,DATABASE_PASSWORD,DATABASE_PORT,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,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,MESSENGER_TRANSPORT_DSN,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,URL_TUNNEL,URL_BV,URL_NEW_ADMIN,URL_SITE,ENQUEUE_DSN,ENQUEUE_QUEUE,REDIS_URL,REDIS_HOST,REDIS_PORT,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,PAYMENT_INTERFACE_URL,PAPPERS_URL,PAPPERS_CLIENT_TOKEN,PAPPERS_SURVEILLANCE_ID_LIST,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,FS_CRAWLER_URL,AWS_SUPPRESS_PHP_DEPRECATION_WARNING,CUSTOMER_IO_API_BASE_URL,CUSTOMER_IO_API_BEARER_TOKEN,CUSTOMER_IO_TRACK_BASE_URL,CUSTOMER_IO_TRACK_BASIC_AUTH" |
USER | "customer" |