Error 404 Not Found

POST https://shoei-distribution.com/api/_action/paypal/webhook/execute?sw-token=ybEy2MgUYyioPzkVgryhtRPFJs0gYnxk

Request / Response

Request

GET Parameters

Key Value
sw-token
"ybEy2MgUYyioPzkVgryhtRPFJs0gYnxk"

POST Parameters

Key Value
create_time
"2025-04-03T09:00:03.924Z"
event_type
"PAYMENTS.PAYMENT.CREATED"
event_version
"1.0"
id
"WH-5EG07040NP436240P-8P711734BM4724146"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-5EG07040NP436240P-8P711734BM4724146"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-5EG07040NP436240P-8P711734BM4724146/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "update_time" => "2025-04-03T08:59:52Z"
  "create_time" => "2025-04-03T08:56:38Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v1/payments/payment/PAYID-M7XE2RQ4TC55117PG1304929"
      "rel" => "self"
      "method" => "GET"
    ]
  ]
  "id" => "PAYID-M7XE2RQ4TC55117PG1304929"
  "state" => "approved"
  "transactions" => [
    [
      "amount" => [
        "total" => "86.87"
        "currency" => "EUR"
        "details" => [
          "subtotal" => "62.97"
          "tax" => "0.00"
          "shipping" => "23.90"
          "insurance" => "0.00"
          "handling_fee" => "0.00"
          "shipping_discount" => "0.00"
          "discount" => "0.00"
        ]
      ]
      "payee" => [
        "merchant_id" => "5DSFMDLL6R85S"
        "email" => "paypal@shoei.de"
      ]
      "description" => "Center Pad S5 (GTA2/JCR2) Type-N"
      "invoice_number" => "112720"
      "soft_descriptor" => "PAYPAL *SHOEI DISTR"
      "item_list" => [
        "items" => [
          [
            "name" => "Center Pad S5 (GTA2/JCR2) Type-N"
            "sku" => "18.03.500.0"
            "price" => "62.97"
            "currency" => "EUR"
            "tax" => "0.00"
            "quantity" => 1
            "image_url" => ""
          ]
        ]
        "shipping_address" => [
          "recipient_name" => "Klas Nyström"
          "line1" => "Norrholmsvägen 22"
          "city" => "Saltsjö-Boo"
          "state" => ""
          "postal_code" => "13231"
          "country_code" => "SE"
        ]
      ]
      "related_resources" => [
        [
          "sale" => [
            "id" => "6A072607D5499364J"
            "state" => "completed"
            "amount" => [
              "total" => "86.87"
              "currency" => "EUR"
              "details" => [
                "subtotal" => "62.97"
                "tax" => "0.00"
                "shipping" => "23.90"
                "insurance" => "0.00"
                "handling_fee" => "0.00"
                "shipping_discount" => "0.00"
                "discount" => "0.00"
              ]
            ]
            "payment_mode" => "INSTANT_TRANSFER"
            "protection_eligibility" => "ELIGIBLE"
            "protection_eligibility_type" => "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE"
            "transaction_fee" => [
              "value" => "2.99"
              "currency" => "EUR"
            ]
            "receivable_amount" => [
              "value" => "86.87"
              "currency" => "EUR"
            ]
            "exchange_rate" => "0.088657476457284"
            "receipt_id" => "511024973792338"
            "parent_payment" => "PAYID-M7XE2RQ4TC55117PG1304929"
            "create_time" => "2025-04-03T08:59:52Z"
            "update_time" => "2025-04-03T08:59:52Z"
            "links" => [
              [
                "href" => "https://api.paypal.com/v1/payments/sale/6A072607D5499364J"
                "rel" => "self"
                "method" => "GET"
              ]
              [
                "href" => "https://api.paypal.com/v1/payments/sale/6A072607D5499364J/refund"
                "rel" => "refund"
                "method" => "POST"
              ]
              [
                "href" => "https://api.paypal.com/v1/payments/payment/PAYID-M7XE2RQ4TC55117PG1304929"
                "rel" => "parent_payment"
                "method" => "GET"
              ]
            ]
            "soft_descriptor" => "PAYPAL *SHOEI DISTR"
          ]
        ]
      ]
    ]
  ]
  "intent" => "sale"
  "payer" => [
    "payment_method" => "paypal"
    "status" => "VERIFIED"
    "payer_info" => [
      "email" => "klas.nystrom@gmail.com"
      "first_name" => "Klas"
      "last_name" => "Nyström"
      "payer_id" => "EDN8BKDMM9AMN"
      "shipping_address" => [
        "recipient_name" => "Klas Nyström"
        "line1" => "Norrholmsvägen 22"
        "city" => "Saltsjö-Boo"
        "state" => ""
        "postal_code" => "13231"
        "country_code" => "SE"
      ]
      "phone" => "709150740"
      "country_code" => "SE"
    ]
  ]
  "cart" => "9F877977368550837"
]
resource_type
"payment"
summary
"Checkout payment is created and approved by buyer"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_stopwatch_token
"9779ba"

Request Headers

Header Value
accept
"*/*"
content-length
"3026"
content-type
"application/json"
correlation-id
"f838411caa258"
forwarded
"for="173.0.81.140";host="shoei-distribution.com";proto=https"
host
"shoei-distribution.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
"0a48188e-106a-11f0-83e9-b1c9b00f16c0"
paypal-transmission-sig
"eu8Ypl1gbxP3WgeBab9PDO5nXQteBc6oHThdnjO+M7k+07q+qIy9FuE8BkMmbecWtRcMwMpMGQWsk1TFNxwItOjX/Jhu4vU2Eo+TyUGZJ0XhGhYp9RW8hJrvFD5gdiwflZuwgYVMl+3RGlQcCcVeaMy2gnU3VyRWIQxmVE9y/4rKOYvYrit0HlkLzJzvpjjsJeYm32wdqybZYo43MOo65RzCWCba0M2wtltGYqQx4c/ZQUIBsziZbl2R0YxKV3zgH+/sTEfRCGvk/Fa3Rgcd9ovabhU5plXl0lY0NaSnnuXKLjuhgrGmIQI2A3MTpUnwuQnYUqxUy9eY6/jBzgwvSA=="
paypal-transmission-time
"2025-04-03T09:00:07Z"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"PayPal/AUHR-214.0-58843836"
x-b3-spanid
"89f666a7de4e8cd0"
x-forwarded-for
"173.0.81.140"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-5EG07040NP436240P-8P711734BM4724146",
    "event_version": "1.0",
    "create_time": "2025-04-03T09:00:03.924Z",
    "resource_type": "payment",
    "event_type": "PAYMENTS.PAYMENT.CREATED",
    "summary": "Checkout payment is created and approved by buyer",
    "resource": {
        "update_time": "2025-04-03T08:59:52Z",
        "create_time": "2025-04-03T08:56:38Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v1\/payments\/payment\/PAYID-M7XE2RQ4TC55117PG1304929",
                "rel": "self",
                "method": "GET"
            }
        ],
        "id": "PAYID-M7XE2RQ4TC55117PG1304929",
        "state": "approved",
        "transactions": [
            {
                "amount": {
                    "total": "86.87",
                    "currency": "EUR",
                    "details": {
                        "subtotal": "62.97",
                        "tax": "0.00",
                        "shipping": "23.90",
                        "insurance": "0.00",
                        "handling_fee": "0.00",
                        "shipping_discount": "0.00",
                        "discount": "0.00"
                    }
                },
                "payee": {
                    "merchant_id": "5DSFMDLL6R85S",
                    "email": "paypal@shoei.de"
                },
                "description": "Center Pad S5 (GTA2\/JCR2) Type-N",
                "invoice_number": "112720",
                "soft_descriptor": "PAYPAL *SHOEI DISTR",
                "item_list": {
                    "items": [
                        {
                            "name": "Center Pad S5 (GTA2\/JCR2) Type-N",
                            "sku": "18.03.500.0",
                            "price": "62.97",
                            "currency": "EUR",
                            "tax": "0.00",
                            "quantity": 1,
                            "image_url": ""
                        }
                    ],
                    "shipping_address": {
                        "recipient_name": "Klas Nystr\u00f6m",
                        "line1": "Norrholmsv\u00e4gen 22",
                        "city": "Saltsj\u00f6-Boo",
                        "state": "",
                        "postal_code": "13231",
                        "country_code": "SE"
                    }
                },
                "related_resources": [
                    {
                        "sale": {
                            "id": "6A072607D5499364J",
                            "state": "completed",
                            "amount": {
                                "total": "86.87",
                                "currency": "EUR",
                                "details": {
                                    "subtotal": "62.97",
                                    "tax": "0.00",
                                    "shipping": "23.90",
                                    "insurance": "0.00",
                                    "handling_fee": "0.00",
                                    "shipping_discount": "0.00",
                                    "discount": "0.00"
                                }
                            },
                            "payment_mode": "INSTANT_TRANSFER",
                            "protection_eligibility": "ELIGIBLE",
                            "protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE",
                            "transaction_fee": {
                                "value": "2.99",
                                "currency": "EUR"
                            },
                            "receivable_amount": {
                                "value": "86.87",
                                "currency": "EUR"
                            },
                            "exchange_rate": "0.088657476457284",
                            "receipt_id": "511024973792338",
                            "parent_payment": "PAYID-M7XE2RQ4TC55117PG1304929",
                            "create_time": "2025-04-03T08:59:52Z",
                            "update_time": "2025-04-03T08:59:52Z",
                            "links": [
                                {
                                    "href": "https:\/\/api.paypal.com\/v1\/payments\/sale\/6A072607D5499364J",
                                    "rel": "self",
                                    "method": "GET"
                                },
                                {
                                    "href": "https:\/\/api.paypal.com\/v1\/payments\/sale\/6A072607D5499364J\/refund",
                                    "rel": "refund",
                                    "method": "POST"
                                },
                                {
                                    "href": "https:\/\/api.paypal.com\/v1\/payments\/payment\/PAYID-M7XE2RQ4TC55117PG1304929",
                                    "rel": "parent_payment",
                                    "method": "GET"
                                }
                            ],
                            "soft_descriptor": "PAYPAL *SHOEI DISTR"
                        }
                    }
                ]
            }
        ],
        "intent": "sale",
        "payer": {
            "payment_method": "paypal",
            "status": "VERIFIED",
            "payer_info": {
                "email": "klas.nystrom@gmail.com",
                "first_name": "Klas",
                "last_name": "Nystr\u00f6m",
                "payer_id": "EDN8BKDMM9AMN",
                "shipping_address": {
                    "recipient_name": "Klas Nystr\u00f6m",
                    "line1": "Norrholmsv\u00e4gen 22",
                    "city": "Saltsj\u00f6-Boo",
                    "state": "",
                    "postal_code": "13231",
                    "country_code": "SE"
                },
                "phone": "709150740",
                "country_code": "SE"
            }
        },
        "cart": "9F877977368550837"
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-5EG07040NP436240P-8P711734BM4724146",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-5EG07040NP436240P-8P711734BM4724146\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-5EG07040NP436240P-8P711734BM4724146","event_version":"1.0","create_time":"2025-04-03T09:00:03.924Z","resource_type":"payment","event_type":"PAYMENTS.PAYMENT.CREATED","summary":"Checkout payment is created and approved by buyer","resource":{"update_time":"2025-04-03T08:59:52Z","create_time":"2025-04-03T08:56:38Z","links":[{"href":"https://api.paypal.com/v1/payments/payment/PAYID-M7XE2RQ4TC55117PG1304929","rel":"self","method":"GET"}],"id":"PAYID-M7XE2RQ4TC55117PG1304929","state":"approved","transactions":[{"amount":{"total":"86.87","currency":"EUR","details":{"subtotal":"62.97","tax":"0.00","shipping":"23.90","insurance":"0.00","handling_fee":"0.00","shipping_discount":"0.00","discount":"0.00"}},"payee":{"merchant_id":"5DSFMDLL6R85S","email":"paypal@shoei.de"},"description":"Center Pad S5 (GTA2/JCR2) Type-N","invoice_number":"112720","soft_descriptor":"PAYPAL *SHOEI DISTR","item_list":{"items":[{"name":"Center Pad S5 (GTA2/JCR2) Type-N","sku":"18.03.500.0","price":"62.97","currency":"EUR","tax":"0.00","quantity":1,"image_url":""}],"shipping_address":{"recipient_name":"Klas Nyström","line1":"Norrholmsvägen 22","city":"Saltsjö-Boo","state":"","postal_code":"13231","country_code":"SE"}},"related_resources":[{"sale":{"id":"6A072607D5499364J","state":"completed","amount":{"total":"86.87","currency":"EUR","details":{"subtotal":"62.97","tax":"0.00","shipping":"23.90","insurance":"0.00","handling_fee":"0.00","shipping_discount":"0.00","discount":"0.00"}},"payment_mode":"INSTANT_TRANSFER","protection_eligibility":"ELIGIBLE","protection_eligibility_type":"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE","transaction_fee":{"value":"2.99","currency":"EUR"},"receivable_amount":{"value":"86.87","currency":"EUR"},"exchange_rate":"0.088657476457284","receipt_id":"511024973792338","parent_payment":"PAYID-M7XE2RQ4TC55117PG1304929","create_time":"2025-04-03T08:59:52Z","update_time":"2025-04-03T08:59:52Z","links":[{"href":"https://api.paypal.com/v1/payments/sale/6A072607D5499364J","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/payments/sale/6A072607D5499364J/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v1/payments/payment/PAYID-M7XE2RQ4TC55117PG1304929","rel":"parent_payment","method":"GET"}],"soft_descriptor":"PAYPAL *SHOEI DISTR"}}]}],"intent":"sale","payer":{"payment_method":"paypal","status":"VERIFIED","payer_info":{"email":"klas.nystrom@gmail.com","first_name":"Klas","last_name":"Nyström","payer_id":"EDN8BKDMM9AMN","shipping_address":{"recipient_name":"Klas Nyström","line1":"Norrholmsvägen 22","city":"Saltsjö-Boo","state":"","postal_code":"13231","country_code":"SE"},"phone":"709150740","country_code":"SE"}},"cart":"9F877977368550837"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-5EG07040NP436240P-8P711734BM4724146","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-5EG07040NP436240P-8P711734BM4724146/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,indexing-behavior,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,indexing-behavior,sw-include-seo-urls"
cache-control
"no-cache, private"
content-type
"application/json"
date
"Fri, 04 Apr 2025 21:38:13 GMT"
server-timing
""
x-debug-token
"fe8309"

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
"def00000eb1df0374aac86745abb24d91d5f5c424fbee69769f101870f526e442a5eb9e759f86d2cf76474b8f34dca8039af6440899640059d77dda05546f3caed3814fe"
APP_URL
"https://shoei-distribution.com/"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/vhosts/shoei-distribution.com/shoei-distribution.com/var/cache/composer"
DATABASE_URL
"mysql://shoei-4922:Xk%4091h6k0@localhost:3306/db_shoei_shopware6"
INSTANCE_ID
"kmK4fBJViYjhq4iPGUjDgioA30UdPURJ"
LOCK_DSN
"flock"
MAILER_URL
"null://localhost"
OPENSEARCH_URL
"http://localhost:9200"
PROXY_URL
"http://localhost"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
""
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_ES_THROW_EXCEPTION
"1"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"3026"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/shoei-distribution.com/shoei-distribution.com/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/shoei-distribution.com/shoei-distribution.com/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/shoei-distribution.com"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CORRELATION_ID
"f838411caa258"
HTTP_FORWARDED
"for="173.0.81.140";host="shoei-distribution.com";proto=https"
HTTP_HOST
"shoei-distribution.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
"0a48188e-106a-11f0-83e9-b1c9b00f16c0"
HTTP_PAYPAL_TRANSMISSION_SIG
"eu8Ypl1gbxP3WgeBab9PDO5nXQteBc6oHThdnjO+M7k+07q+qIy9FuE8BkMmbecWtRcMwMpMGQWsk1TFNxwItOjX/Jhu4vU2Eo+TyUGZJ0XhGhYp9RW8hJrvFD5gdiwflZuwgYVMl+3RGlQcCcVeaMy2gnU3VyRWIQxmVE9y/4rKOYvYrit0HlkLzJzvpjjsJeYm32wdqybZYo43MOo65RzCWCba0M2wtltGYqQx4c/ZQUIBsziZbl2R0YxKV3zgH+/sTEfRCGvk/Fa3Rgcd9ovabhU5plXl0lY0NaSnnuXKLjuhgrGmIQI2A3MTpUnwuQnYUqxUy9eY6/jBzgwvSA=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-04-03T09:00:07Z"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58843836"
HTTP_X_B3_SPANID
"89f666a7de4e8cd0"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=ybEy2MgUYyioPzkVgryhtRPFJs0gYnxk"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_QUERY_STRING
"sw-token=ybEy2MgUYyioPzkVgryhtRPFJs0gYnxk"
REDIRECT_SCRIPT_URI
"https://shoei-distribution.com/api/_action/paypal/webhook/execute"
REDIRECT_SCRIPT_URL
"/api/_action/paypal/webhook/execute"
REDIRECT_SSL_TLS_SNI
"shoei-distribution.com"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z-BRRW52ebiyvZJmAWmy-gAAAdM"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"3941"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1743802693
REQUEST_TIME_FLOAT
1743802693.0358
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=ybEy2MgUYyioPzkVgryhtRPFJs0gYnxk"
SCRIPT_FILENAME
"/var/www/vhosts/shoei-distribution.com/shoei-distribution.com/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://shoei-distribution.com/api/_action/paypal/webhook/execute"
SCRIPT_URL
"/api/_action/paypal/webhook/execute"
SERVER_ADDR
"81.169.178.48"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"shoei-distribution.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"shoei-distribution.com"
SYMFONY_DOTENV_PATH
"/var/www/vhosts/shoei-distribution.com/shoei-distribution.com/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_URL,OPENSEARCH_URL,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,PROXY_URL,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,LOCK_DSN,COMPOSER_HOME,SHOPWARE_ES_HOSTS,SHOPWARE_CDN_STRATEGY_DEFAULT"
UNIQUE_ID
"Z-BRRW52ebiyvZJmAWmy-gAAAdM"
USER
"shoei-dist"
proxy-nokeepalive
"1"