POST https://tcgshop-moers.com/api/_action/paypal/webhook/execute?sw-token=rffK3yrY0AsMImhgRnGot7bmzzsQm5JN

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"rffK3yrY0AsMImhgRnGot7bmzzsQm5JN"

POST Parameters

Key Value
create_time
"2025-07-17T02:18:34.408Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-1H3334432E5250512-8XJ40252TX227614C"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-1H3334432E5250512-8XJ40252TX227614C"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-1H3334432E5250512-8XJ40252TX227614C/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "3RC1083375425020H"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "256.89"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "256.89"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "8.07"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "248.82"
    ]
  ]
  "invoice_id" => "WS1-WS1-10045"
  "custom_id" => "{"orderTransactionId":"0198162cddb870a6a615f9b8fb507632","pluginVersion":"9.7.7","shopwareVersion":"6.6.10.2"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "8R814878LU6177211"
    ]
  ]
  "payee" => [
    "email_address" => "info@multi-music-corner.de"
    "merchant_id" => "48RUWAAU5S8AU"
  ]
  "create_time" => "2025-07-17T02:18:30Z"
  "update_time" => "2025-07-17T02:18:30Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/3RC1083375425020H"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/3RC1083375425020H/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/8R814878LU6177211"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 256.89 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"JbdrCAbCt4o="
_route
"api.action.paypal.webhook.execute"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_stopwatch_token
"ca4bb6"
auth_required
false
sw-context
Shopware\Core\Framework\Context {#1230
  #extensions: []
  #scope: "system"
  #rulesLocked: false
  #source: Shopware\Core\Framework\Api\Context\SystemSource {#1220 …}
  #ruleIds: []
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyFactor: 1.0
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1243 …}
  #states: []
}

Request Headers

Header Value
accept
"*/*"
content-length
"1689"
content-type
"application/json"
correlation-id
"5f09fbd9197be"
forwarded
"for="173.0.81.140";host="tcgshop-moers.com";proto=https"
host
"tcgshop-moers.com"
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
"5927a140-62b4-11f0-b3f0-5946f8ffc59e"
paypal-transmission-sig
"GnPiwk2VAxbeO8yBgPB2o8/PPKRJv0e638QfLHStiLOjcgIYtjS177WAFioM68mANZQLjjt+zW6Qa02Ol/7YxbMpHbMn7mwqn/R9i5YU7Gt/fFNgnAH/dwF6VQ0KBssZWcHxIEK2+vu0EnCkS5wsFBMfnGNjnsJX4xzYcg+K0b7mvN32IMfcTT5G9nIdmYlrF7ULvQO3jeuo5b358vnhIeCyIpyREosl0TtIPT0v/5/MXa+79zMgSV0KPHoLdsOtgfx8PrLtbwLRKzLamAO69LBfgaW14S5SlGc6oFN40eq7TqzI/guzlsnkOGy0RRN5RMqLeW7ZCMTGuRS/WBoVew=="
paypal-transmission-time
"2025-07-17T02:18:37Z"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"PayPal/AUHD-1.0-1"
x-forwarded-for
"173.0.81.140"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-1H3334432E5250512-8XJ40252TX227614C",
    "event_version": "1.0",
    "create_time": "2025-07-17T02:18:34.408Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 256.89 EUR",
    "resource": {
        "id": "3RC1083375425020H",
        "amount": {
            "currency_code": "EUR",
            "value": "256.89"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "256.89"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "8.07"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "248.82"
            }
        },
        "invoice_id": "WS1-WS1-10045",
        "custom_id": "{\"orderTransactionId\":\"0198162cddb870a6a615f9b8fb507632\",\"pluginVersion\":\"9.7.7\",\"shopwareVersion\":\"6.6.10.2\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "8R814878LU6177211"
            }
        },
        "payee": {
            "email_address": "info@multi-music-corner.de",
            "merchant_id": "48RUWAAU5S8AU"
        },
        "create_time": "2025-07-17T02:18:30Z",
        "update_time": "2025-07-17T02:18:30Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/3RC1083375425020H",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/3RC1083375425020H\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/8R814878LU6177211",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-1H3334432E5250512-8XJ40252TX227614C",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-1H3334432E5250512-8XJ40252TX227614C\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-1H3334432E5250512-8XJ40252TX227614C","event_version":"1.0","create_time":"2025-07-17T02:18:34.408Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 256.89 EUR","resource":{"id":"3RC1083375425020H","amount":{"currency_code":"EUR","value":"256.89"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"256.89"},"paypal_fee":{"currency_code":"EUR","value":"8.07"},"net_amount":{"currency_code":"EUR","value":"248.82"}},"invoice_id":"WS1-WS1-10045","custom_id":"{\"orderTransactionId\":\"0198162cddb870a6a615f9b8fb507632\",\"pluginVersion\":\"9.7.7\",\"shopwareVersion\":\"6.6.10.2\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"8R814878LU6177211"}},"payee":{"email_address":"info@multi-music-corner.de","merchant_id":"48RUWAAU5S8AU"},"create_time":"2025-07-17T02:18:30Z","update_time":"2025-07-17T02:18:30Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/3RC1083375425020H","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/3RC1083375425020H/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/8R814878LU6177211","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-1H3334432E5250512-8XJ40252TX227614C","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-1H3334432E5250512-8XJ40252TX227614C/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,indexing-behavior,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,indexing-behavior,sw-include-seo-urls"
cache-control
"no-cache, private"
content-security-policy
"object-src 'none'; script-src 'none'; base-uri 'self'; frame-ancestors 'none';"
content-type
"text/html; charset=UTF-8"
date
"Thu, 17 Jul 2025 02:18:43 GMT"
referrer-policy
"strict-origin-when-cross-origin"
server-timing
""
strict-transport-security
"max-age=31536000; includeSubDomains"
x-content-type-options
"nosniff"
x-debug-token
"78b0ee"
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
ADMIN_OPENSEARCH_URL
"http://localhost:9200"
APP_ENV
"dev"
APP_SECRET
"def00000e491505cfaaf87be212b6c14ca871811e507d4fe57229bb77185ed77ec21784afd761fa7dc8f901ac9f0d7d9b00d6481568008595e7ce153ee9345838da339a5"
APP_URL
"https://tcgshop-moers.com"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/html/var/cache/composer"
DATABASE_URL
"mysql://jdtec:nnNSzG.b~2%26VAC%298t%7C4h%25%5E@localhost:3306/Shopware"
INSTANCE_ID
"lSshoBmCn9epjxu4FntrNeMyrup2P7u8"
LOCK_DSN
"flock"
MAILER_URL
"null://null"
OPENSEARCH_URL
"http://localhost:9200"
PROXY_URL
"http://localhost"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_ES_THROW_EXCEPTION
"1"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1689"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CORRELATION_ID
"5f09fbd9197be"
HTTP_FORWARDED
"for="173.0.81.140";host="tcgshop-moers.com";proto=https"
HTTP_HOST
"tcgshop-moers.com"
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
"5927a140-62b4-11f0-b3f0-5946f8ffc59e"
HTTP_PAYPAL_TRANSMISSION_SIG
"GnPiwk2VAxbeO8yBgPB2o8/PPKRJv0e638QfLHStiLOjcgIYtjS177WAFioM68mANZQLjjt+zW6Qa02Ol/7YxbMpHbMn7mwqn/R9i5YU7Gt/fFNgnAH/dwF6VQ0KBssZWcHxIEK2+vu0EnCkS5wsFBMfnGNjnsJX4xzYcg+K0b7mvN32IMfcTT5G9nIdmYlrF7ULvQO3jeuo5b358vnhIeCyIpyREosl0TtIPT0v/5/MXa+79zMgSV0KPHoLdsOtgfx8PrLtbwLRKzLamAO69LBfgaW14S5SlGc6oFN40eq7TqzI/guzlsnkOGy0RRN5RMqLeW7ZCMTGuRS/WBoVew=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-07-17T02:18:37Z"
HTTP_USER_AGENT
"PayPal/AUHD-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=rffK3yrY0AsMImhgRnGot7bmzzsQm5JN"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=rffK3yrY0AsMImhgRnGot7bmzzsQm5JN"
REDIRECT_SSL_TLS_SNI
"tcgshop-moers.com"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"19547"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1752718721
REQUEST_TIME_FLOAT
1752718721.8455
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=rffK3yrY0AsMImhgRnGot7bmzzsQm5JN"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.38.95.150"
SERVER_ADMIN
"webmaster@localhost"
SERVER_NAME
"tcgshop-moers.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.58 (Ubuntu) Server at tcgshop-moers.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.58 (Ubuntu)"
SSL_TLS_SNI
"tcgshop-moers.com"
SYMFONY_DOTENV_PATH
"/var/www/html/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_URL,LOCK_DSN,OPENSEARCH_URL,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,PROXY_URL,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,COMPOSER_HOME,ADMIN_OPENSEARCH_URL"