https://sw6dev.ackermann-leder.de/api/_action/paypal/webhook/execute?sw-token=J0UcjVHBBFZUSUOZZhexAjCIfiDFLIt4

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"J0UcjVHBBFZUSUOZZhexAjCIfiDFLIt4"

POST Parameters

Key Value
create_time
"2024-12-02T16:56:49.552Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-59V75726EG471350Y-8TU95179PS9509426"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-59V75726EG471350Y-8TU95179PS9509426"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-59V75726EG471350Y-8TU95179PS9509426/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "5U827998D48076814"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "52.00"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "52.00"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "1.94"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "50.06"
    ]
  ]
  "invoice_id" => "order-24340-2024"
  "custom_id" => "{"orderTransactionId":"8bccf3aed8af42888fd44dde4593691b","pluginVersion":"6.5.0","shopwareVersion":"6.4.20.2"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "2U72851701833984G"
    ]
  ]
  "payee" => [
    "email_address" => "office1@ackermann-leder.de"
    "merchant_id" => "B9S3KVYGF22BY"
  ]
  "create_time" => "2024-12-02T16:56:45Z"
  "update_time" => "2024-12-02T16:56:45Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/5U827998D48076814"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/5U827998D48076814/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/2U72851701833984G"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for EUR 52.0 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
connection
"close"
content-length
"1687"
content-type
"application/json"
correlation-id
"5e63bb5ee50ef"
forwarded
"for="173.0.81.65";host="sw6dev.ackermann-leder.de";proto=https"
host
"sw6dev.ackermann-leder.de"
paypal-auth-algo
"SHA256withRSA"
paypal-auth-version
"v2"
paypal-cert-url
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-1a5f47cb"
paypal-transmission-id
"6e87f529-b0ce-11ef-8d01-b1f6a59b7131"
paypal-transmission-sig
"sZu+LbmP3c4gD6dK0qtMPvNysTBzcmPu9XEPutJ/C4aRS5lqGKLx8uZHIXbCtaBTdi2xYay0JoBeR0Ljm+8Yi5cPO3ITRMYGgL2iKGq5j0VdEvhik0w0nlwwLArlLiWPm6i8v0WT/exJqetWRGOtZVy1uZUC2Zp9dlwyLjv5MMmn4EIYVdOUQ9vPrhNMXfHV2jtmxtdoN4PqPvsl+qm9qQrHr8vfR/7heRxLmljXzderQmAvXeeSfezYGgIJfxvrPr5RCZYsmQWhl/RMSeJyEzHNAFQdrxCuAeDeMXFQMD5IDbgxbifFsQZlEf1B7Sukr1lnbseaKmxTKJfCSx2hXg=="
paypal-transmission-time
"2024-12-02T16:56:53Z"
user-agent
"PayPal/AUHR-214.0-58712720"
x-b3-spanid
"975d839c6224a25e"
x-forwarded-for
"173.0.81.65"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-59V75726EG471350Y-8TU95179PS9509426",
    "event_version": "1.0",
    "create_time": "2024-12-02T16:56:49.552Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for EUR 52.0 EUR",
    "resource": {
        "id": "5U827998D48076814",
        "amount": {
            "currency_code": "EUR",
            "value": "52.00"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "52.00"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "1.94"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "50.06"
            }
        },
        "invoice_id": "order-24340-2024",
        "custom_id": "{\"orderTransactionId\":\"8bccf3aed8af42888fd44dde4593691b\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.20.2\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "2U72851701833984G"
            }
        },
        "payee": {
            "email_address": "office1@ackermann-leder.de",
            "merchant_id": "B9S3KVYGF22BY"
        },
        "create_time": "2024-12-02T16:56:45Z",
        "update_time": "2024-12-02T16:56:45Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5U827998D48076814",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5U827998D48076814\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/2U72851701833984G",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-59V75726EG471350Y-8TU95179PS9509426",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-59V75726EG471350Y-8TU95179PS9509426\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-59V75726EG471350Y-8TU95179PS9509426","event_version":"1.0","create_time":"2024-12-02T16:56:49.552Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 52.0 EUR","resource":{"id":"5U827998D48076814","amount":{"currency_code":"EUR","value":"52.00"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"52.00"},"paypal_fee":{"currency_code":"EUR","value":"1.94"},"net_amount":{"currency_code":"EUR","value":"50.06"}},"invoice_id":"order-24340-2024","custom_id":"{\"orderTransactionId\":\"8bccf3aed8af42888fd44dde4593691b\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.20.2\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"2U72851701833984G"}},"payee":{"email_address":"office1@ackermann-leder.de","merchant_id":"B9S3KVYGF22BY"},"create_time":"2024-12-02T16:56:45Z","update_time":"2024-12-02T16:56:45Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/5U827998D48076814","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/5U827998D48076814/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/2U72851701833984G","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-59V75726EG471350Y-8TU95179PS9509426","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-59V75726EG471350Y-8TU95179PS9509426/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
"Tue, 03 Dec 2024 17:35:06 GMT"
x-debug-token
"40147a"
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
"def00000fc12f32ed1eb5c097d3f89dc4bfbbb452d2c0e80b474892656848b71cd9b4f8900a63007eb52d57e1c47303ec2a6cbe453603ff5fef6047b0231d0d98a4f9e30"
APP_URL
"https://sw6dev.ackermann-leder.de"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/home/ackhyhtx/test_ackermann_env/var/cache/composer"
DATABASE_URL
"mysql://ackhyhtx5:r1zmYeXbhCr@localhost:3306/usrdb_ackhyhtx5"
INSTANCE_ID
"xzMLAbYM6fxXLKbyH1sdR3sGycyOg17W"
MAILER_URL
"null://localhost"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
""
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1687"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/usr/local/fastcgi-starter/"
CONTEXT_PREFIX
"/fastcgist/"
DOCUMENT_ROOT
"/home/ackhyhtx/test_ackermann_env/public/"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GROUP
"ackhyhtx"
HOME
"/home/ackhyhtx"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_CORRELATION_ID
"5e63bb5ee50ef"
HTTP_FORWARDED
"for="173.0.81.65";host="sw6dev.ackermann-leder.de";proto=https"
HTTP_HOST
"sw6dev.ackermann-leder.de"
HTTP_PAYPAL_AUTH_ALGO
"SHA256withRSA"
HTTP_PAYPAL_AUTH_VERSION
"v2"
HTTP_PAYPAL_CERT_URL
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-1a5f47cb"
HTTP_PAYPAL_TRANSMISSION_ID
"6e87f529-b0ce-11ef-8d01-b1f6a59b7131"
HTTP_PAYPAL_TRANSMISSION_SIG
"sZu+LbmP3c4gD6dK0qtMPvNysTBzcmPu9XEPutJ/C4aRS5lqGKLx8uZHIXbCtaBTdi2xYay0JoBeR0Ljm+8Yi5cPO3ITRMYGgL2iKGq5j0VdEvhik0w0nlwwLArlLiWPm6i8v0WT/exJqetWRGOtZVy1uZUC2Zp9dlwyLjv5MMmn4EIYVdOUQ9vPrhNMXfHV2jtmxtdoN4PqPvsl+qm9qQrHr8vfR/7heRxLmljXzderQmAvXeeSfezYGgIJfxvrPr5RCZYsmQWhl/RMSeJyEzHNAFQdrxCuAeDeMXFQMD5IDbgxbifFsQZlEf1B7Sukr1lnbseaKmxTKJfCSx2hXg=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2024-12-02T16:56:53Z"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58712720"
HTTP_X_B3_SPANID
"975d839c6224a25e"
HTTP_X_FORWARDED_FOR
"173.0.81.65"
ORIG_PATH_INFO
"/index.php"
ORIG_PATH_TRANSLATED
"/home/ackhyhtx/test_ackermann_env/public/index.php"
ORIG_SCRIPT_FILENAME
"/usr/local/fastcgi-starter/php8.1"
ORIG_SCRIPT_NAME
"/fastcgist/php8.1"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_FCGI_MAX_REQUESTS
"0"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=J0UcjVHBBFZUSUOZZhexAjCIfiDFLIt4"
REDIRECT_HANDLER
"php-fastcgi8.1"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=J0UcjVHBBFZUSUOZZhexAjCIfiDFLIt4"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_SSL_TLS_SNI
"sw6dev.ackermann-leder.de"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"sw6dev.ackermann-leder.de"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/index.php"
REMOTE_ADDR
"127.0.0.1"
REMOTE_HOST
"notify.paypal.com"
REMOTE_PORT
"19552"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1733247306
REQUEST_TIME_FLOAT
1733247306.5526
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=J0UcjVHBBFZUSUOZZhexAjCIfiDFLIt4"
SCRIPT_FILENAME
"/home/ackhyhtx/test_ackermann_env/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"37.228.159.20"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"sw6dev.ackermann-leder.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"sw6dev.ackermann-leder.de"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_URL,MAILER_URL,DATABASE_URL,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_CDN_STRATEGY_DEFAULT"
USER
"ackhyhtx"