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-15T14:16:07.030Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-6AB49439D01448147-8J101422H7301543M"
links
0 of 0
[ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-6AB49439D01448147-8J101422H7301543M" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-6AB49439D01448147-8J101422H7301543M/resend" "rel" => "resend" "method" => "POST" ] ]
resource
0 of 0
[ "id" => "8HF160767U9529314" "amount" => [ "currency_code" => "EUR" "value" => "16.94" ] "final_capture" => true "seller_protection" => [ "status" => "ELIGIBLE" "dispute_categories" => [ "ITEM_NOT_RECEIVED" "UNAUTHORIZED_TRANSACTION" ] ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "16.94" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "0.77" ] "net_amount" => [ "currency_code" => "EUR" "value" => "16.17" ] ] "invoice_id" => "GKB-158953" "custom_id" => "{"orderTransactionId":"01959a28f9bc7300bf61e20c07b56f3c","pluginVersion":"8.2.0","shopwareVersion":"6.5.8.11"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "02G24419FS470204K" ] ] "payee" => [ "email_address" => "paypal-gk@unicef.de" "merchant_id" => "QBYDKY7MN4NG8" ] "create_time" => "2025-03-15T14:16:02Z" "update_time" => "2025-03-15T14:16:02Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/8HF160767U9529314" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/8HF160767U9529314/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/02G24419FS470204K" "rel" => "up" "method" => "GET" ] ] ]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 16.94 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"vfgJwJEJ744="
_route
"api.action.paypal.webhook.execute"
_routeScope
0 of 0
[ "api" ]
_route_params
0 of 0
[ "auth_required" => false ]
_stopwatch_token
"19d544"
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
"af5ef104aedca"
forwarded
"for="173.0.81.65";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
"0b635d51-01a8-11f0-ae07-fd99db62f25e"
paypal-transmission-sig
"Cjy08kE98RWhprW7s+Oi4WPkBYcut5NRAfY9viUyhBf5DLhijMfssukTcZcowQ5s80zOA5dy1/c4IBK7nWEmO7HhGd79m/mFspgGKn5+VCCr6qQbh3NXHYk/fcz8iJc8pU91tRyWAK1+w2jXiLeh+fVaKBUZ64bAGN8HmDSOIt8Zebd9SEMirUAM3Ho+/LG3ugZvz4F+qXgNkRPWHWLqRZ8hgF0cSRVNIgJRwzoc5osKlf8Tax94Ivp9oNw/7KyNcberdD1K9/KPyLPuDToG1Vs/n44yyruywgY/FAeDX5dtvs/Mu/r5cbTvJEibdu8eBK/OQAN0f5ToQ/HYWmIWoA=="
paypal-transmission-time
"2025-03-15T14:16:10Z"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"PayPal/AUHR-214.0-58843836"
x-b3-spanid
"1442b28528e1f65e"
x-forwarded-for
"173.0.81.65"
x-php-ob-level
"1"

Request Content

{
    "id": "WH-6AB49439D01448147-8J101422H7301543M",
    "event_version": "1.0",
    "create_time": "2025-03-15T14:16:07.030Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 16.94 EUR",
    "resource": {
        "id": "8HF160767U9529314",
        "amount": {
            "currency_code": "EUR",
            "value": "16.94"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "16.94"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "0.77"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "16.17"
            }
        },
        "invoice_id": "GKB-158953",
        "custom_id": "{\"orderTransactionId\":\"01959a28f9bc7300bf61e20c07b56f3c\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.8.11\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "02G24419FS470204K"
            }
        },
        "payee": {
            "email_address": "paypal-gk@unicef.de",
            "merchant_id": "QBYDKY7MN4NG8"
        },
        "create_time": "2025-03-15T14:16:02Z",
        "update_time": "2025-03-15T14:16:02Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/8HF160767U9529314",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/8HF160767U9529314\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/02G24419FS470204K",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-6AB49439D01448147-8J101422H7301543M",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-6AB49439D01448147-8J101422H7301543M\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}