https://serene-kapitsa.92-205-108-223.plesk.page/api/_action/paypal/webhook/execute?sw-token=rJ8RjP8zFguY3dA2NlVQjqB2fW99WF8R

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"rJ8RjP8zFguY3dA2NlVQjqB2fW99WF8R"

POST Parameters

Key Value
create_time
"2024-11-27T17:25:54.624Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-4SX47401130293028-4PG29360YH725991S"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4SX47401130293028-4PG29360YH725991S"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4SX47401130293028-4PG29360YH725991S/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "89X82421CX614423M"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "477.25"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "NOT_ELIGIBLE"
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "477.25"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "14.66"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "462.59"
    ]
  ]
  "invoice_id" => "10840"
  "custom_id" => "{"orderTransactionId":"01936ea8597f7038b0daee876ab8a43a","pluginVersion":"8.0.3","shopwareVersion":"6.5.8.9"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "3U008294MT2860423"
    ]
  ]
  "payee" => [
    "email_address" => "arnold@wingsacademy.de"
    "merchant_id" => "7BWPF8PUFU33N"
  ]
  "create_time" => "2024-11-27T17:25:49Z"
  "update_time" => "2024-11-27T17:25:49Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/89X82421CX614423M"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/89X82421CX614423M/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/3U008294MT2860423"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
  "network_transaction_reference" => [
    "id" => "MCWJNOAL3"
    "date" => "1127"
    "network" => "MASTERCARD"
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for EUR 477.25 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
connection
"close"
content-length
"1699"
content-type
"application/json"
correlation-id
"44baedde15c6d"
forwarded
"for="66.211.170.66";host="serene-kapitsa.92-205-108-223.plesk.page";proto=https"
host
"serene-kapitsa.92-205-108-223.plesk.page"
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
"aa297804-ace4-11ef-b6ba-09f348c7a110"
paypal-transmission-sig
"d1fWlkk8sEU61jXnES9wwVhfjt5NbQYwa6hm5HSaTedTNCzYRJrODd9XvQdDnYbnthUuK5tdhIWx0X3qbsVcbk7l8lBj4trq+fHt8Bp9z1g7rTg8fm/WaZDovofb40s1Dq3YftcWUhLVUVll4Ctdj6by+Rz/Nos6mj69NB2Y2OxFTSBqj12n0qdS8xM5R0eREyyDj+2GJdSt+iK7E+XMBe+18XlNfXFq8gl4S42Etox1d7C4AXChdQ1meBzSqWEc98ng7wFdXxwoZaw9NTcv18E2zd/4l380DA2oLuUnVv4SAO82pXdaGoXzSXzAl93lHT/b/zIt/BRMPDnIOdWBsw=="
paypal-transmission-time
"2024-11-27T17:25:57Z"
user-agent
"PayPal/AUHR-214.0-58712720"
x-accel-internal
"/internal-nginx-static-location"
x-b3-spanid
"7ff6e4cce8be3230"
x-forwarded-for
"66.211.170.66"
x-php-ob-level
"1"
x-real-ip
"66.211.170.66"

Request Content

Pretty

{
    "id": "WH-4SX47401130293028-4PG29360YH725991S",
    "event_version": "1.0",
    "create_time": "2024-11-27T17:25:54.624Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for EUR 477.25 EUR",
    "resource": {
        "id": "89X82421CX614423M",
        "amount": {
            "currency_code": "EUR",
            "value": "477.25"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "NOT_ELIGIBLE"
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "477.25"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "14.66"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "462.59"
            }
        },
        "invoice_id": "10840",
        "custom_id": "{\"orderTransactionId\":\"01936ea8597f7038b0daee876ab8a43a\",\"pluginVersion\":\"8.0.3\",\"shopwareVersion\":\"6.5.8.9\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "3U008294MT2860423"
            }
        },
        "payee": {
            "email_address": "arnold@wingsacademy.de",
            "merchant_id": "7BWPF8PUFU33N"
        },
        "create_time": "2024-11-27T17:25:49Z",
        "update_time": "2024-11-27T17:25:49Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/89X82421CX614423M",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/89X82421CX614423M\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/3U008294MT2860423",
                "rel": "up",
                "method": "GET"
            }
        ],
        "network_transaction_reference": {
            "id": "MCWJNOAL3",
            "date": "1127",
            "network": "MASTERCARD"
        }
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4SX47401130293028-4PG29360YH725991S",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4SX47401130293028-4PG29360YH725991S\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-4SX47401130293028-4PG29360YH725991S","event_version":"1.0","create_time":"2024-11-27T17:25:54.624Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 477.25 EUR","resource":{"id":"89X82421CX614423M","amount":{"currency_code":"EUR","value":"477.25"},"final_capture":true,"seller_protection":{"status":"NOT_ELIGIBLE"},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"477.25"},"paypal_fee":{"currency_code":"EUR","value":"14.66"},"net_amount":{"currency_code":"EUR","value":"462.59"}},"invoice_id":"10840","custom_id":"{\"orderTransactionId\":\"01936ea8597f7038b0daee876ab8a43a\",\"pluginVersion\":\"8.0.3\",\"shopwareVersion\":\"6.5.8.9\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"3U008294MT2860423"}},"payee":{"email_address":"arnold@wingsacademy.de","merchant_id":"7BWPF8PUFU33N"},"create_time":"2024-11-27T17:25:49Z","update_time":"2024-11-27T17:25:49Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/89X82421CX614423M","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/89X82421CX614423M/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/3U008294MT2860423","rel":"up","method":"GET"}],"network_transaction_reference":{"id":"MCWJNOAL3","date":"1127","network":"MASTERCARD"}},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4SX47401130293028-4PG29360YH725991S","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4SX47401130293028-4PG29360YH725991S/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
"private, must-revalidate"
content-type
"application/json"
date
"Wed, 27 Nov 2024 18:04:24 GMT"
expires
-1
pragma
"no-cache"
x-debug-token
"ee0d0e"
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
"def00000549183565af4ccea1df1dc8489c640fc9cc153ac2c1c3fb4f208872675f12ba4140904b3cfbd5d50f749e207322ce97fdb72bc9db4d44835bd2e5bf1b2a0d0a1"
APP_URL
"https://serene-kapitsa.92-205-108-223.plesk.page/"
BLUE_GREEN_DEPLOYMENT
"0"
COMPOSER_HOME
"/var/www/vhosts/serene-kapitsa.92-205-108-223.plesk.page/httpdocs/var/cache/composer"
DATABASE_SSL_DONT_VERIFY_SERVER_CERT
"1"
DATABASE_URL
"mysql://wings:fW0_jw282@localhost:3306/wings_stage"
INSTANCE_ID
"NvWnWYsyJGJIsoD9EJBZsLEiM9iCubzJ"
MAILER_URL
"native://default"
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
"7200"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1699"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/serene-kapitsa.92-205-108-223.plesk.page/httpdocs/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/serene-kapitsa.92-205-108-223.plesk.page/httpdocs/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/serene-kapitsa.92-205-108-223.plesk.page"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_CORRELATION_ID
"44baedde15c6d"
HTTP_FORWARDED
"for="66.211.170.66";host="serene-kapitsa.92-205-108-223.plesk.page";proto=https"
HTTP_HOST
"serene-kapitsa.92-205-108-223.plesk.page"
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
"aa297804-ace4-11ef-b6ba-09f348c7a110"
HTTP_PAYPAL_TRANSMISSION_SIG
"d1fWlkk8sEU61jXnES9wwVhfjt5NbQYwa6hm5HSaTedTNCzYRJrODd9XvQdDnYbnthUuK5tdhIWx0X3qbsVcbk7l8lBj4trq+fHt8Bp9z1g7rTg8fm/WaZDovofb40s1Dq3YftcWUhLVUVll4Ctdj6by+Rz/Nos6mj69NB2Y2OxFTSBqj12n0qdS8xM5R0eREyyDj+2GJdSt+iK7E+XMBe+18XlNfXFq8gl4S42Etox1d7C4AXChdQ1meBzSqWEc98ng7wFdXxwoZaw9NTcv18E2zd/4l380DA2oLuUnVv4SAO82pXdaGoXzSXzAl93lHT/b/zIt/BRMPDnIOdWBsw=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2024-11-27T17:25:57Z"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58712720"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_B3_SPANID
"7ff6e4cce8be3230"
HTTP_X_FORWARDED_FOR
"66.211.170.66"
HTTP_X_REAL_IP
"66.211.170.66"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=rJ8RjP8zFguY3dA2NlVQjqB2fW99WF8R"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=rJ8RjP8zFguY3dA2NlVQjqB2fW99WF8R"
REDIRECT_SCRIPT_URI
"https://serene-kapitsa.92-205-108-223.plesk.page/api/_action/paypal/webhook/execute"
REDIRECT_SCRIPT_URL
"/api/_action/paypal/webhook/execute"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z0dfKByPwUmWSkDQ85IuTAAAABI"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"42204"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732730664
REQUEST_TIME_FLOAT
1732730664.0298
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=rJ8RjP8zFguY3dA2NlVQjqB2fW99WF8R"
SCRIPT_FILENAME
"/var/www/vhosts/serene-kapitsa.92-205-108-223.plesk.page/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://serene-kapitsa.92-205-108-223.plesk.page/api/_action/paypal/webhook/execute"
SCRIPT_URL
"/api/_action/paypal/webhook/execute"
SERVER_ADDR
"92.205.108.223"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"serene-kapitsa.92-205-108-223.plesk.page"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at serene-kapitsa.92-205-108-223.plesk.page Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_URL,DATABASE_URL,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,BLUE_GREEN_DEPLOYMENT,MAILER_URL,COMPOSER_HOME,APP_SECRET,INSTANCE_ID,DATABASE_SSL_DONT_VERIFY_SERVER_CERT"
UNIQUE_ID
"Z0dfKByPwUmWSkDQ85IuTAAAABI"
USER
"wings"
proxy-nokeepalive
"1"