Error 404 Not Found

POST https://www.devmt.de/api/_action/paypal/webhook/execute?sw-token=lImRbkkrRm1T6cGTOHS1ko4KA94QzFlE

Request / Response

Request

GET Parameters

Key Value
sw-token
"lImRbkkrRm1T6cGTOHS1ko4KA94QzFlE"

POST Parameters

Key Value
create_time
"2025-01-22T19:53:32.053Z"
event_type
"CHECKOUT.ORDER.APPROVED"
event_version
"1.0"
id
"WH-0PR836454L755253Y-88U51309L2860900U"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-0PR836454L755253Y-88U51309L2860900U"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-0PR836454L755253Y-88U51309L2860900U/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "create_time" => "2025-01-22T19:53:16Z"
  "purchase_units" => [
    [
      "reference_id" => "default"
      "amount" => [
        "currency_code" => "EUR"
        "value" => "114.95"
        "breakdown" => [
          "item_total" => [
            "currency_code" => "EUR"
            "value" => "109.00"
          ]
          "shipping" => [
            "currency_code" => "EUR"
            "value" => "5.95"
          ]
          "handling" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "tax_total" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
        ]
      ]
      "payee" => [
        "email_address" => "paypal@mactrade.de"
        "merchant_id" => "BXYR2EHMLNGQ2"
        "display_data" => [
          "brand_name" => "MacTrade GmbH"
        ]
      ]
      "custom_id" => "{"orderTransactionId":"e9aeb8fce8484809878bd413d7b92f72","pluginVersion":"6.5.0","shopwareVersion":"6.4.20.0"}"
      "invoice_id" => "1846093503"
      "items" => [
        [
          "name" => "Apple Airtag 4er- Pack"
          "unit_amount" => [
            "currency_code" => "EUR"
            "value" => "109.00"
          ]
          "tax" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "quantity" => "1"
          "sku" => "63349"
          "tax_rate" => "0"
          "category" => "PHYSICAL_GOODS"
        ]
      ]
      "shipping" => [
        "name" => [
          "full_name" => "Nikolai Sachs"
        ]
        "address" => [
          "address_line_1" => "Vöhlinstr., 8 1/3"
          "address_line_2" => "Vöhlinstr., 8 1/3"
          "admin_area_2" => "Memmingen"
          "postal_code" => "87700"
          "country_code" => "DE"
        ]
      ]
    ]
  ]
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/14U40686X0251281X"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/14U40686X0251281X"
      "rel" => "update"
      "method" => "PATCH"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/14U40686X0251281X/capture"
      "rel" => "capture"
      "method" => "POST"
    ]
  ]
  "id" => "14U40686X0251281X"
  "payment_source" => [
    "paypal" => [
      "email_address" => "niko.amaru@gmx.de"
      "account_id" => "HNBZYFWJRMZP4"
      "account_status" => "VERIFIED"
      "name" => [
        "given_name" => "Nikolai"
        "surname" => "Sachs"
      ]
      "address" => [
        "address_line_1" => "Vöhlinstr., 8 1/3"
        "address_line_2" => "Vöhlinstr., 8 1/3"
        "admin_area_2" => "Memmingen"
        "postal_code" => "87700"
        "country_code" => "DE"
      ]
    ]
  ]
  "intent" => "CAPTURE"
  "payer" => [
    "name" => [
      "given_name" => "Nikolai"
      "surname" => "Sachs"
    ]
    "email_address" => "niko.amaru@gmx.de"
    "payer_id" => "HNBZYFWJRMZP4"
    "address" => [
      "address_line_1" => "Vöhlinstr., 8 1/3"
      "address_line_2" => "Vöhlinstr., 8 1/3"
      "admin_area_2" => "Memmingen"
      "postal_code" => "87700"
      "country_code" => "DE"
    ]
  ]
  "status" => "APPROVED"
]
resource_type
"checkout-order"
resource_version
"2.0"
summary
"An order has been approved by buyer"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_stopwatch_token
"3c0ab9"

Request Headers

Header Value
accept
"*/*"
content-length
"2614"
content-type
"application/json"
correlation-id
"f612414114bf8"
forwarded
"for="173.0.81.140";host="www.devmt.de";proto=https"
host
"www.devmt.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
"90f280fd-d8fa-11ef-8632-cd576f641341"
paypal-transmission-sig
"F9r7B5r2d3FCnqoy8DjmpuVRYYtwu7N45L3wEEqgVHZedG8+lLxzONH5YZhq9OoOrD3lRs3AWkPbj73ZB0VqKvRIQTWaqUEGqsxfV5Fg8TJM7WF2/ft4UHHcjc9pmfjb5VHICRs1W8FxREENqE3otb6sFYUVgOfMFrAddvTYu6w/pH8IJH9HMkst5A9Sopux6chYdsHgnQz8ycgcX7DFMmDK0+0tztFlunygjc9FDKs1s59VvvS0431s5hbzTCtcHVi3fAVUByf7Hl3uCLrJ5yrwI8L5LZJ24JmNXGT2ezOYVU6OsEr0c56LXnh9Iih7lr59OBYbyneRv9yAkNBbvA=="
paypal-transmission-time
"2025-01-22T19:53:35Z"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"PayPal/AUHR-214.0-58816597"
x-b3-spanid
"8ce67cc0154665e4"
x-forwarded-for
"173.0.81.140"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-0PR836454L755253Y-88U51309L2860900U",
    "event_version": "1.0",
    "create_time": "2025-01-22T19:53:32.053Z",
    "resource_type": "checkout-order",
    "resource_version": "2.0",
    "event_type": "CHECKOUT.ORDER.APPROVED",
    "summary": "An order has been approved by buyer",
    "resource": {
        "create_time": "2025-01-22T19:53:16Z",
        "purchase_units": [
            {
                "reference_id": "default",
                "amount": {
                    "currency_code": "EUR",
                    "value": "114.95",
                    "breakdown": {
                        "item_total": {
                            "currency_code": "EUR",
                            "value": "109.00"
                        },
                        "shipping": {
                            "currency_code": "EUR",
                            "value": "5.95"
                        },
                        "handling": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "tax_total": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        }
                    }
                },
                "payee": {
                    "email_address": "paypal@mactrade.de",
                    "merchant_id": "BXYR2EHMLNGQ2",
                    "display_data": {
                        "brand_name": "MacTrade GmbH"
                    }
                },
                "custom_id": "{\"orderTransactionId\":\"e9aeb8fce8484809878bd413d7b92f72\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.20.0\"}",
                "invoice_id": "1846093503",
                "items": [
                    {
                        "name": "Apple Airtag 4er- Pack",
                        "unit_amount": {
                            "currency_code": "EUR",
                            "value": "109.00"
                        },
                        "tax": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "quantity": "1",
                        "sku": "63349",
                        "tax_rate": "0",
                        "category": "PHYSICAL_GOODS"
                    }
                ],
                "shipping": {
                    "name": {
                        "full_name": "Nikolai Sachs"
                    },
                    "address": {
                        "address_line_1": "V\u00f6hlinstr., 8 1\/3",
                        "address_line_2": "V\u00f6hlinstr., 8 1\/3",
                        "admin_area_2": "Memmingen",
                        "postal_code": "87700",
                        "country_code": "DE"
                    }
                }
            }
        ],
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/14U40686X0251281X",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/14U40686X0251281X",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/14U40686X0251281X\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ],
        "id": "14U40686X0251281X",
        "payment_source": {
            "paypal": {
                "email_address": "niko.amaru@gmx.de",
                "account_id": "HNBZYFWJRMZP4",
                "account_status": "VERIFIED",
                "name": {
                    "given_name": "Nikolai",
                    "surname": "Sachs"
                },
                "address": {
                    "address_line_1": "V\u00f6hlinstr., 8 1\/3",
                    "address_line_2": "V\u00f6hlinstr., 8 1\/3",
                    "admin_area_2": "Memmingen",
                    "postal_code": "87700",
                    "country_code": "DE"
                }
            }
        },
        "intent": "CAPTURE",
        "payer": {
            "name": {
                "given_name": "Nikolai",
                "surname": "Sachs"
            },
            "email_address": "niko.amaru@gmx.de",
            "payer_id": "HNBZYFWJRMZP4",
            "address": {
                "address_line_1": "V\u00f6hlinstr., 8 1\/3",
                "address_line_2": "V\u00f6hlinstr., 8 1\/3",
                "admin_area_2": "Memmingen",
                "postal_code": "87700",
                "country_code": "DE"
            }
        },
        "status": "APPROVED"
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-0PR836454L755253Y-88U51309L2860900U",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-0PR836454L755253Y-88U51309L2860900U\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-0PR836454L755253Y-88U51309L2860900U","event_version":"1.0","create_time":"2025-01-22T19:53:32.053Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2025-01-22T19:53:16Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"114.95","breakdown":{"item_total":{"currency_code":"EUR","value":"109.00"},"shipping":{"currency_code":"EUR","value":"5.95"},"handling":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"paypal@mactrade.de","merchant_id":"BXYR2EHMLNGQ2","display_data":{"brand_name":"MacTrade GmbH"}},"custom_id":"{\"orderTransactionId\":\"e9aeb8fce8484809878bd413d7b92f72\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.20.0\"}","invoice_id":"1846093503","items":[{"name":"Apple Airtag 4er- Pack","unit_amount":{"currency_code":"EUR","value":"109.00"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","sku":"63349","tax_rate":"0","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Nikolai Sachs"},"address":{"address_line_1":"Vöhlinstr., 8 1/3","address_line_2":"Vöhlinstr., 8 1/3","admin_area_2":"Memmingen","postal_code":"87700","country_code":"DE"}}}],"links":[{"href":"https://api.paypal.com/v2/checkout/orders/14U40686X0251281X","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/checkout/orders/14U40686X0251281X","rel":"update","method":"PATCH"},{"href":"https://api.paypal.com/v2/checkout/orders/14U40686X0251281X/capture","rel":"capture","method":"POST"}],"id":"14U40686X0251281X","payment_source":{"paypal":{"email_address":"niko.amaru@gmx.de","account_id":"HNBZYFWJRMZP4","account_status":"VERIFIED","name":{"given_name":"Nikolai","surname":"Sachs"},"address":{"address_line_1":"Vöhlinstr., 8 1/3","address_line_2":"Vöhlinstr., 8 1/3","admin_area_2":"Memmingen","postal_code":"87700","country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Nikolai","surname":"Sachs"},"email_address":"niko.amaru@gmx.de","payer_id":"HNBZYFWJRMZP4","address":{"address_line_1":"Vöhlinstr., 8 1/3","address_line_2":"Vöhlinstr., 8 1/3","admin_area_2":"Memmingen","postal_code":"87700","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-0PR836454L755253Y-88U51309L2860900U","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-0PR836454L755253Y-88U51309L2860900U/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
"Wed, 22 Jan 2025 22:14:23 GMT"
server-timing
""
x-debug-token
"8b1b8d"

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
"def000001f8f23bf4c3a2e877b9258e405112682ef3a8f29b6407a5d0aa3794c40a0147421d819d6290861d5d1c47bc6c2ea61b390eee674be4d4fd75decd123e0243dff"
APP_URL
"https://www.devmt.de"
BLUE_GREEN_DEPLOYMENT
"0"
COMPOSER_HOME
"/var/www/vhosts/devmt.de/httpdocs/shopware-ce/var/cache/composer"
DATABASE_URL
"mysql://devmt_sw6:X!c75kn97@localhost:3306/devmt_sw6"
INSTANCE_ID
"V4BZlmGQ7wfV18k8AKEcoGEC6OwCSgQZ"
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
"localhost:9200"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw6_prod"
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
"2614"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/vhosts/devmt.de/httpdocs/shopware-ce/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/devmt.de"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"2614"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"f612414114bf8"
HTTP_FORWARDED
"for="173.0.81.140";host="www.devmt.de";proto=https"
HTTP_HOST
"www.devmt.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
"90f280fd-d8fa-11ef-8632-cd576f641341"
HTTP_PAYPAL_TRANSMISSION_SIG
"F9r7B5r2d3FCnqoy8DjmpuVRYYtwu7N45L3wEEqgVHZedG8+lLxzONH5YZhq9OoOrD3lRs3AWkPbj73ZB0VqKvRIQTWaqUEGqsxfV5Fg8TJM7WF2/ft4UHHcjc9pmfjb5VHICRs1W8FxREENqE3otb6sFYUVgOfMFrAddvTYu6w/pH8IJH9HMkst5A9Sopux6chYdsHgnQz8ycgcX7DFMmDK0+0tztFlunygjc9FDKs1s59VvvS0431s5hbzTCtcHVi3fAVUByf7Hl3uCLrJ5yrwI8L5LZJ24JmNXGT2ezOYVU6OsEr0c56LXnh9Iih7lr59OBYbyneRv9yAkNBbvA=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-01-22T19:53:35Z"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58816597"
HTTP_X_B3_SPANID
"8ce67cc0154665e4"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=lImRbkkrRm1T6cGTOHS1ko4KA94QzFlE"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"32539"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1737584063
REQUEST_TIME_FLOAT
1737584063.5432
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=lImRbkkrRm1T6cGTOHS1ko4KA94QzFlE"
SCRIPT_FILENAME
"/var/www/vhosts/devmt.de/httpdocs/shopware-ce/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"116.202.123.166"
SERVER_NAME
"www.devmt.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.26.2"
SYMFONY_DOTENV_PATH
"/var/www/vhosts/devmt.de/httpdocs/shopware-ce/.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"
USER
"devmt.de"