https://test.wohnen.de/api/_action/paypal/webhook/execute?sw-token=8p3JoXMrrUN6WAzf7KFbAHpyttuKtvBz

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"8p3JoXMrrUN6WAzf7KFbAHpyttuKtvBz"

POST Parameters

Key Value
create_time
"2024-11-09T10:39:02.696Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-29L40740R3243341F-0HM965398M456163W"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-29L40740R3243341F-0HM965398M456163W"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-29L40740R3243341F-0HM965398M456163W/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "8CL34775N86521334"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "2869.00"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "2869.00"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "43.10"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "2825.90"
    ]
  ]
  "invoice_id" => "1500119615"
  "custom_id" => "{"orderTransactionId":"f1e74cda08f34383ab0cbaad46d42e65","pluginVersion":"6.4.0","shopwareVersion":"6.4.20.2"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "0VP770978R0870928"
    ]
  ]
  "payee" => [
    "email_address" => "info@pharao24.de"
    "merchant_id" => "3SR8N236MRHKC"
  ]
  "create_time" => "2024-11-09T10:38:58Z"
  "update_time" => "2024-11-09T10:38:58Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/8CL34775N86521334"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/8CL34775N86521334/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/0VP770978R0870928"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for EUR 2869.0 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
authorization
""
content-length
"1680"
content-type
"application/json"
correlation-id
"9bbce73bb5e1f"
forwarded
"for="109.71.73.34";host="test.wohnen.de";proto=https"
host
"test.wohnen.de"
https
"on"
https-forwarded
"1"
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
"d879c57b-9e86-11ef-ab96-775452db6218"
paypal-transmission-sig
"C40o/d9Qe2Sf7AofYDkOx1uxeScpQ8sPuOFNMK+itdOJV1siyJ+SCvH9Qj66DAFiWlRCu69o6sR6PSJLtkEQQyCf5/cZMKSzwUYLzU1p4nE/Hok/rVnTAhg0SWpP56HLfMKgegSZS6cH5sIq+lTBfnZSk1glebUDyeQW2/ven2kA7iQJwCwjapKkXPZGUcEOGPCeeQSfn/uA0l01z8AAuM6dmFwA6UJl6upKzzK/LfL29cVxfJarbLgOEVJD/EUXEWakgm9h+pirR60HPgqA8Ko5r1rM8lPdJCz5+2Qjz2hh/qLQsO7bQLqQzbhLS+FAoJJQFkeh70ZK9TBGk0km+w=="
paypal-transmission-time
"2024-11-09T10:39:06Z"
ssl-offloaded
"1"
user-agent
"PayPal/AUHR-214.0-58712720"
x-b3-spanid
"51f229243f6d23f0"
x-forwarded-for
"109.71.73.34"
x-forwarded-server
"test.wohnen.de"
x-php-ob-level
"1"
x-real-ip
"173.0.81.65"

Request Content

Pretty

{
    "id": "WH-29L40740R3243341F-0HM965398M456163W",
    "event_version": "1.0",
    "create_time": "2024-11-09T10:39:02.696Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for EUR 2869.0 EUR",
    "resource": {
        "id": "8CL34775N86521334",
        "amount": {
            "currency_code": "EUR",
            "value": "2869.00"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "2869.00"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "43.10"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "2825.90"
            }
        },
        "invoice_id": "1500119615",
        "custom_id": "{\"orderTransactionId\":\"f1e74cda08f34383ab0cbaad46d42e65\",\"pluginVersion\":\"6.4.0\",\"shopwareVersion\":\"6.4.20.2\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "0VP770978R0870928"
            }
        },
        "payee": {
            "email_address": "info@pharao24.de",
            "merchant_id": "3SR8N236MRHKC"
        },
        "create_time": "2024-11-09T10:38:58Z",
        "update_time": "2024-11-09T10:38:58Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/8CL34775N86521334",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/8CL34775N86521334\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/0VP770978R0870928",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-29L40740R3243341F-0HM965398M456163W",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-29L40740R3243341F-0HM965398M456163W\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-29L40740R3243341F-0HM965398M456163W","event_version":"1.0","create_time":"2024-11-09T10:39:02.696Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 2869.0 EUR","resource":{"id":"8CL34775N86521334","amount":{"currency_code":"EUR","value":"2869.00"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"2869.00"},"paypal_fee":{"currency_code":"EUR","value":"43.10"},"net_amount":{"currency_code":"EUR","value":"2825.90"}},"invoice_id":"1500119615","custom_id":"{\"orderTransactionId\":\"f1e74cda08f34383ab0cbaad46d42e65\",\"pluginVersion\":\"6.4.0\",\"shopwareVersion\":\"6.4.20.2\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"0VP770978R0870928"}},"payee":{"email_address":"info@pharao24.de","merchant_id":"3SR8N236MRHKC"},"create_time":"2024-11-09T10:38:58Z","update_time":"2024-11-09T10:38:58Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/8CL34775N86521334","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/8CL34775N86521334/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/0VP770978R0870928","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-29L40740R3243341F-0HM965398M456163W","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-29L40740R3243341F-0HM965398M456163W/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, 09 Nov 2024 10:58:59 GMT"
x-debug-token
"192d04"
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
"def0000045bb78fc064e46f6f90a93c472ca6ec4b84177431715db7ff54bf328bba5760eca4e654884e58c0b8979965aba2d1b4780fdd2be041802055770ee3a8270421a"
APP_URL
"https://test.wohnen.de"
BLUE_GREEN_DEPLOYMENT
"1"
DATABASE_URL
"mysql://db-user-3:X2OXhzdmElS7lNWgxBA7@109.71.73.35:3306/db-3"
INSTANCE_ID
"Pg9BSvK9EeVQYJI5lKDowyLApB9OAged"
MAILER_URL
"null://localhost"
NODE_ENV
"production"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"93600"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1680"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/share/test.wohnen.de/htdocs/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/share"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_AUTHORIZATION
""
HTTP_CONTENT_LENGTH
"1680"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"9bbce73bb5e1f"
HTTP_FORWARDED
"for="109.71.73.34";host="test.wohnen.de";proto=https"
HTTP_HOST
"test.wohnen.de"
HTTP_HTTPS
"on"
HTTP_HTTPS_FORWARDED
"1"
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
"d879c57b-9e86-11ef-ab96-775452db6218"
HTTP_PAYPAL_TRANSMISSION_SIG
"C40o/d9Qe2Sf7AofYDkOx1uxeScpQ8sPuOFNMK+itdOJV1siyJ+SCvH9Qj66DAFiWlRCu69o6sR6PSJLtkEQQyCf5/cZMKSzwUYLzU1p4nE/Hok/rVnTAhg0SWpP56HLfMKgegSZS6cH5sIq+lTBfnZSk1glebUDyeQW2/ven2kA7iQJwCwjapKkXPZGUcEOGPCeeQSfn/uA0l01z8AAuM6dmFwA6UJl6upKzzK/LfL29cVxfJarbLgOEVJD/EUXEWakgm9h+pirR60HPgqA8Ko5r1rM8lPdJCz5+2Qjz2hh/qLQsO7bQLqQzbhLS+FAoJJQFkeh70ZK9TBGk0km+w=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2024-11-09T10:39:06Z"
HTTP_SSL_OFFLOADED
"1"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58712720"
HTTP_X_B3_SPANID
"51f229243f6d23f0"
HTTP_X_FORWARDED_FOR
"109.71.73.34"
HTTP_X_FORWARDED_SERVER
"test.wohnen.de"
HTTP_X_REAL_IP
"173.0.81.65"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=8p3JoXMrrUN6WAzf7KFbAHpyttuKtvBz"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"40052"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1731149939
REQUEST_TIME_FLOAT
1731149939.3366
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=8p3JoXMrrUN6WAzf7KFbAHpyttuKtvBz"
SCRIPT_FILENAME
"/var/www/share/test.wohnen.de/htdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"109.71.73.34"
SERVER_NAME
"test.wohnen.de"
SERVER_PORT
443
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.26.2"
SYMFONY_DOTENV_VARS
"APP_ENV,NODE_ENV,APP_SECRET,APP_URL,MAILER_URL,DATABASE_URL,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CDN_STRATEGY_DEFAULT"
USER
"web-user"