WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72" |
POST Parameters
Key | Value |
---|---|
create_time | "2024-09-18T14:12:17.978Z" |
event_type | "PAYMENT.CAPTURE.COMPLETED" |
event_version | "1.0" |
id | "WH-97N83577F92279546-32S90171BN931935H" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-97N83577F92279546-32S90171BN931935H" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-97N83577F92279546-32S90171BN931935H/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "id" => "1FA42612RX7275400" "amount" => [ "currency_code" => "EUR" "value" => "29.99" ] "final_capture" => true "seller_protection" => [ "status" => "ELIGIBLE" "dispute_categories" => [ "ITEM_NOT_RECEIVED" "UNAUTHORIZED_TRANSACTION" ] ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "29.99" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "1.29" ] "net_amount" => [ "currency_code" => "EUR" "value" => "28.70" ] ] "invoice_id" => "19360" "custom_id" => "{"orderTransactionId":"01920579988a7163b0021c283380bace","pluginVersion":"8.2.0","shopwareVersion":"6.5.6.1"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "9BU18788YX9187338" ] ] "payee" => [ "email_address" => "paypal2@obst.de" "merchant_id" => "MDCPJSZMU9WBW" ] "create_time" => "2024-09-18T14:12:13Z" "update_time" => "2024-09-18T14:12:13Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/1FA42612RX7275400" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/1FA42612RX7275400/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/9BU18788YX9187338" "rel" => "up" "method" => "GET" ] ] ] |
resource_type | "capture" |
resource_version | "2.0" |
summary | "Payment completed for EUR 29.99 EUR" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "JQU8DCN4j6M=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | Shopware\Core\Framework\Routing\Annotation\RouteScope {#1714 -scopes: [ "api" ] } |
_route_params | [ "auth_required" => false ] |
_since | Shopware\Core\Framework\Routing\Annotation\Since {#1703 -value: "0.9.0" } |
_stopwatch_token | "09b52b" |
auth_required | false |
sw-context | Shopware\Core\Framework\Context {#1695 #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #scope: "system" #rulesLocked: false #extensions: [] #source: Shopware\Core\Framework\Api\Context\SystemSource {#1677 …} #ruleIds: [] #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyFactor: 1.0 #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1676 …} -states: [] } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
connection | "close" |
content-length | "1665" |
content-type | "application/json" |
correlation-id | "2994920c35b14" |
host | "obst-dev.sw6aufbau.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 | "052d0440-75c8-11ef-ad52-01b4319ddb52" |
paypal-transmission-sig | "IbYnUlg/DO3dWhmt6d96FJSp3IUXgtaJ8XQHGKCZMyg4e8t9zYj3Ev0EfkQSt8btkvkvUSS5CZkcCrm4FhnTb6d3r8eMUi1gEv5mzp3s55Fm8AFtMVyv/YGtmRXzncOAovDtt7RC6K898u3VSC7U5kSJBwmJ9u6GtIvu+rXBErtLKdhUHIo6MoCSzl+URaP6L3esCLwsDss42w+JoEW/uruXCWSmQbnNcAQCk7X0YUG0QiK1WcoCm1yHUgIXSkaEGDK+p/Kv7BxRcidJCKBH6vX2+MZw/Uxd4Wc6i/AwixfnKYqaS5/Ft6uE8SgiWVULJUfHeHI4mAgpk9Uh3F3tcg==" |
paypal-transmission-time | "2024-09-18T14:12:21Z" |
user-agent | "PayPal/AUHR-214.0-58610764" |
x-b3-spanid | "9f4cef81c79bb813" |
x-php-ob-level | "0" |
Request Content
Pretty
{ "id": "WH-97N83577F92279546-32S90171BN931935H", "event_version": "1.0", "create_time": "2024-09-18T14:12:17.978Z", "resource_type": "capture", "resource_version": "2.0", "event_type": "PAYMENT.CAPTURE.COMPLETED", "summary": "Payment completed for EUR 29.99 EUR", "resource": { "id": "1FA42612RX7275400", "amount": { "currency_code": "EUR", "value": "29.99" }, "final_capture": true, "seller_protection": { "status": "ELIGIBLE", "dispute_categories": [ "ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION" ] }, "seller_receivable_breakdown": { "gross_amount": { "currency_code": "EUR", "value": "29.99" }, "paypal_fee": { "currency_code": "EUR", "value": "1.29" }, "net_amount": { "currency_code": "EUR", "value": "28.70" } }, "invoice_id": "19360", "custom_id": "{\"orderTransactionId\":\"01920579988a7163b0021c283380bace\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.6.1\"}", "status": "COMPLETED", "supplementary_data": { "related_ids": { "order_id": "9BU18788YX9187338" } }, "payee": { "email_address": "paypal2@obst.de", "merchant_id": "MDCPJSZMU9WBW" }, "create_time": "2024-09-18T14:12:13Z", "update_time": "2024-09-18T14:12:13Z", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/1FA42612RX7275400", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/1FA42612RX7275400\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/9BU18788YX9187338", "rel": "up", "method": "GET" } ] }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-97N83577F92279546-32S90171BN931935H", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-97N83577F92279546-32S90171BN931935H\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-97N83577F92279546-32S90171BN931935H","event_version":"1.0","create_time":"2024-09-18T14:12:17.978Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 29.99 EUR","resource":{"id":"1FA42612RX7275400","amount":{"currency_code":"EUR","value":"29.99"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"29.99"},"paypal_fee":{"currency_code":"EUR","value":"1.29"},"net_amount":{"currency_code":"EUR","value":"28.70"}},"invoice_id":"19360","custom_id":"{\"orderTransactionId\":\"01920579988a7163b0021c283380bace\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.6.1\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"9BU18788YX9187338"}},"payee":{"email_address":"paypal2@obst.de","merchant_id":"MDCPJSZMU9WBW"},"create_time":"2024-09-18T14:12:13Z","update_time":"2024-09-18T14:12:13Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/1FA42612RX7275400","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/1FA42612RX7275400/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/9BU18788YX9187338","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-97N83577F92279546-32S90171BN931935H","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-97N83577F92279546-32S90171BN931935H/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 | "Fri, 20 Sep 2024 00:39:09 GMT" |
x-debug-token | "3b8371" |
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 | "def00000fcea2ca7e6d0b7927df13453678e7d464f6a302a2aeca6daa8a543fb9325113ab884040f8495a8d955b243599b996efa4fc8b37aba85eca457735d59c9f465f6" |
APP_URL | "https://obst-dev.sw6aufbau.de" |
BLUE_GREEN_DEPLOYMENT | "1" |
COMPOSER_HOME | "/usr/www/users/obstdev/var/cache/composer" |
DATABASE_URL | "mysql://obstdev:p9vq7mjrYqvknVQU@localhost:3306/obstdev" |
INSTANCE_ID | "8e9dLQMOSOQ2b3YtGkffEGn1EMXp9NR4" |
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 | "1665" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/usr/www/users/obstdev/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/usr/www/users/obstdev/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CONNECTION | "close" |
HTTP_CORRELATION_ID | "2994920c35b14" |
HTTP_HOST | "obst-dev.sw6aufbau.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 | "052d0440-75c8-11ef-ad52-01b4319ddb52" |
HTTP_PAYPAL_TRANSMISSION_SIG | "IbYnUlg/DO3dWhmt6d96FJSp3IUXgtaJ8XQHGKCZMyg4e8t9zYj3Ev0EfkQSt8btkvkvUSS5CZkcCrm4FhnTb6d3r8eMUi1gEv5mzp3s55Fm8AFtMVyv/YGtmRXzncOAovDtt7RC6K898u3VSC7U5kSJBwmJ9u6GtIvu+rXBErtLKdhUHIo6MoCSzl+URaP6L3esCLwsDss42w+JoEW/uruXCWSmQbnNcAQCk7X0YUG0QiK1WcoCm1yHUgIXSkaEGDK+p/Kv7BxRcidJCKBH6vX2+MZw/Uxd4Wc6i/AwixfnKYqaS5/Ft6uE8SgiWVULJUfHeHI4mAgpk9Uh3F3tcg==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2024-09-18T14:12:21Z" |
HTTP_USER_AGENT | "PayPal/AUHR-214.0-58610764" |
HTTP_X_B3_SPANID | "9f4cef81c79bb813" |
MAGICK_TEMPORARY_PATH | "/usr/home/obstdev/.tmp" |
MAGICK_TMPDIR | "/usr/home/obstdev/.tmp" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHPRC | "/home/httpd/php74-ini/obstdev" |
PHP_FCGI_MAX_REQUESTS | "100000" |
PHP_SELF | "/index.php" |
PWD | "/home/httpd/cgi-bin" |
QUERY_STRING | "sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72" |
REDIRECT_HTTPS | "on" |
REDIRECT_QUERY_STRING | "sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72" |
REDIRECT_SSL_TLS_SNI | "obst-dev.sw6aufbau.de" |
REDIRECT_STATUS | "200" |
REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
REMOTE_ADDR | "66.211.170.66" |
REMOTE_PORT | "15587" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1726792749 |
REQUEST_TIME_FLOAT | 1726792749.5463 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72" |
SCRIPT_FILENAME | "/usr/www/users/obstdev/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "23.88.92.7" |
SERVER_ADMIN | "webmaster@obst-dev.sw6aufbau.de" |
SERVER_NAME | "obst-dev.sw6aufbau.de" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "<address>Apache Server at obst-dev.sw6aufbau.de Port 443</address>\n" |
SERVER_SOFTWARE | "Apache" |
SSL_TLS_SNI | "obst-dev.sw6aufbau.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" |
TMPDIR | "/usr/home/obstdev/.tmp" |
argc | 1 |
argv | [
"sw-token=weYhSNDZ5Z1ilFbr5EBxIoJ5AQb9BO72"
] |