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-20T10:26:12.407Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-48T1273743214292Y-0CN20896RK302801Y"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-48T1273743214292Y-0CN20896RK302801Y"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-48T1273743214292Y-0CN20896RK302801Y/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "0SX68727AS482250W"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "39.99"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "39.99"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "1.59"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "38.40"
    ]
  ]
  "invoice_id" => "19370"
  "custom_id" => "{"orderTransactionId":"01920ef643be728d9f55582d444269bc","pluginVersion":"8.2.0","shopwareVersion":"6.5.6.1"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "68X86532TX1224620"
    ]
  ]
  "payee" => [
    "email_address" => "paypal2@obst.de"
    "merchant_id" => "MDCPJSZMU9WBW"
  ]
  "create_time" => "2024-09-20T10:26:08Z"
  "update_time" => "2024-09-20T10:26:08Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/0SX68727AS482250W"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/0SX68727AS482250W/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/68X86532TX1224620"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for EUR 39.99 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
connection
"close"
content-length
"1665"
content-type
"application/json"
correlation-id
"575cc5c480fc0"
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
"c4e9cd40-773a-11ef-bc2e-1da4d940719f"
paypal-transmission-sig
"GoTO6pRlwwzey9+QlVEgGLVh9TtA8/AJmYI93RxPltOHZDENEdTcD5YJ6hUnI1LehkQJCbIk+Gbb3GbCMg40dgwKw+ODVwsf6Aa+NBKyWKgEAZNjtXu51//QKOeCmHoLU1jre/yiW4rYbMI+qNqNNURHYIt72pIVcgY+whjNkFQ1HBceJTF73kqGSGTcTCIHFOHc4xE6J2kW5NH4yqVkrqmZAxLjDLZSSkcAQF5jspWqlPLqHM3VO7htU5EnQ4iYahEXppbIcQOyXMadYOniDsXDgT+51YeKxLO5CQFS3WkCDcIGYkfE3Lm845TAau6clocAcyIVHOO8uMEU6NfWTw=="
paypal-transmission-time
"2024-09-20T10:26:16Z"
user-agent
"PayPal/AUHR-214.0-58610764"
x-b3-spanid
"cd7014b06004b537"
x-php-ob-level
"0"

Request Content

Pretty

{
    "id": "WH-48T1273743214292Y-0CN20896RK302801Y",
    "event_version": "1.0",
    "create_time": "2024-09-20T10:26:12.407Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for EUR 39.99 EUR",
    "resource": {
        "id": "0SX68727AS482250W",
        "amount": {
            "currency_code": "EUR",
            "value": "39.99"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "39.99"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "1.59"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "38.40"
            }
        },
        "invoice_id": "19370",
        "custom_id": "{\"orderTransactionId\":\"01920ef643be728d9f55582d444269bc\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.6.1\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "68X86532TX1224620"
            }
        },
        "payee": {
            "email_address": "paypal2@obst.de",
            "merchant_id": "MDCPJSZMU9WBW"
        },
        "create_time": "2024-09-20T10:26:08Z",
        "update_time": "2024-09-20T10:26:08Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/0SX68727AS482250W",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/0SX68727AS482250W\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/68X86532TX1224620",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-48T1273743214292Y-0CN20896RK302801Y",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-48T1273743214292Y-0CN20896RK302801Y\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-48T1273743214292Y-0CN20896RK302801Y","event_version":"1.0","create_time":"2024-09-20T10:26:12.407Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 39.99 EUR","resource":{"id":"0SX68727AS482250W","amount":{"currency_code":"EUR","value":"39.99"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"39.99"},"paypal_fee":{"currency_code":"EUR","value":"1.59"},"net_amount":{"currency_code":"EUR","value":"38.40"}},"invoice_id":"19370","custom_id":"{\"orderTransactionId\":\"01920ef643be728d9f55582d444269bc\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.6.1\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"68X86532TX1224620"}},"payee":{"email_address":"paypal2@obst.de","merchant_id":"MDCPJSZMU9WBW"},"create_time":"2024-09-20T10:26:08Z","update_time":"2024-09-20T10:26:08Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/0SX68727AS482250W","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/0SX68727AS482250W/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/68X86532TX1224620","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-48T1273743214292Y-0CN20896RK302801Y","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-48T1273743214292Y-0CN20896RK302801Y/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, 21 Sep 2024 14:53:08 GMT"
x-debug-token
"1b3b12"
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
"575cc5c480fc0"
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
"c4e9cd40-773a-11ef-bc2e-1da4d940719f"
HTTP_PAYPAL_TRANSMISSION_SIG
"GoTO6pRlwwzey9+QlVEgGLVh9TtA8/AJmYI93RxPltOHZDENEdTcD5YJ6hUnI1LehkQJCbIk+Gbb3GbCMg40dgwKw+ODVwsf6Aa+NBKyWKgEAZNjtXu51//QKOeCmHoLU1jre/yiW4rYbMI+qNqNNURHYIt72pIVcgY+whjNkFQ1HBceJTF73kqGSGTcTCIHFOHc4xE6J2kW5NH4yqVkrqmZAxLjDLZSSkcAQF5jspWqlPLqHM3VO7htU5EnQ4iYahEXppbIcQOyXMadYOniDsXDgT+51YeKxLO5CQFS3WkCDcIGYkfE3Lm845TAau6clocAcyIVHOO8uMEU6NfWTw=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2024-09-20T10:26:16Z"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58610764"
HTTP_X_B3_SPANID
"cd7014b06004b537"
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.65"
REMOTE_PORT
"1946"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1726930388
REQUEST_TIME_FLOAT
1726930388.2466
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"
]