Error 400 Bad Request

POST https://stage.gk.unicef.pooliestudios.com/api/_action/paypal/webhook/execute?sw-token=zgbbzbemhTSYFbW4A8GU8Te3411OuFrR

WebhookController :: executeWebhook

GET Parameters

Key Value
sw-token
"zgbbzbemhTSYFbW4A8GU8Te3411OuFrR"

POST Parameters

Key Value
create_time
"2025-03-14T08:18:11.204Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-3AC76799ET6394056-3FJ64330116492733"
links
0 of 0
[ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3AC76799ET6394056-3FJ64330116492733" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3AC76799ET6394056-3FJ64330116492733/resend" "rel" => "resend" "method" => "POST" ] ]
resource
0 of 0
[ "id" => "706245955Y204131F" "amount" => [ "currency_code" => "EUR" "value" => "79.99" ] "final_capture" => true "seller_protection" => [ "status" => "ELIGIBLE" "dispute_categories" => [ "ITEM_NOT_RECEIVED" "UNAUTHORIZED_TRANSACTION" ] ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "79.99" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "2.34" ] "net_amount" => [ "currency_code" => "EUR" "value" => "77.65" ] ] "invoice_id" => "GKB-158882" "custom_id" => "{"orderTransactionId":"019593bb1864733e88d1d63ea554f823","pluginVersion":"8.2.0","shopwareVersion":"6.5.8.11"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "9H2015571X122282K" ] ] "payee" => [ "email_address" => "paypal-gk@unicef.de" "merchant_id" => "QBYDKY7MN4NG8" ] "create_time" => "2025-03-14T08:18:07Z" "update_time" => "2025-03-14T08:18:07Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/706245955Y204131F" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/706245955Y204131F/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/9H2015571X122282K" "rel" => "up" "method" => "GET" ] ] ]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 79.99 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"B//aWvASNlM="
_route
"api.action.paypal.webhook.execute"
_routeScope
0 of 0
[ "api" ]
_route_params
0 of 0
[ "auth_required" => false ]
_stopwatch_token
"ebb600"
auth_required
false
sw-context
0 of 0
Shopware\Core\Framework\Context {#1859 #extensions: [] #scope: "system" #rulesLocked: false #source: Shopware\Core\Framework\Api\Context\SystemSource {#1849 …} #ruleIds: [] #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyFactor: 1.0 #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1872 …} #states: [] }

Request Headers

Header Value
accept
"*/*"
connection
"close"
content-length
"1675"
content-type
"application/json"
correlation-id
"5b6c96a62849d"
forwarded
"for="173.0.81.140";host="stage.gk.unicef.pooliestudios.com";proto=https"
host
"stage.gk.unicef.pooliestudios.com"
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
"e0e5b266-00ac-11f0-aa94-dfd1d0f9ec0c"
paypal-transmission-sig
"N0HzD7ZYDvcH3NTBpYo6k0rzH2cubaDBQIJ+03yEeamnfmfOPq8iojvdkCo/hQUmr3nXdNGvGAt7+onvxikas1Ui9zgfDmOOV7vpnFPe3H0SRPu8ty03HQJrORwmHlbN70t7jiKQwPkiZoeBOqqJJor7vPAxWrVl7I2Lfryfj9vivX6wsa4wRLB/asIe9A/0XxkiHIfQO652VMNtyZ/8DOEbh+qKDCYYK2cSa6hehwT2lEvRL9/3LRuGLZqkOrfDmdb9Q5r4pUwAxevE+BM6Joy+2/8cNDa/X7csZXT4kES0egdJE8Y3Pzk6Gbq5bXEJVNe/KHDL/sIoUFkpimNC6Q=="
paypal-transmission-time
"2025-03-14T08:18:15Z"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"PayPal/AUHR-214.0-58843836"
x-b3-spanid
"57f94122e963647f"
x-forwarded-for
"173.0.81.140"
x-php-ob-level
"1"

Request Content

{
    "id": "WH-3AC76799ET6394056-3FJ64330116492733",
    "event_version": "1.0",
    "create_time": "2025-03-14T08:18:11.204Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 79.99 EUR",
    "resource": {
        "id": "706245955Y204131F",
        "amount": {
            "currency_code": "EUR",
            "value": "79.99"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "79.99"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "2.34"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "77.65"
            }
        },
        "invoice_id": "GKB-158882",
        "custom_id": "{\"orderTransactionId\":\"019593bb1864733e88d1d63ea554f823\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.8.11\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "9H2015571X122282K"
            }
        },
        "payee": {
            "email_address": "paypal-gk@unicef.de",
            "merchant_id": "QBYDKY7MN4NG8"
        },
        "create_time": "2025-03-14T08:18:07Z",
        "update_time": "2025-03-14T08:18:07Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/706245955Y204131F",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/706245955Y204131F\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/9H2015571X122282K",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3AC76799ET6394056-3FJ64330116492733",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3AC76799ET6394056-3FJ64330116492733\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}