https://shop.eat-performance.com/api/_action/paypal/webhook/execute?sw-token=pmCgk5Iog8X064cFiFjQ8GVKrHdS4MEf

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"pmCgk5Iog8X064cFiFjQ8GVKrHdS4MEf"

POST Parameters

Key Value
create_time
"2025-08-13T07:58:32.653Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-2YP7517762469934A-68183150401569419"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-2YP7517762469934A-68183150401569419"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-2YP7517762469934A-68183150401569419/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "8AK80699C5792183G"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "89.97"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "89.97"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "3.08"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "86.89"
    ]
  ]
  "invoice_id" => "1-18008"
  "custom_id" => "a1e90a4925e649c2956cd9f900dc5d5b"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "7CP974448W829635X"
    ]
  ]
  "payee" => [
    "email_address" => "paypal@eatperformance.de"
    "merchant_id" => "5QYTFBR6PGX7G"
  ]
  "create_time" => "2025-08-13T07:58:28Z"
  "update_time" => "2025-08-13T07:58:28Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/8AK80699C5792183G"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/8AK80699C5792183G/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/7CP974448W829635X"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 89.97 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
content-length
"1587"
content-type
"application/json"
correlation-id
"acbf30b4d7378"
forwarded
"for="173.0.81.65";host="shop.eat-performance.com";proto=https"
host
"shop.eat-performance.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
"50d8f0f8-781b-11f0-af7c-151f0848cfad"
paypal-transmission-sig
"JnKf2/kieZSxDR0S5uMh1SSXaTxWagZaou+TbvkZdu26XOWBdGXxIR9oe4GYv6pjtYCmqLCVFHlg+yxpFgoRH7GOMIYWHDAh72LYRmIn/Qa28l9ho81RxSv5pYoVllDZB+ers0c3axzP6dSIK3GBKj5tz3TeX6DP8ZUYwYFIYRgjx0tCLTr9F1EG1Z/UKyqmTRBylYo+xV2JdMr70l+nptlp52lX4cj+T5ceNKoXxBlE8xPkA5ABTyzYu42KFj+Li7Bpelhv9PgjlrSwmlVo1ASjhqqcJofFFx24/ioH5eggp/pcvptTgsg5fMTNb8RfJYUkOE2Ostx7R22XTIQYKQ=="
paypal-transmission-time
"2025-08-13T07:58:36Z"
user-agent
"PayPal/AUHR-1.0-1"
x-forwarded-for
"173.0.81.65"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-2YP7517762469934A-68183150401569419",
    "event_version": "1.0",
    "create_time": "2025-08-13T07:58:32.653Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 89.97 EUR",
    "resource": {
        "id": "8AK80699C5792183G",
        "amount": {
            "currency_code": "EUR",
            "value": "89.97"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "89.97"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "3.08"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "86.89"
            }
        },
        "invoice_id": "1-18008",
        "custom_id": "a1e90a4925e649c2956cd9f900dc5d5b",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "7CP974448W829635X"
            }
        },
        "payee": {
            "email_address": "paypal@eatperformance.de",
            "merchant_id": "5QYTFBR6PGX7G"
        },
        "create_time": "2025-08-13T07:58:28Z",
        "update_time": "2025-08-13T07:58:28Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/8AK80699C5792183G",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/8AK80699C5792183G\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/7CP974448W829635X",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2YP7517762469934A-68183150401569419",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2YP7517762469934A-68183150401569419\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-2YP7517762469934A-68183150401569419","event_version":"1.0","create_time":"2025-08-13T07:58:32.653Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 89.97 EUR","resource":{"id":"8AK80699C5792183G","amount":{"currency_code":"EUR","value":"89.97"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"89.97"},"paypal_fee":{"currency_code":"EUR","value":"3.08"},"net_amount":{"currency_code":"EUR","value":"86.89"}},"invoice_id":"1-18008","custom_id":"a1e90a4925e649c2956cd9f900dc5d5b","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"7CP974448W829635X"}},"payee":{"email_address":"paypal@eatperformance.de","merchant_id":"5QYTFBR6PGX7G"},"create_time":"2025-08-13T07:58:28Z","update_time":"2025-08-13T07:58:28Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/8AK80699C5792183G","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/8AK80699C5792183G/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/7CP974448W829635X","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-2YP7517762469934A-68183150401569419","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-2YP7517762469934A-68183150401569419/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
"Wed, 13 Aug 2025 07:59:22 GMT"
x-debug-token
"f42a78"
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
"def000008a084e08bfbe565eb97cb537c395c1f60157bb53c0a6e5d7283505687913babee393da00f8c4a81ce0e86e7da9bfc7de64c91ea875007c8ba19b79c3c3757758"
APP_URL
"https://shop.eat-performance.com/"
BLUE_GREEN_DEPLOYMENT
"0"
DATABASE_URL
"mysql://shopware:dVpEHuG2ePsnjma4@localhost/shopware2"
INSTANCE_ID
"ljVsTWzJUI4KrQvyYiB1k3D6MCYImXn8"
MAILER_URL
""
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"elasticsearch:9200"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"86400"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1587"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/html202406/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"1587"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"acbf30b4d7378"
HTTP_FORWARDED
"for="173.0.81.65";host="shop.eat-performance.com";proto=https"
HTTP_HOST
"shop.eat-performance.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
"50d8f0f8-781b-11f0-af7c-151f0848cfad"
HTTP_PAYPAL_TRANSMISSION_SIG
"JnKf2/kieZSxDR0S5uMh1SSXaTxWagZaou+TbvkZdu26XOWBdGXxIR9oe4GYv6pjtYCmqLCVFHlg+yxpFgoRH7GOMIYWHDAh72LYRmIn/Qa28l9ho81RxSv5pYoVllDZB+ers0c3axzP6dSIK3GBKj5tz3TeX6DP8ZUYwYFIYRgjx0tCLTr9F1EG1Z/UKyqmTRBylYo+xV2JdMr70l+nptlp52lX4cj+T5ceNKoXxBlE8xPkA5ABTyzYu42KFj+Li7Bpelhv9PgjlrSwmlVo1ASjhqqcJofFFx24/ioH5eggp/pcvptTgsg5fMTNb8RfJYUkOE2Ostx7R22XTIQYKQ=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-08-13T07:58:36Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.65"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=pmCgk5Iog8X064cFiFjQ8GVKrHdS4MEf"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"56989"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1755071962
REQUEST_TIME_FLOAT
1755071962.853
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=pmCgk5Iog8X064cFiFjQ8GVKrHdS4MEf"
SCRIPT_FILENAME
"/var/www/html202406/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"89.58.16.112"
SERVER_NAME
"shop.eat-performance.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.18.0"
SYMFONY_DOTENV_VARS
"SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CDN_STRATEGY_DEFAULT,MAILER_URL,APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,DATABASE_URL,BLUE_GREEN_DEPLOYMENT"
USER
"www-data"