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-12T17:10:27.217Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-3C4317556E308262P-3P2582191N134841J"
links
0 of 0
[ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3C4317556E308262P-3P2582191N134841J" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3C4317556E308262P-3P2582191N134841J/resend" "rel" => "resend" "method" => "POST" ] ]
resource
0 of 0
[ "id" => "1CF58607F44176154" "amount" => [ "currency_code" => "EUR" "value" => "790.99" ] "final_capture" => true "seller_protection" => [ "status" => "NOT_ELIGIBLE" ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "790.99" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "12.61" ] "net_amount" => [ "currency_code" => "EUR" "value" => "778.38" ] ] "invoice_id" => "265223" "custom_id" => "{"orderTransactionId":"f2ad259710654781bdd5d83d129d95e1","pluginVersion":"6.2.0","shopwareVersion":"6.4.20.2"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "7M790086SB7305154" ] ] "payee" => [ "email_address" => "verkauf@esm-computer.de" "merchant_id" => "T6FUZUG9K9ZAQ" ] "create_time" => "2025-03-12T17:10:22Z" "update_time" => "2025-03-12T17:10:22Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/1CF58607F44176154" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/1CF58607F44176154/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/7M790086SB7305154" "rel" => "up" "method" => "GET" ] ] "network_transaction_reference" => [ "id" => "MNWO5OEXY" "date" => "0312" "network" => "MASTERCARD" ] ]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 790.99 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"HcPWadhnfO4="
_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 {#2052 -value: "0.9.0" }
_stopwatch_token
"3058b7"
auth_required
false
sw-context
0 of 0
Shopware\Core\Framework\Context {#2039 #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #currencyFactor: 1.0 #scope: "system" #ruleIds: [] #source: Shopware\Core\Framework\Api\Context\SystemSource {#2036 …} #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2040 …} #extensions: [] -states: [] }

Request Headers

Header Value
accept
"*/*"
content-length
"1702"
content-type
"application/json"
correlation-id
"55f494bab9ded"
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
"e7e5bcc4-ff64-11ef-acbf-3560332f511e"
paypal-transmission-sig
"TppZV4gl80VBZLQbtMwl0wzAUx5+zY+HZvozcXAhT7TnRWq1gEOzbR7el4j1xlZo+TtSr3bhvwvGQPa2r0ssYB6iYCRkZzQiOTijC+I2JLKCm8QRuybT0mYnPHZBLfnwf7uZEVxIefukzAoVbgWFgCvycYqqrral7uAMHnDdQldfKqQ4Lyt6BMlhag9IMULdUNOaXhnAiBca0+UWakLFteHWXJ3InK+XP56Xjf4AHewRWxzEv2HqjsKMl4BiDjp7uQXoYMBcozrBMdJtsdcelhXUq41AgVlVxfM7KMELFvHtz4HZsmWQXhW0gvV0DvZd7wJJVFhztrtoOPlQ8jtbvQ=="
paypal-transmission-time
"2025-03-12T17:10:32Z"
user-agent
"PayPal/AUHR-214.0-58843836"
x-b3-spanid
"5eae88ebcfce2de7"
x-forwarded-for
"173.0.81.65"
x-php-ob-level
"1"

Request Content

  • Pretty
  • Raw
{
    "id": "WH-3C4317556E308262P-3P2582191N134841J",
    "event_version": "1.0",
    "create_time": "2025-03-12T17:10:27.217Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 790.99 EUR",
    "resource": {
        "id": "1CF58607F44176154",
        "amount": {
            "currency_code": "EUR",
            "value": "790.99"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "NOT_ELIGIBLE"
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "790.99"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "12.61"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "778.38"
            }
        },
        "invoice_id": "265223",
        "custom_id": "{\"orderTransactionId\":\"f2ad259710654781bdd5d83d129d95e1\",\"pluginVersion\":\"6.2.0\",\"shopwareVersion\":\"6.4.20.2\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "7M790086SB7305154"
            }
        },
        "payee": {
            "email_address": "verkauf@esm-computer.de",
            "merchant_id": "T6FUZUG9K9ZAQ"
        },
        "create_time": "2025-03-12T17:10:22Z",
        "update_time": "2025-03-12T17:10:22Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/1CF58607F44176154",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/1CF58607F44176154\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/7M790086SB7305154",
                "rel": "up",
                "method": "GET"
            }
        ],
        "network_transaction_reference": {
            "id": "MNWO5OEXY",
            "date": "0312",
            "network": "MASTERCARD"
        }
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3C4317556E308262P-3P2582191N134841J",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3C4317556E308262P-3P2582191N134841J\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}