https://www.sanetta-dev.kunden.loewenstark.de/api/_action/paypal/webhook/execute?sw-token=ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq"

POST Parameters

Key Value
create_time
"2024-11-23T16:26:31.075Z"
event_type
"PAYMENT.SALE.REFUNDED"
event_version
"1.0"
id
"WH-9PH26983J4623745V-9PX13204KM377662E"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9PH26983J4623745V-9PX13204KM377662E"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9PH26983J4623745V-9PX13204KM377662E/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "89T520337M053621M"
  "state" => "completed"
  "amount" => [
    "total" => "38.75"
    "currency" => "EUR"
  ]
  "refund_from_received_amount" => [
    "value" => "37.86"
    "currency" => "EUR"
  ]
  "refund_from_transaction_fee" => [
    "value" => "0.89"
    "currency" => "EUR"
  ]
  "total_refunded_amount" => [
    "value" => "38.75"
    "currency" => "EUR"
  ]
  "refund_to_payer" => [
    "value" => "38.75"
    "currency" => "EUR"
  ]
  "invoice_number" => "512388297"
  "custom" => "e8a4b7ac94fc43c09c1d7b30aef2470a"
  "parent_payment" => "PAYID-M47XZSQ6JR28964644991448"
  "sale_id" => "56L28115H5125334X"
  "create_time" => "2024-11-23T16:26:26Z"
  "update_time" => "2024-11-23T16:26:26Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v1/payments/refund/89T520337M053621M"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v1/payments/payment/PAYID-M47XZSQ6JR28964644991448"
      "rel" => "parent_payment"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v1/payments/sale/56L28115H5125334X"
      "rel" => "sale"
      "method" => "GET"
    ]
  ]
  "refund_reason_code" => "REFUND"
  "application_context" => [
    "related_qualifiers" => [
      [
        "type" => "CART"
        "id" => "25839467CJ8486141"
      ]
    ]
  ]
]
resource_type
"refund"
summary
"A EUR 38.75 EUR sale payment was refunded"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
connection
"close"
content-length
"1531"
content-type
"application/json"
correlation-id
"4cd3da257528e"
host
"www.sanetta-dev.kunden.loewenstark.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
"b4a4c10c-a9b7-11ef-885d-cf254a51a1ad"
paypal-transmission-sig
"UfKUj2eYFOFoXkMLbJpwkYGFcN5rdr5H/GGZTV+McfKpsLFoomMqpOUWrt7lFY4mR0+A/m9kYDKwi28/IqUMlQUGDqyMWerzpyv7uXxZGmLYb7PRSvLFuGW7T7v+KaKGpMQq9W6w5B0l4j8NU1jhp/Ena/s9UJ+6MFGGKu+Qjrro35h7fZb6X7O34VPm3ccSEFsbNbxANcWtBx8Fc/Jdv7L6upKmXa/Yg0ekmX2TZ/BkvZOhBZ+dEetp0VSpygn792RimxpgGZEG0If+z+Z8LKlwFiT6USQT5vvw1OJR2GXN3GvXB6R7j0dSrgWGwfCkcJj36dP3tQg0BN/YIRn5HA=="
paypal-transmission-time
"2024-11-23T16:26:34Z"
user-agent
"PayPal/AUHR-214.0-58712720"
x-b3-spanid
"84b93a5c3dc54fa1"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-9PH26983J4623745V-9PX13204KM377662E",
    "event_version": "1.0",
    "create_time": "2024-11-23T16:26:31.075Z",
    "resource_type": "refund",
    "event_type": "PAYMENT.SALE.REFUNDED",
    "summary": "A EUR 38.75 EUR sale payment was refunded",
    "resource": {
        "id": "89T520337M053621M",
        "state": "completed",
        "amount": {
            "total": "38.75",
            "currency": "EUR"
        },
        "refund_from_received_amount": {
            "value": "37.86",
            "currency": "EUR"
        },
        "refund_from_transaction_fee": {
            "value": "0.89",
            "currency": "EUR"
        },
        "total_refunded_amount": {
            "value": "38.75",
            "currency": "EUR"
        },
        "refund_to_payer": {
            "value": "38.75",
            "currency": "EUR"
        },
        "invoice_number": "512388297",
        "custom": "e8a4b7ac94fc43c09c1d7b30aef2470a",
        "parent_payment": "PAYID-M47XZSQ6JR28964644991448",
        "sale_id": "56L28115H5125334X",
        "create_time": "2024-11-23T16:26:26Z",
        "update_time": "2024-11-23T16:26:26Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v1\/payments\/refund\/89T520337M053621M",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v1\/payments\/payment\/PAYID-M47XZSQ6JR28964644991448",
                "rel": "parent_payment",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v1\/payments\/sale\/56L28115H5125334X",
                "rel": "sale",
                "method": "GET"
            }
        ],
        "refund_reason_code": "REFUND",
        "application_context": {
            "related_qualifiers": [
                {
                    "type": "CART",
                    "id": "25839467CJ8486141"
                }
            ]
        }
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9PH26983J4623745V-9PX13204KM377662E",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9PH26983J4623745V-9PX13204KM377662E\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-9PH26983J4623745V-9PX13204KM377662E","event_version":"1.0","create_time":"2024-11-23T16:26:31.075Z","resource_type":"refund","event_type":"PAYMENT.SALE.REFUNDED","summary":"A EUR 38.75 EUR sale payment was refunded","resource":{"id":"89T520337M053621M","state":"completed","amount":{"total":"38.75","currency":"EUR"},"refund_from_received_amount":{"value":"37.86","currency":"EUR"},"refund_from_transaction_fee":{"value":"0.89","currency":"EUR"},"total_refunded_amount":{"value":"38.75","currency":"EUR"},"refund_to_payer":{"value":"38.75","currency":"EUR"},"invoice_number":"512388297","custom":"e8a4b7ac94fc43c09c1d7b30aef2470a","parent_payment":"PAYID-M47XZSQ6JR28964644991448","sale_id":"56L28115H5125334X","create_time":"2024-11-23T16:26:26Z","update_time":"2024-11-23T16:26:26Z","links":[{"href":"https://api.paypal.com/v1/payments/refund/89T520337M053621M","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/payments/payment/PAYID-M47XZSQ6JR28964644991448","rel":"parent_payment","method":"GET"},{"href":"https://api.paypal.com/v1/payments/sale/56L28115H5125334X","rel":"sale","method":"GET"}],"refund_reason_code":"REFUND","application_context":{"related_qualifiers":[{"type":"CART","id":"25839467CJ8486141"}]}},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-9PH26983J4623745V-9PX13204KM377662E","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-9PH26983J4623745V-9PX13204KM377662E/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, 23 Nov 2024 18:44:14 GMT"
x-debug-token
"efba7b"
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
"def00000b8390910c58ee7671dbb506c653559cddd26c6e69a1a5f7e6ff698100eb4c5db018275b1caab5159f9b1882bac3a83d1bd216339092979ab700e9a4b8cc5dd09"
APP_URL
"https://sanetta-dev.kunden.loewenstark.de"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/html/sanetta/htdocs/var/cache/composer"
DATABASE_URL
"mysql://sanettasql1:BbnfzcMoqw@127.0.0.1:3306/sanettasql1"
INSTANCE_ID
"CQFHsvxxqi2tYnUS59rHCInljldFy2M9"
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
"1531"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/customers/webs/sanetta/htdocs/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/customers/webs/sanetta/htdocs/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_CORRELATION_ID
"4cd3da257528e"
HTTP_HOST
"www.sanetta-dev.kunden.loewenstark.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
"b4a4c10c-a9b7-11ef-885d-cf254a51a1ad"
HTTP_PAYPAL_TRANSMISSION_SIG
"UfKUj2eYFOFoXkMLbJpwkYGFcN5rdr5H/GGZTV+McfKpsLFoomMqpOUWrt7lFY4mR0+A/m9kYDKwi28/IqUMlQUGDqyMWerzpyv7uXxZGmLYb7PRSvLFuGW7T7v+KaKGpMQq9W6w5B0l4j8NU1jhp/Ena/s9UJ+6MFGGKu+Qjrro35h7fZb6X7O34VPm3ccSEFsbNbxANcWtBx8Fc/Jdv7L6upKmXa/Yg0ekmX2TZ/BkvZOhBZ+dEetp0VSpygn792RimxpgGZEG0If+z+Z8LKlwFiT6USQT5vvw1OJR2GXN3GvXB6R7j0dSrgWGwfCkcJj36dP3tQg0BN/YIRn5HA=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2024-11-23T16:26:34Z"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58712720"
HTTP_X_B3_SPANID
"84b93a5c3dc54fa1"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPRC
"/var/www/php-fcgi-scripts/froxlor/sanetta/sanetta-dev.kunden.loewenstark.de/"
PHP_FCGI_CHILDREN
"0"
PHP_FCGI_MAX_REQUESTS
"50"
PHP_SELF
"/index.php"
PWD
"/var/www/php-fcgi-scripts/froxlor/sanetta/sanetta-dev.kunden.loewenstark.de"
QUERY_STRING
"sw-token=ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq"
REDIRECT_SSL_TLS_SNI
"www.sanetta-dev.kunden.loewenstark.de"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z0Iifup809BAzcN8cLk2WgAAABM"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"173.0.81.65"
REMOTE_PORT
"6786"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732387454
REQUEST_TIME_FLOAT
1732387454.0076
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq"
SCRIPT_FILENAME
"/var/customers/webs/sanetta/htdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"88.99.104.12"
SERVER_ADMIN
"n.alzain@loewenstark.com"
SERVER_NAME
"www.sanetta-dev.kunden.loewenstark.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.62 (Debian) Server at www.sanetta-dev.kunden.loewenstark.de Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.62 (Debian)"
SSL_TLS_SNI
"www.sanetta-dev.kunden.loewenstark.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"
UNIQUE_ID
"Z0Iifup809BAzcN8cLk2WgAAABM"