https://esm-test.shopware-allgaeu.de/api/_action/paypal/webhook/execute?sw-token=4grG6lteiyDYcYxB9znDkZWkB4spbUp7

WebhookController :: executeWebhook

  • Request
  • Response
  • Cookies
  • Session 6
  • Flashes
  • Server Parameters

GET Parameters

Key Value
sw-token
"4grG6lteiyDYcYxB9znDkZWkB4spbUp7"

POST Parameters

Key Value
create_time
"2025-03-16T13:41:43.583Z"
event_type
"CHECKOUT.ORDER.APPROVED"
event_version
"1.0"
id
"WH-9X465519Y6137993N-08420011GM221974C"
links
0 of 0
[ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9X465519Y6137993N-08420011GM221974C" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9X465519Y6137993N-08420011GM221974C/resend" "rel" => "resend" "method" => "POST" ] ]
resource
0 of 0
[ "create_time" => "2025-03-16T13:38:12Z" "purchase_units" => [ [ "reference_id" => "default" "amount" => [ "currency_code" => "EUR" "value" => "573.90" "breakdown" => [ "item_total" => [ "currency_code" => "EUR" "value" => "549.00" ] "shipping" => [ "currency_code" => "EUR" "value" => "24.90" ] "handling" => [ "currency_code" => "EUR" "value" => "0.00" ] "tax_total" => [ "currency_code" => "EUR" "value" => "109.80" ] "discount" => [ "currency_code" => "EUR" "value" => "109.80" ] ] ] "payee" => [ "email_address" => "verkauf@esm-computer.de" "merchant_id" => "T6FUZUG9K9ZAQ" "display_data" => [ "brand_name" => "ESM-Computer" ] ] "items" => [ [ "name" => "Outdoor Notebook Getac S410 G3 Core i5 8365U Full-HD 32 GB 1 TB SSD Webcam A+" "unit_amount" => [ "currency_code" => "EUR" "value" => "549.00" ] "tax" => [ "currency_code" => "EUR" "value" => "109.80" ] "quantity" => "1" "sku" => "1028543" ] ] "shipping" => [ "name" => [ "full_name" => "Ivan Leko" ] "address" => [ "address_line_1" => "Dubrava 254" "admin_area_2" => "Zagreb" "admin_area_1" => "Croatia" "postal_code" => "10000" "country_code" => "HR" ] ] ] ] "links" => [ [ "href" => "https://api.paypal.com/v2/checkout/orders/7LF71851GP066480H" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/7LF71851GP066480H" "rel" => "update" "method" => "PATCH" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/7LF71851GP066480H/capture" "rel" => "capture" "method" => "POST" ] ] "id" => "7LF71851GP066480H" "payment_source" => [ "paypal" => [ "email_address" => "leko_ivan1986@yahoo.com" "account_id" => "ZH9XTUTE4VGSW" "account_status" => "VERIFIED" "name" => [ "given_name" => "Ivan" "surname" => "Leko" ] "address" => [ "country_code" => "HR" ] "app_switch_eligibility" => false ] ] "intent" => "CAPTURE" "payer" => [ "name" => [ "given_name" => "Ivan" "surname" => "Leko" ] "email_address" => "leko_ivan1986@yahoo.com" "payer_id" => "ZH9XTUTE4VGSW" "address" => [ "country_code" => "HR" ] ] "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
"PJAdTXNMVbc="
_route
"api.action.paypal.webhook.execute"
_routeScope
0 of 0
[ "api" ]
_route_params
0 of 0
[ "auth_required" => false ]
_since
0 of 0
Shopware\Core\Framework\Routing\Annotation\Since {#2054 -value: "0.9.0" }
_stopwatch_token
"b697a7"
auth_required
false
sw-context
0 of 0
Shopware\Core\Framework\Context {#2041 #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #currencyFactor: 1.0 #scope: "system" #ruleIds: [] #source: Shopware\Core\Framework\Api\Context\SystemSource {#2038 …} #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2042 …} #extensions: [] -states: [] }

Request Headers

Header Value
accept
"*/*"
content-length
"2284"
content-type
"application/json"
correlation-id
"f277895c5ed17"
forwarded
"for="173.0.81.65";host="esm-test.shopware-allgaeu.de";proto=https"
host
"esm-test.shopware-allgaeu.de"
paypal-auth-algo
"SHA256withRSA"
paypal-auth-version
"v2"
paypal-cert-url
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-b0d12406"
paypal-transmission-id
"681363d3-026c-11f0-830b-d18dbe9ccc04"
paypal-transmission-sig
"aOzqBxAeNd7hUUI+aoPubg8dCGJDyRQNLH8JqvA/4N+d3obKPb6HtMqSyGmc1Ewc46LUwaWYFv8Q0Uq3cZiZDxy1w5+hU5sBll8b9zOMNR83a4jNqSoWtdbwKw7IzaGJ1VMPZpHCN8pDn1/mR6f3N+ScOmVqYL0o2kXQVGwxfMDMSrUIrSB4CpZ9qkF6YQwyZO7ob0D4bMLfzLDPeojCmkGGN6a/9Jx2AIUJ0rUKCK6jYKBZKcQvNJ3tSc8HJj5YmBEU7mw1CIY/aN/YKjj0ZL5b7e4XGFotRweT3KryfQUC70gOu1jPXPaGkkNESKdFjmuGtWWDj7jc4POh+Vn6Bg=="
paypal-transmission-time
"2025-03-16T13:41:47Z"
user-agent
"PayPal/AUHD-214.0-58843824"
x-b3-spanid
"2d6467436e3805e0"
x-forwarded-for
"173.0.81.65"
x-php-ob-level
"1"

Request Content

  • Pretty
  • Raw
{
    "id": "WH-9X465519Y6137993N-08420011GM221974C",
    "event_version": "1.0",
    "create_time": "2025-03-16T13:41:43.583Z",
    "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-03-16T13:38:12Z",
        "purchase_units": [
            {
                "reference_id": "default",
                "amount": {
                    "currency_code": "EUR",
                    "value": "573.90",
                    "breakdown": {
                        "item_total": {
                            "currency_code": "EUR",
                            "value": "549.00"
                        },
                        "shipping": {
                            "currency_code": "EUR",
                            "value": "24.90"
                        },
                        "handling": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "tax_total": {
                            "currency_code": "EUR",
                            "value": "109.80"
                        },
                        "discount": {
                            "currency_code": "EUR",
                            "value": "109.80"
                        }
                    }
                },
                "payee": {
                    "email_address": "verkauf@esm-computer.de",
                    "merchant_id": "T6FUZUG9K9ZAQ",
                    "display_data": {
                        "brand_name": "ESM-Computer"
                    }
                },
                "items": [
                    {
                        "name": "Outdoor Notebook Getac S410 G3 Core i5 8365U Full-HD 32 GB 1 TB SSD Webcam A+",
                        "unit_amount": {
                            "currency_code": "EUR",
                            "value": "549.00"
                        },
                        "tax": {
                            "currency_code": "EUR",
                            "value": "109.80"
                        },
                        "quantity": "1",
                        "sku": "1028543"
                    }
                ],
                "shipping": {
                    "name": {
                        "full_name": "Ivan Leko"
                    },
                    "address": {
                        "address_line_1": "Dubrava 254",
                        "admin_area_2": "Zagreb",
                        "admin_area_1": "Croatia",
                        "postal_code": "10000",
                        "country_code": "HR"
                    }
                }
            }
        ],
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/7LF71851GP066480H",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/7LF71851GP066480H",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/7LF71851GP066480H\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ],
        "id": "7LF71851GP066480H",
        "payment_source": {
            "paypal": {
                "email_address": "leko_ivan1986@yahoo.com",
                "account_id": "ZH9XTUTE4VGSW",
                "account_status": "VERIFIED",
                "name": {
                    "given_name": "Ivan",
                    "surname": "Leko"
                },
                "address": {
                    "country_code": "HR"
                },
                "app_switch_eligibility": false
            }
        },
        "intent": "CAPTURE",
        "payer": {
            "name": {
                "given_name": "Ivan",
                "surname": "Leko"
            },
            "email_address": "leko_ivan1986@yahoo.com",
            "payer_id": "ZH9XTUTE4VGSW",
            "address": {
                "country_code": "HR"
            }
        },
        "status": "APPROVED"
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9X465519Y6137993N-08420011GM221974C",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9X465519Y6137993N-08420011GM221974C\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}