https://geuther.426.agency/api/_action/paypal/webhook/execute?sw-token=N8uZX4WPnbHwzJb0XCgjDlxOC81TJJlc

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"N8uZX4WPnbHwzJb0XCgjDlxOC81TJJlc"

POST Parameters

Key Value
create_time
"2024-09-18T11:14:52.216Z"
event_type
"CHECKOUT.ORDER.APPROVED"
event_version
"1.0"
id
"WH-186954897L636402E-60676692AW741660W"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-186954897L636402E-60676692AW741660W"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-186954897L636402E-60676692AW741660W/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "create_time" => "2024-09-18T11:14:23Z"
  "purchase_units" => [
    [
      "reference_id" => "default"
      "amount" => [
        "currency_code" => "EUR"
        "value" => "120.98"
        "breakdown" => [
          "item_total" => [
            "currency_code" => "EUR"
            "value" => "120.98"
          ]
          "shipping" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "handling" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "tax_total" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
        ]
      ]
      "payee" => [
        "email_address" => "babiezgmbh@gmail.com"
        "merchant_id" => "3P6PJTCG453A2"
        "display_data" => [
          "brand_name" => "Geuther"
        ]
      ]
      "items" => [
        [
          "name" => "Gutschrift"
          "unit_amount" => [
            "currency_code" => "EUR"
            "value" => "1.00"
          ]
          "tax" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "quantity" => "1"
          "sku" => "Gutschrift"
          "tax_rate" => "0"
          "category" => "PHYSICAL_GOODS"
        ]
        [
          "name" => "Bettschutzgitter in 90. 110 und 140 cm"
          "unit_amount" => [
            "currency_code" => "EUR"
            "value" => "59.99"
          ]
          "tax" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "quantity" => "2"
          "sku" => "2112_ECO"
          "tax_rate" => "0"
          "category" => "PHYSICAL_GOODS"
        ]
      ]
      "shipping" => [
        "name" => [
          "full_name" => "Pierre Reinhardt"
        ]
        "address" => [
          "address_line_1" => "Bismarckstraße 72/2"
          "admin_area_2" => "Heilbronn"
          "postal_code" => "74074"
          "country_code" => "DE"
        ]
      ]
    ]
  ]
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/1H286723JW8808616"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/1H286723JW8808616"
      "rel" => "update"
      "method" => "PATCH"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/1H286723JW8808616/capture"
      "rel" => "capture"
      "method" => "POST"
    ]
  ]
  "id" => "1H286723JW8808616"
  "payment_source" => [
    "paypal" => [
      "email_address" => "piierre.reinhardt@googlemail.com"
      "account_id" => "989GXUT3857HE"
      "account_status" => "VERIFIED"
      "name" => [
        "given_name" => "Pierre"
        "surname" => "Reinhardt"
      ]
      "address" => [
        "country_code" => "DE"
      ]
    ]
  ]
  "intent" => "CAPTURE"
  "payer" => [
    "name" => [
      "given_name" => "Pierre"
      "surname" => "Reinhardt"
    ]
    "email_address" => "piierre.reinhardt@googlemail.com"
    "payer_id" => "989GXUT3857HE"
    "address" => [
      "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
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"VmpoSyhCwKk="
_route
"api.action.paypal.webhook.execute"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_since
Shopware\Core\Framework\Routing\Annotation\Since {#2357
  -value: "0.9.0"
}
_stopwatch_token
"f1665c"
auth_required
false
sw-context
Shopware\Core\Framework\Context {#2387
  #extensions: []
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #currencyFactor: 1.0
  #scope: "system"
  #ruleIds: []
  #source: Shopware\Core\Framework\Api\Context\SystemSource {#2390 …}
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2386 …}
  -states: []
}

Request Headers

Header Value
accept
"*/*"
content-length
"2415"
content-type
"application/json"
correlation-id
"0287b77447a58"
forwarded
"for="173.0.81.140";host="geuther.426.agency";proto=https"
host
"geuther.426.agency"
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
"3c132930-75af-11ef-870c-895de58d79c2"
paypal-transmission-sig
"HKgYmPkS8JxdiMfUGCQmOyXCx/mGjgBT7u6Ph4vNfIikWNwevk/cXx6Ha8xetBvSY9MUWZqlhrFyGA/IWE20n7foE7A5lXWu3omVodBGlkf/M0Bhdr2lcAPWpi1kYo82rUhvNDshhmrnasmlxFJn6znPQiAwFUnf+jnKCRww13Lm/lg4tWPWSlV+9AFwE3g0HMs30+Q81S1AmXi6Q0J8QWEZmg+GVK4Bfv0zTzKvwMHuMsHeEAOSHUyT0iSRpF23dpjwqOafLfm+FxgDU7Ecx1j2xQcK4scfd/1QpV/BpLBDd8Ai0AKgmL+beojCcPOL1l2Aj4wyOPJ8PTCD6STHUg=="
paypal-transmission-time
"2024-09-18T11:14:55Z"
user-agent
"PayPal/AUHR-214.0-58610764"
x-b3-spanid
"9a01e563850219fa"
x-forwarded-for
"173.0.81.140"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-186954897L636402E-60676692AW741660W",
    "event_version": "1.0",
    "create_time": "2024-09-18T11:14:52.216Z",
    "resource_type": "checkout-order",
    "resource_version": "2.0",
    "event_type": "CHECKOUT.ORDER.APPROVED",
    "summary": "An order has been approved by buyer",
    "resource": {
        "create_time": "2024-09-18T11:14:23Z",
        "purchase_units": [
            {
                "reference_id": "default",
                "amount": {
                    "currency_code": "EUR",
                    "value": "120.98",
                    "breakdown": {
                        "item_total": {
                            "currency_code": "EUR",
                            "value": "120.98"
                        },
                        "shipping": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "handling": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "tax_total": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        }
                    }
                },
                "payee": {
                    "email_address": "babiezgmbh@gmail.com",
                    "merchant_id": "3P6PJTCG453A2",
                    "display_data": {
                        "brand_name": "Geuther"
                    }
                },
                "items": [
                    {
                        "name": "Gutschrift",
                        "unit_amount": {
                            "currency_code": "EUR",
                            "value": "1.00"
                        },
                        "tax": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "quantity": "1",
                        "sku": "Gutschrift",
                        "tax_rate": "0",
                        "category": "PHYSICAL_GOODS"
                    },
                    {
                        "name": "Bettschutzgitter in 90. 110 und 140 cm",
                        "unit_amount": {
                            "currency_code": "EUR",
                            "value": "59.99"
                        },
                        "tax": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "quantity": "2",
                        "sku": "2112_ECO",
                        "tax_rate": "0",
                        "category": "PHYSICAL_GOODS"
                    }
                ],
                "shipping": {
                    "name": {
                        "full_name": "Pierre Reinhardt"
                    },
                    "address": {
                        "address_line_1": "Bismarckstra\u00dfe 72\/2",
                        "admin_area_2": "Heilbronn",
                        "postal_code": "74074",
                        "country_code": "DE"
                    }
                }
            }
        ],
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/1H286723JW8808616",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/1H286723JW8808616",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/1H286723JW8808616\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ],
        "id": "1H286723JW8808616",
        "payment_source": {
            "paypal": {
                "email_address": "piierre.reinhardt@googlemail.com",
                "account_id": "989GXUT3857HE",
                "account_status": "VERIFIED",
                "name": {
                    "given_name": "Pierre",
                    "surname": "Reinhardt"
                },
                "address": {
                    "country_code": "DE"
                }
            }
        },
        "intent": "CAPTURE",
        "payer": {
            "name": {
                "given_name": "Pierre",
                "surname": "Reinhardt"
            },
            "email_address": "piierre.reinhardt@googlemail.com",
            "payer_id": "989GXUT3857HE",
            "address": {
                "country_code": "DE"
            }
        },
        "status": "APPROVED"
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-186954897L636402E-60676692AW741660W",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-186954897L636402E-60676692AW741660W\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-186954897L636402E-60676692AW741660W","event_version":"1.0","create_time":"2024-09-18T11:14:52.216Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2024-09-18T11:14:23Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"120.98","breakdown":{"item_total":{"currency_code":"EUR","value":"120.98"},"shipping":{"currency_code":"EUR","value":"0.00"},"handling":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"babiezgmbh@gmail.com","merchant_id":"3P6PJTCG453A2","display_data":{"brand_name":"Geuther"}},"items":[{"name":"Gutschrift","unit_amount":{"currency_code":"EUR","value":"1.00"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","sku":"Gutschrift","tax_rate":"0","category":"PHYSICAL_GOODS"},{"name":"Bettschutzgitter in 90. 110 und 140 cm","unit_amount":{"currency_code":"EUR","value":"59.99"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"2","sku":"2112_ECO","tax_rate":"0","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Pierre Reinhardt"},"address":{"address_line_1":"Bismarckstraße 72/2","admin_area_2":"Heilbronn","postal_code":"74074","country_code":"DE"}}}],"links":[{"href":"https://api.paypal.com/v2/checkout/orders/1H286723JW8808616","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/checkout/orders/1H286723JW8808616","rel":"update","method":"PATCH"},{"href":"https://api.paypal.com/v2/checkout/orders/1H286723JW8808616/capture","rel":"capture","method":"POST"}],"id":"1H286723JW8808616","payment_source":{"paypal":{"email_address":"piierre.reinhardt@googlemail.com","account_id":"989GXUT3857HE","account_status":"VERIFIED","name":{"given_name":"Pierre","surname":"Reinhardt"},"address":{"country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Pierre","surname":"Reinhardt"},"email_address":"piierre.reinhardt@googlemail.com","payer_id":"989GXUT3857HE","address":{"country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-186954897L636402E-60676692AW741660W","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-186954897L636402E-60676692AW741660W/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
"Thu, 19 Sep 2024 01:40:06 GMT"
x-debug-token
"9991c5"
x-frame-options
"sameorigin"

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
"def0000079af0e3bcf800740ead179a8d1f525a59d170b41e4770274da501b0a1faaf477250b97e9a23e901895b647bf4b50772fdea1f439c611215d847278d4ddfc9e7b"
APP_URL
"https://geuther.426.agency"
APP_URL_CHECK_DISABLED
"1"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/geuther_staging/var/cache/composer"
DATABASE_SSL_CA
""
DATABASE_SSL_CERT
""
DATABASE_SSL_DONT_VERIFY_SERVER_CERT
""
DATABASE_SSL_KEY
""
DATABASE_URL
"mysql://geuther_sw6:74pno9bpqs5o2hex@localhost:3306/geuther_clean_staging"
INSTANCE_ID
"TtwWpSmaeIJL9wXkFbI7Ux5Ofh2AXqcE"
LOCK_DSN
"flock"
MAILER_DSN
"null://null"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"http://localhost:9200"
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
"2415"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/geuther_staging/public"
CONTEXT_PREFIX
""
DD_ENV
"prod"
DD_PROFILING_ENABLED
"true"
DD_SERVICE
"shopware"
DD_VERSION
"1.0.0"
DOCUMENT_ROOT
"/var/www/geuther_staging/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CORRELATION_ID
"0287b77447a58"
HTTP_FORWARDED
"for="173.0.81.140";host="geuther.426.agency";proto=https"
HTTP_HOST
"geuther.426.agency"
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
"3c132930-75af-11ef-870c-895de58d79c2"
HTTP_PAYPAL_TRANSMISSION_SIG
"HKgYmPkS8JxdiMfUGCQmOyXCx/mGjgBT7u6Ph4vNfIikWNwevk/cXx6Ha8xetBvSY9MUWZqlhrFyGA/IWE20n7foE7A5lXWu3omVodBGlkf/M0Bhdr2lcAPWpi1kYo82rUhvNDshhmrnasmlxFJn6znPQiAwFUnf+jnKCRww13Lm/lg4tWPWSlV+9AFwE3g0HMs30+Q81S1AmXi6Q0J8QWEZmg+GVK4Bfv0zTzKvwMHuMsHeEAOSHUyT0iSRpF23dpjwqOafLfm+FxgDU7Ecx1j2xQcK4scfd/1QpV/BpLBDd8Ai0AKgmL+beojCcPOL1l2Aj4wyOPJ8PTCD6STHUg=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2024-09-18T11:14:55Z"
HTTP_USER_AGENT
"PayPal/AUHR-214.0-58610764"
HTTP_X_B3_SPANID
"9a01e563850219fa"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=N8uZX4WPnbHwzJb0XCgjDlxOC81TJJlc"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=N8uZX4WPnbHwzJb0XCgjDlxOC81TJJlc"
REDIRECT_SSL_TLS_SNI
"geuther.426.agency"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"53555"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1726710006
REQUEST_TIME_FLOAT
1726710006.2617
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=N8uZX4WPnbHwzJb0XCgjDlxOC81TJJlc"
SCRIPT_FILENAME
"/var/www/geuther_staging/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"89.22.110.190"
SERVER_ADMIN
"webmaster@localhost"
SERVER_NAME
"geuther.426.agency"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at geuther.426.agency Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
SSL_TLS_SNI
"geuther.426.agency"
SYMFONY_DOTENV_VARS
"LOCK_DSN,MAILER_DSN,APP_ENV,APP_URL,APP_SECRET,DATABASE_URL,DATABASE_SSL_CA,DATABASE_SSL_CERT,DATABASE_SSL_KEY,DATABASE_SSL_DONT_VERIFY_SERVER_CERT,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,APP_URL_CHECK_DISABLED,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL"
USER
"www-data"
proxy-nokeepalive
"1"