https://blacodev.brainplatform.cloud/api/_action/paypal/webhook/execute?sw-token=gwd7uBWG8mqsorgf7b8r9sUyCC3huyro

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"gwd7uBWG8mqsorgf7b8r9sUyCC3huyro"

POST Parameters

Key Value
create_time
"2025-12-04T17:04:41.865Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-4XX289967K024350T-1VJ94916A52032453"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4XX289967K024350T-1VJ94916A52032453"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4XX289967K024350T-1VJ94916A52032453/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "9YU99443MA255942X"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "63.00"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "63.00"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "1.32"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "61.68"
    ]
  ]
  "invoice_id" => "BLC-229547"
  "custom_id" => "{"orderTransactionId":"7773ef1899214998b0b9267d39b91895","pluginVersion":"6.5.0","shopwareVersion":"6.4.18.1"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "4EG57537DK709154S"
    ]
  ]
  "payee" => [
    "email_address" => "pagamenti@blaco.it"
    "merchant_id" => "AFWXVG9DP6FUS"
  ]
  "create_time" => "2025-12-04T17:04:37Z"
  "update_time" => "2025-12-04T17:04:37Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/9YU99443MA255942X"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/9YU99443MA255942X/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/4EG57537DK709154S"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 63.0 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"X/rtOwffeIw="
_route
"api.action.paypal.webhook.execute"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_since
Shopware\Core\Framework\Routing\Annotation\Since {#126
  -value: "0.9.0"
}
_stopwatch_token
"714415"
auth_required
false
sw-context
Shopware\Core\Framework\Context {#113
  #extensions: []
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #currencyFactor: 1.0
  #scope: "system"
  #ruleIds: []
  #source: Shopware\Core\Framework\Api\Context\SystemSource {#110 …}
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#114 …}
  -states: []
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip"
content-length
"1673"
content-type
"application/json"
correlation-id
"ac42f6515e3e1"
host
"blacodev.brainplatform.cloud"
paypal-auth-algo
"SHA256withRSA"
paypal-auth-version
"v2"
paypal-cert-url
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-b0d12406"
paypal-transmission-id
"535f09d6-d133-11f0-8568-a9ffb76ebf59"
paypal-transmission-sig
"ZpbN4kVjfOrB/SRwNBYEx6NCfVmtQ05DWsdm1s0zSMMUVFJQXgqr3CF+iFPDZ5QJDejQcXIjDLJ59jIg83sLDbQ6M0JWJ2cr4rqfpxTyJt/Wc4hFgxcu4gKzwh+gRDo+kcXa7hJ9vEZ5fgPffqkUG12l6i+juXjbT8eK1zjrQ79u1IA+uUp0Bke+ZeLD7hJuoCn1971XYQ708lFe+qLeckVYKT7+EPaX07KdXa2IkqmzbD/C1rQsgJ2rIj/U2/5u/l0dGW5AvMhfmmG7v1gNveDdI1lMBCKhZKrZbyLQQQ7yMHPttlbUAoJstJO4OqVgQA1ceZOxKZsynky5Os5IAA=="
paypal-transmission-time
"2025-12-04T17:04:42Z"
user-agent
"PayPal/AUHR-1.0-1"
via
"1.1 a3602a00385c (Varnish/7.4)"
x-forwarded-for
"173.0.81.65, 172.16.98.2"
x-forwarded-host
"blacodev.brainplatform.cloud"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-forwarded-server
"b069ff1f67aa"
x-php-ob-level
"0"
x-real-ip
"173.0.81.65"
x-varnish
"28641236"

Request Content

Pretty

{
    "id": "WH-4XX289967K024350T-1VJ94916A52032453",
    "event_version": "1.0",
    "create_time": "2025-12-04T17:04:41.865Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 63.0 EUR",
    "resource": {
        "id": "9YU99443MA255942X",
        "amount": {
            "currency_code": "EUR",
            "value": "63.00"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "63.00"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "1.32"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "61.68"
            }
        },
        "invoice_id": "BLC-229547",
        "custom_id": "{\"orderTransactionId\":\"7773ef1899214998b0b9267d39b91895\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.18.1\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "4EG57537DK709154S"
            }
        },
        "payee": {
            "email_address": "pagamenti@blaco.it",
            "merchant_id": "AFWXVG9DP6FUS"
        },
        "create_time": "2025-12-04T17:04:37Z",
        "update_time": "2025-12-04T17:04:37Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/9YU99443MA255942X",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/9YU99443MA255942X\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/4EG57537DK709154S",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4XX289967K024350T-1VJ94916A52032453",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4XX289967K024350T-1VJ94916A52032453\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-4XX289967K024350T-1VJ94916A52032453","event_version":"1.0","create_time":"2025-12-04T17:04:41.865Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 63.0 EUR","resource":{"id":"9YU99443MA255942X","amount":{"currency_code":"EUR","value":"63.00"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"63.00"},"paypal_fee":{"currency_code":"EUR","value":"1.32"},"net_amount":{"currency_code":"EUR","value":"61.68"}},"invoice_id":"BLC-229547","custom_id":"{\"orderTransactionId\":\"7773ef1899214998b0b9267d39b91895\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.18.1\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"4EG57537DK709154S"}},"payee":{"email_address":"pagamenti@blaco.it","merchant_id":"AFWXVG9DP6FUS"},"create_time":"2025-12-04T17:04:37Z","update_time":"2025-12-04T17:04:37Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/9YU99443MA255942X","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/9YU99443MA255942X/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/4EG57537DK709154S","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4XX289967K024350T-1VJ94916A52032453","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4XX289967K024350T-1VJ94916A52032453/resend","rel":"resend","method":"POST"}]}

Response

Response Headers

Header Value
access-control-allow-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,fail-on-error,indexing-behavior,single-operation,sw-include-seo-urls"
access-control-allow-methods
"GET,POST,PUT,PATCH,DELETE"
access-control-allow-origin
"*"
access-control-expose-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,fail-on-error,indexing-behavior,single-operation,sw-include-seo-urls"
cache-control
"no-cache, private"
content-type
"application/json"
date
"Sat, 06 Dec 2025 07:14:44 GMT"
x-debug-token
"852d64"
x-frame-options
"deny"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"def00000f96442cfc3aa33a2856cb980461871cb42fa538ff5cfbda22cd3c6dbda5d6177097eb7b554f988c1d1ea515765e4db6d526dbb28c613a5763103386f9b4cf5c1"
APP_URL
"https://blacodev.brainplatform.cloud"
AWS_ACCESS_KEY_ID
"AKIASYVU574SRW5MXNHL"
AWS_BUCKET
"shopware-blaco"
AWS_DOMAIN
"blaco.braincontentnetwork.net/"
AWS_SECRET_ACCESS_KEY
"izWxrTcMZPBHznfhn8b5xD8B3Oq1ujl+tvTrIrKC"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/app/var/cache/composer"
DATABASE_URL
"mysql://blaco:blaco33211902@db:3306/blaco_sh6"
INSTANCE_ID
"Nd9D3Iymr25PImd1whueDzohBfN3GUhn"
MAILER_URL
"null://localhost"
SHOPWARE_CACHE_ID
"blaco-dev"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"
TRUSTED_PROXIES
"127.0.0.1,172.16.98.0/24"

Defined as regular env variables

Key Value
APPLICATION_GID
"1000"
APPLICATION_GROUP
"application"
APPLICATION_PATH
"/app"
APPLICATION_UID
"1000"
APPLICATION_USER
"application"
APP_DEBUG
"1"
COMPOSER_VERSION
"2"
CONTAINER_UID
"application"
CONTENT_LENGTH
"1673"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/app/public"
CONTEXT_PREFIX
""
DOCKER_CONF_HOME
"/opt/docker/"
DOCUMENT_ROOT
"/app/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD"
HOME
"/home/application"
HOSTNAME
"fc5177210ac2"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CORRELATION_ID
"ac42f6515e3e1"
HTTP_HOST
"blacodev.brainplatform.cloud"
HTTP_PAYPAL_AUTH_ALGO
"SHA256withRSA"
HTTP_PAYPAL_AUTH_VERSION
"v2"
HTTP_PAYPAL_CERT_URL
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-b0d12406"
HTTP_PAYPAL_TRANSMISSION_ID
"535f09d6-d133-11f0-8568-a9ffb76ebf59"
HTTP_PAYPAL_TRANSMISSION_SIG
"ZpbN4kVjfOrB/SRwNBYEx6NCfVmtQ05DWsdm1s0zSMMUVFJQXgqr3CF+iFPDZ5QJDejQcXIjDLJ59jIg83sLDbQ6M0JWJ2cr4rqfpxTyJt/Wc4hFgxcu4gKzwh+gRDo+kcXa7hJ9vEZ5fgPffqkUG12l6i+juXjbT8eK1zjrQ79u1IA+uUp0Bke+ZeLD7hJuoCn1971XYQ708lFe+qLeckVYKT7+EPaX07KdXa2IkqmzbD/C1rQsgJ2rIj/U2/5u/l0dGW5AvMhfmmG7v1gNveDdI1lMBCKhZKrZbyLQQQ7yMHPttlbUAoJstJO4OqVgQA1ceZOxKZsynky5Os5IAA=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-12-04T17:04:42Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_VIA
"1.1 a3602a00385c (Varnish/7.4)"
HTTP_X_FORWARDED_FOR
"173.0.81.65, 172.16.98.2"
HTTP_X_FORWARDED_HOST
"blacodev.brainplatform.cloud"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"b069ff1f67aa"
HTTP_X_REAL_IP
"173.0.81.65"
HTTP_X_VARNISH
"28641236"
LANG
"C.UTF-8"
LC_ALL
"C.UTF-8"
LOG_STDERR
"/proc/1/fd/2"
LOG_STDOUT
"/proc/1/fd/1"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.1.20.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_MAX_EXECUTION_TIME
"600"
PHP_MEMORY_LIMIT
"1G"
PHP_SELF
"/index.php"
PHP_SENDMAIL_PATH
"/usr/sbin/sendmail -t -i"
PHP_SHA256
"4c9973f599e93ed5e8ce2b45ce1d41bb8fb54ce642824fd23e56b52fd75029a6"
PHP_URL
"https://www.php.net/distributions/php-8.1.20.tar.xz"
PHP_VERSION
"8.1.20"
PWD
"/"
QUERY_STRING
"sw-token=gwd7uBWG8mqsorgf7b8r9sUyCC3huyro"
REDIRECT_QUERY_STRING
"sw-token=gwd7uBWG8mqsorgf7b8r9sUyCC3huyro"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"52810"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1765005284
REQUEST_TIME_FLOAT
1765005284.8162
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=gwd7uBWG8mqsorgf7b8r9sUyCC3huyro"
SCRIPT_FILENAME
"/app/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.16.98.8"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"blacodev.brainplatform.cloud"
SERVER_PORT
80
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.38 (Debian) Server at blacodev.brainplatform.cloud Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.38 (Debian)"
SHLVL
"0"
SUPERVISOR_ENABLED
"1"
SUPERVISOR_GROUP_NAME
"php-fpm"
SUPERVISOR_PROCESS_NAME
"php-fpmd"
SUPERVISOR_SERVER_URL
"unix:///.supervisor.sock"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_URL,TRUSTED_PROXIES,MAILER_URL,DATABASE_URL,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CDN_STRATEGY_DEFAULT,SHOPWARE_CACHE_ID,AWS_DOMAIN,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_BUCKET"
TERM
"xterm"
USER
"application"
VIPSHOME
"/usr"
WEB_ALIAS_DOMAIN
"*.vm"
WEB_DOCUMENT_INDEX
"index.php"
WEB_DOCUMENT_ROOT
"/app/public"
WEB_PHP_SOCKET
"127.0.0.1:9000"
WEB_PHP_TIMEOUT
"600"
argc
1
argv
[
  "sw-token=gwd7uBWG8mqsorgf7b8r9sUyCC3huyro"
]