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-15T15:07:09.661Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-4CD45003PG158904B-1T7519695B9853132"
links
0 of 0
[ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4CD45003PG158904B-1T7519695B9853132" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4CD45003PG158904B-1T7519695B9853132/resend" "rel" => "resend" "method" => "POST" ] ]
resource
0 of 0
[ "id" => "1FJ27604XG018850N" "amount" => [ "currency_code" => "EUR" "value" => "22.94" ] "final_capture" => true "seller_protection" => [ "status" => "ELIGIBLE" "dispute_categories" => [ "ITEM_NOT_RECEIVED" "UNAUTHORIZED_TRANSACTION" ] ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "22.94" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "0.92" ] "net_amount" => [ "currency_code" => "EUR" "value" => "22.02" ] ] "invoice_id" => "GKB-158954" "custom_id" => "{"orderTransactionId":"01959a580b9170759cd5777f20812390","pluginVersion":"8.2.0","shopwareVersion":"6.5.8.11"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "0TP23032M1586710X" ] ] "payee" => [ "email_address" => "paypal-gk@unicef.de" "merchant_id" => "QBYDKY7MN4NG8" ] "create_time" => "2025-03-15T15:07:05Z" "update_time" => "2025-03-15T15:07:05Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/1FJ27604XG018850N" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/1FJ27604XG018850N/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/0TP23032M1586710X" "rel" => "up" "method" => "GET" ] ] ]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 22.94 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"KYXvDiE5t94="
_route
"api.action.paypal.webhook.execute"
_routeScope
0 of 0
[ "api" ]
_route_params
0 of 0
[ "auth_required" => false ]
_stopwatch_token
"94916e"
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
"91e4161826deb"
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
"2ce70f83-01af-11f0-9b51-018a1c2d65d2"
paypal-transmission-sig
"Z9ndWsyEXbLUwFh+Rje9SPatbiXTa/eWghwin6ZKfl8oJPDdVof2+t1ONOQRlgKE3Vw2lGf8UNvjgvocTBsSD9UKwZGRJJXASrWVN95o9DPfWEM9FweBr3NBwLL/5UMZcvEek2RZZbxklo3NORr2QYbMidBVPAmqB3nHQSazwIl4M+BQCNgk9AzJCa22/0JWUvfD5Xv/0tDy3yyk3i5iYkizqL3QZcitN0lBa3u9I+vn6jn89Wc6ef9NF0/9iXpFk9e3G2pHhmq9a8Aiz6GQHdbWqcG85DwDEmn3vyaNRRMaYJrJElHSxj7VUzesiaJ+dkTA9daIikaiwMWPsEkxNg=="
paypal-transmission-time
"2025-03-15T15:07:13Z"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"PayPal/AUHR-214.0-58843836"
x-b3-spanid
"a9eb10c44a9ad7f1"
x-forwarded-for
"173.0.81.65"
x-php-ob-level
"1"

Request Content

{
    "id": "WH-4CD45003PG158904B-1T7519695B9853132",
    "event_version": "1.0",
    "create_time": "2025-03-15T15:07:09.661Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 22.94 EUR",
    "resource": {
        "id": "1FJ27604XG018850N",
        "amount": {
            "currency_code": "EUR",
            "value": "22.94"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "22.94"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "0.92"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "22.02"
            }
        },
        "invoice_id": "GKB-158954",
        "custom_id": "{\"orderTransactionId\":\"01959a580b9170759cd5777f20812390\",\"pluginVersion\":\"8.2.0\",\"shopwareVersion\":\"6.5.8.11\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "0TP23032M1586710X"
            }
        },
        "payee": {
            "email_address": "paypal-gk@unicef.de",
            "merchant_id": "QBYDKY7MN4NG8"
        },
        "create_time": "2025-03-15T15:07:05Z",
        "update_time": "2025-03-15T15:07:05Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/1FJ27604XG018850N",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/1FJ27604XG018850N\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/0TP23032M1586710X",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4CD45003PG158904B-1T7519695B9853132",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4CD45003PG158904B-1T7519695B9853132\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}