https://obst-dev.sw6aufbau.de/api/_action/paypal/webhook/execute?sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72"

POST Parameters

Key Value
create_time
"2024-09-19T18:07:59.800Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-21N4942143246672U-73986168WG1813054"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-21N4942143246672U-73986168WG1813054"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-21N4942143246672U-73986168WG1813054/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "7EK02550MR3635925"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "27.95"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "27.95"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "1.23"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "26.72"
    ]
  ]
  "invoice_id" => "19366"
  "custom_id" => "{"orderTransactionId":"01920b77c921714ca1dce81340262cbf","pluginVersion":"8.2.0","shopwareVersion":"6.5.6.1"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "60E09320HR8965359"
    ]
  ]
  "payee" => [
    "email_address" => "paypal2@obst.de"
    "merchant_id" => "MDCPJSZMU9WBW"
  ]
  "create_time" => "2024-09-19T18:07:55Z"
  "update_time" => "2024-09-19T18:07:55Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/7EK02550MR3635925"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/7EK02550MR3635925/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/60E09320HR8965359"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for EUR 27.95 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"VqVPB/C2UUM="
_route
"api.action.paypal.webhook.execute"
_routeScope
Shopware\Core\Framework\Routing\Annotation\RouteScope {#1714
  -scopes: [
    "api"
  ]
}
_route_params
[
  "auth_required" => false
]
_since
Shopware\Core\Framework\Routing\Annotation\Since {#1703
  -value: "0.9.0"
}
_stopwatch_token
"c43b1f"
auth_required
false
sw-context
Shopware\Core\Framework\Context {#1695
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #scope: "system"
  #rulesLocked: false
  #extensions: []
  #source: Shopware\Core\Framework\Api\Context\SystemSource {#1677 …}
  #ruleIds: []
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyFactor: 1.0
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1676 …}
  -states: []
}

Request Headers

Header Value
accept
"*/*"
connection
"close"
content-length
"1665"
content-type
"application/json"
correlation-id
"294433c147660"
host
"obst-dev.sw6aufbau.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
"1ce57230-76b2-11ef-a14c-1f659dfb204b"
paypal-transmission-sig
"N4hBw0AoTMFzLNLX4rJLXiun+Gg0Hg+4LuuYGj5kv5/GhETPObKGzNUIPs9MeFy2fSRRXHSgNQq147AS1Vkxb7AwsXMu8Yx666RHVQDwgnHtP76/pvCKbTr7mQjm1DZznaF5/u4pq1u645+EnY68TggOvWfwhamXLUdhoZv97nD8YGF6cfX5Xl4nryCBTpGvbDrC/z+3AHAOeLT5iveOnQpvzRruCp1koFqYo11cQnQyVnVet0j0554/GIEijB+TB0PuftBtFffNQAZQFVr7RSO15CTvfsOhGLb1DnviM1QmS2eeP5RIV5L4O8BRj0LYZxe8XLPro1qrATaPK9EeFQ=="
paypal-transmission-time
"2024-09-19T18:08:03Z"
user-agent
"PayPal/AUHR-214.0-58610764"
x-b3-spanid
"b7781b7b50d13d0a"
x-php-ob-level
"0"

Request Content

Pretty

{
    "id": "WH-21N4942143246672U-73986168WG1813054",
    "event_version": "1.0",
    "create_time": "2024-09-19T18:07:59.800Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for EUR 27.95 EUR",
    "resource": {
        "id": "7EK02550MR3635925",
        "amount": {
            "currency_code": "EUR",
            "value": "27.95"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "27.95"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "1.23"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "26.72"
            }
        },
        "invoice_id": "19366",
        "custom_id": "{\"orderTransactionId\":\"01920b77c921714ca1dce81340262cbf\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.6.1\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "60E09320HR8965359"
            }
        },
        "payee": {
            "email_address": "paypal2@obst.de",
            "merchant_id": "MDCPJSZMU9WBW"
        },
        "create_time": "2024-09-19T18:07:55Z",
        "update_time": "2024-09-19T18:07:55Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/7EK02550MR3635925",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/7EK02550MR3635925\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/60E09320HR8965359",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-21N4942143246672U-73986168WG1813054",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-21N4942143246672U-73986168WG1813054\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-21N4942143246672U-73986168WG1813054","event_version":"1.0","create_time":"2024-09-19T18:07:59.800Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 27.95 EUR","resource":{"id":"7EK02550MR3635925","amount":{"currency_code":"EUR","value":"27.95"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"27.95"},"paypal_fee":{"currency_code":"EUR","value":"1.23"},"net_amount":{"currency_code":"EUR","value":"26.72"}},"invoice_id":"19366","custom_id":"{\"orderTransactionId\":\"01920b77c921714ca1dce81340262cbf\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.6.1\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"60E09320HR8965359"}},"payee":{"email_address":"paypal2@obst.de","merchant_id":"MDCPJSZMU9WBW"},"create_time":"2024-09-19T18:07:55Z","update_time":"2024-09-19T18:07:55Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/7EK02550MR3635925","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/7EK02550MR3635925/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/60E09320HR8965359","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-21N4942143246672U-73986168WG1813054","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-21N4942143246672U-73986168WG1813054/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
"Fri, 20 Sep 2024 06:26:22 GMT"
x-debug-token
"de11b8"
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
"def00000fcea2ca7e6d0b7927df13453678e7d464f6a302a2aeca6daa8a543fb9325113ab884040f8495a8d955b243599b996efa4fc8b37aba85eca457735d59c9f465f6"
APP_URL
"https://obst-dev.sw6aufbau.de"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/usr/www/users/obstdev/var/cache/composer"
DATABASE_URL
"mysql://obstdev:p9vq7mjrYqvknVQU@localhost:3306/obstdev"
INSTANCE_ID
"8e9dLQMOSOQ2b3YtGkffEGn1EMXp9NR4"
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
"0"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1665"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/usr/www/users/obstdev/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/usr/www/users/obstdev/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_CORRELATION_ID
"294433c147660"
HTTP_HOST
"obst-dev.sw6aufbau.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
"1ce57230-76b2-11ef-a14c-1f659dfb204b"
HTTP_PAYPAL_TRANSMISSION_SIG
"N4hBw0AoTMFzLNLX4rJLXiun+Gg0Hg+4LuuYGj5kv5/GhETPObKGzNUIPs9MeFy2fSRRXHSgNQq147AS1Vkxb7AwsXMu8Yx666RHVQDwgnHtP76/pvCKbTr7mQjm1DZznaF5/u4pq1u645+EnY68TggOvWfwhamXLUdhoZv97nD8YGF6cfX5Xl4nryCBTpGvbDrC/z+3AHAOeLT5iveOnQpvzRruCp1koFqYo11cQnQyVnVet0j0554/GIEijB+TB0PuftBtFffNQAZQFVr7RSO15CTvfsOhGLb1DnviM1QmS2eeP5RIV5L4O8BRj0LYZxe8XLPro1qrATaPK9EeFQ=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2024-09-19T18:08:03Z"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58610764"
HTTP_X_B3_SPANID
"b7781b7b50d13d0a"
MAGICK_TEMPORARY_PATH
"/usr/home/obstdev/.tmp"
MAGICK_TMPDIR
"/usr/home/obstdev/.tmp"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPRC
"/home/httpd/php74-ini/obstdev"
PHP_FCGI_MAX_REQUESTS
"100000"
PHP_SELF
"/index.php"
PWD
"/home/httpd/cgi-bin"
QUERY_STRING
"sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72"
REDIRECT_SSL_TLS_SNI
"obst-dev.sw6aufbau.de"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"173.0.81.140"
REMOTE_PORT
"33980"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1726813582
REQUEST_TIME_FLOAT
1726813582.4873
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72"
SCRIPT_FILENAME
"/usr/www/users/obstdev/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"23.88.92.7"
SERVER_ADMIN
"webmaster@obst-dev.sw6aufbau.de"
SERVER_NAME
"obst-dev.sw6aufbau.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache Server at obst-dev.sw6aufbau.de Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"obst-dev.sw6aufbau.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"
TMPDIR
"/usr/home/obstdev/.tmp"
argc
1
argv
[
  "sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72"
]