• scamo

    (@scamo)


    Hi,

    We are ending up with these “validation” issues every now and then.

    2024-01-21T11:43:29+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"34.80","breakdown":{"item_total":{"currency_code":"EUR","value":"24.62"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"5.56"}}},"description":"","items":[{"name":"Katzengeschirre","unit_amount":{"currency_code":"EUR","value":"24.62"},"quantity":1,"description":"Gewicht ca 70g \/ Schleppleine ca 100 gr\r\n\r\nPflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte e","sku":"KA-100","category":"PHYSICAL_GOODS","url":"https:\/\/aladins-tierparadies.de\/produkt\/katzengeschirr-fleecepolsterung\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2021\/08\/Model-Katze-6-e1629971268484.jpeg","cart_item_key":"da5215bfa0aa0c5315e61604f4fbd14f"}],"shipping":{"name":{"full_name":"Christin Bremer"},"address":{"country_code":"DE","address_line_1":"Asseler Au\u00dfendeich 29","admin_area_2":"Drochtersen","postal_code":"21706"}},"custom_id":"pcp_customer_t_ac414fa3bad1d483e9f44f98d9abb8"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"de-DE","brand_name":"Aladin's Tierparadies","return_url":"https:\/\/aladins-tierparadies.de\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/aladins-tierparadies.de\/checkout\/","payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"Christin","surname":"Bremer"},"address":{"country_code":"DE","address_line_1":"Asseler Au\u00dfendeich 29","admin_area_2":"Drochtersen","postal_code":"21706"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"041484129970"}}}}
    Response Debug ID: 3c59728412d43
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    
    2024-01-21T11:44:20+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/5RV07486U1284951K
    Response Debug ID: f8e31f5f1ed8b
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T11:44:23+00:00 DEBUG PATCH https://api-m.paypal.com/v2/checkout/orders/5RV07486U1284951K
    Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"34.80","breakdown":{"item_total":{"currency_code":"EUR","value":"24.62"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"5.56"}}},"description":"","items":[{"name":"Katzengeschirre","unit_amount":{"currency_code":"EUR","value":"24.62"},"quantity":1,"description":"Gewicht ca 70g \/ Schleppleine ca 100 gr\r\n\r\nPflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte e","sku":"KA-100","category":"PHYSICAL_GOODS","url":"https:\/\/aladins-tierparadies.de\/produkt\/katzengeschirr-fleecepolsterung\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2021\/08\/Model-Katze-6-e1629971268484.jpeg"}],"shipping":{"name":{"full_name":"Christin Bremer"},"address":{"country_code":"DE","address_line_1":"Asseler Au\u00dfendeich 29","admin_area_2":"Drochtersen","postal_code":"21706"}},"custom_id":"7721","invoice_id":"7721"}}]
    Response Debug ID: 29a262d937986
    Response: Array
    (
        [code] => 204
        [message] => No Content
    )
    
    
    2024-01-21T11:44:23+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/5RV07486U1284951K
    Response Debug ID: 3b5c004a1f0e9
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T11:44:24+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders/5RV07486U1284951K/capture
    Response Debug ID: 74ee9a0faf4f6
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    
    2024-01-21T11:44:43+00:00 DEBUG POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"71055cf0-b852-11ee-ba31-5390e9d35ccd","transmission_time":"2024-01-21T11:44:31Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ad47cb8d","auth_algo":"SHA256withRSA","transmission_sig":"SM3UaZkteQzLrGMTk2EBY2cahhGIPLPJKlu6wu+wJn7d6tx7BswzzlsGsvtObjoxeMYRt2rzcpeOuKmC88vyyV0nzDOR1FzVn8\/VnPQtz4xLX+83vgUjD9S\/GL7euP4avp14IijMbRvJCO0gB9pqZc0jIOwgHv\/txLXDtjNd6T7X\/EShWMMB3ku8vEXAgALUDmYzhubTnSmE1rlCmNsv1gkzBe6RBZC61Q42TZUDHfY8RTYWSNb2cS2KSRltBXHzgo8LqLLqBT0Y+Xi7FmnUveom6\/fxePAmJCr3x2U9S6qchth0Rx5s5Oe8ykkXKQIEWvPYhgHSd5mAWccffVQQnQ==","webhook_id":"95396314YA346143N","webhook_event":{"id":"WH-81A04459J98700107-8AV93214MJ562544E","event_version":"1.0","create_time":"2024-01-21T11:44:27.894Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 34.8 EUR","resource":{"id":"9NS9595305419444X","amount":{"currency_code":"EUR","value":"34.80"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"34.80"},"paypal_fee":{"currency_code":"EUR","value":"1.43"},"net_amount":{"currency_code":"EUR","value":"33.37"}},"invoice_id":"7721","custom_id":"7721","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"5RV07486U1284951K"}},"payee":{"email_address":"[email protected]","merchant_id":"UGC7S429EURN2"},"create_time":"2024-01-21T11:44:23Z","update_time":"2024-01-21T11:44:23Z","links":[{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/9NS9595305419444X","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/9NS9595305419444X\/refund","rel":"refund","method":"POST"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/5RV07486U1284951K","rel":"up","method":"GET"}]},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-81A04459J98700107-8AV93214MJ562544E","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-81A04459J98700107-8AV93214MJ562544E\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: b654fb407b7fd
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T11:44:43+00:00 DEBUG Webhook WH-81A04459J98700107-8AV93214MJ562544E received of type PAYMENT.CAPTURE.COMPLETED and by resource "capture"
    2024-01-21T11:44:43+00:00 DEBUG Webhook is going to be handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
    2024-01-21T11:44:43+00:00 INFO Webhook has been handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
    2024-01-21T11:45:06+00:00 DEBUG POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"6d1bedc0-b852-11ee-97bc-f7dfe8cd5ae9","transmission_time":"2024-01-21T11:44:25Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ad47cb8d","auth_algo":"SHA256withRSA","transmission_sig":"kcpM1CHVqgVih9Mue6qCxvrKeui3UdQxdkK3NoUWz91aGKqwLx+MQy6Vhs7UGWFeiZYAkl1V8JEudEdtz\/ynzRLaZNlEpAL8MtpajmwsDfXFvlCScXQoZSs7g44P3at2cNO7AsvfK1szdFJJxFTQo6Ew9NqvJdqjL0\/oXOOWFqgXLcGrrF5GVUVN4YX+IsG1SSwgYVD7YakydCxkQJrgnlYxfKdU5ikg5R4BDV9QDt4n+iCDeBFOQP4Fs0CO8v5xRvHtVuU0HNd36C0pMwxIUL02DmSoyk2QIt8IUjGdWZRT1xo1OGW5B8Hn+dcljlnlFMfdLgT62MaZfYnjPjdSUQ==","webhook_id":"95396314YA346143N","webhook_event":{"id":"WH-5U619812B7052602N-67M262078N7439846","event_version":"1.0","create_time":"2024-01-21T11:44:21.257Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2024-01-21T11:43:29Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"34.80","breakdown":{"item_total":{"currency_code":"EUR","value":"24.62"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"5.56"}}},"payee":{"email_address":"[email protected]","merchant_id":"UGC7S429EURN2","display_data":{"brand_name":"Aladin's Tierparadies"}},"description":"","custom_id":"pcp_customer_t_ac414fa3bad1d483e9f44f98d9abb8","items":[{"name":"Katzengeschirre","unit_amount":{"currency_code":"EUR","value":"24.62"},"quantity":"1","description":"Gewicht ca 70g \/ Schleppleine ca 100 gr\r\n\r\nPflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte e","sku":"KA-100","url":"https:\/\/aladins-tierparadies.de\/produkt\/katzengeschirr-fleecepolsterung\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2021\/08\/Model-Katze-6-e1629971268484.jpeg","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Christin Bremer"},"address":{"address_line_1":"Asseler Au\u00dfendeich 29","admin_area_2":"Drochtersen","postal_code":"21706","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/5RV07486U1284951K","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/5RV07486U1284951K","rel":"update","method":"PATCH"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/5RV07486U1284951K\/capture","rel":"capture","method":"POST"}],"id":"5RV07486U1284951K","payment_source":{"paypal":{"email_address":"[email protected]","account_id":"2NDSA4JY6HXWL","account_status":"VERIFIED","name":{"given_name":"Christin","surname":"Bremer"},"address":{"address_line_1":"Asseler Au\u00dfendeich 29","admin_area_2":"Drochtersen","postal_code":"21706","country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Christin","surname":"Bremer"},"email_address":"[email protected]","payer_id":"2NDSA4JY6HXWL","address":{"address_line_1":"Asseler Au\u00dfendeich 29","admin_area_2":"Drochtersen","postal_code":"21706","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-5U619812B7052602N-67M262078N7439846","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-5U619812B7052602N-67M262078N7439846\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 8aad0a818eb14
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T11:45:06+00:00 DEBUG Webhook WH-5U619812B7052602N-67M262078N7439846 received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    2024-01-21T11:45:06+00:00 DEBUG Webhook is going to be handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2024-01-21T11:45:07+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/5RV07486U1284951K
    Response Debug ID: 2cdfee3b9b91c
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T11:45:07+00:00 INFO Order 5RV07486U1284951K already completed.
    2024-01-21T11:45:07+00:00 INFO Webhook has been handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2024-01-21T13:50:01+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"32.30","breakdown":{"item_total":{"currency_code":"EUR","value":"22.52"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"5.16"}}},"description":"","items":[{"name":"2-Stege Geschirre f\u00fcr Hunde - Fleecepolsterung","unit_amount":{"currency_code":"EUR","value":"22.52"},"quantity":1,"description":"Pflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte einen W\u00e4schebeutel oder Kissenbezug.\r\n\r\nVer","sku":"PG-286-F","category":"PHYSICAL_GOODS","url":"https:\/\/aladins-tierparadies.de\/produkt\/2-stege-geschirre-fur-hunde\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2020\/09\/2-Stege-Kira.jpg","cart_item_key":"73d0899f9b4271d81af45cea6aeba33d"}],"shipping":{"name":{"full_name":"Nicole Just"},"address":{"country_code":"DE","address_line_1":"Siegfriedstra\u00dfe, 19","admin_area_2":"Berlin","postal_code":"10365"}},"custom_id":"pcp_customer_t_1fab3cf9977aa4315d79e894fabd62"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"de-DE","brand_name":"Aladin's Tierparadies","return_url":"https:\/\/aladins-tierparadies.de\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/aladins-tierparadies.de\/checkout\/","payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"Nicole","surname":"Just"},"address":{"country_code":"DE","address_line_1":"Siegfriedstra\u00dfe, 19","admin_area_2":"Berlin","postal_code":"10365"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"01712353165"}}}}
    Response Debug ID: aa96988e1c6af
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    
    2024-01-21T13:50:37+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/63N582062R161581F
    Response Debug ID: 939de5d404c62
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T13:50:41+00:00 DEBUG PATCH https://api-m.paypal.com/v2/checkout/orders/63N582062R161581F
    Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"32.30","breakdown":{"item_total":{"currency_code":"EUR","value":"22.52"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"5.16"}}},"description":"","items":[{"name":"2-Stege Geschirre f\u00fcr Hunde - Fleecepolsterung","unit_amount":{"currency_code":"EUR","value":"22.52"},"quantity":1,"description":"Pflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte einen W\u00e4schebeutel oder Kissenbezug.\r\n\r\nVer","sku":"PG-286-F","category":"PHYSICAL_GOODS","url":"https:\/\/aladins-tierparadies.de\/produkt\/2-stege-geschirre-fur-hunde\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2020\/09\/2-Stege-Kira.jpg"}],"shipping":{"name":{"full_name":"Nicole Just"},"address":{"country_code":"DE","address_line_1":"Siegfriedstra\u00dfe, 19","admin_area_2":"Berlin","postal_code":"10365"}},"custom_id":"7722","invoice_id":"7722"}}]
    Response Debug ID: 69273f66371f9
    Response: Array
    (
        [code] => 204
        [message] => No Content
    )
    
    
    2024-01-21T13:50:41+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/63N582062R161581F
    Response Debug ID: eaa7fa455c2bc
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T13:50:42+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders/63N582062R161581F/capture
    Response Debug ID: 637e4eb3460eb
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    
    2024-01-21T13:51:10+00:00 DEBUG POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"1a2162a0-b864-11ee-b013-314f34d2c714","transmission_time":"2024-01-21T13:50:56Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ad47cb8d","auth_algo":"SHA256withRSA","transmission_sig":"fPcLpPxc3eCRBjfkuzsIf0wyDAihQJVDxzwkGkkyg+GYVFpcYkTOl3449laYJvaluAjgfNi\/rSkUG6sgPDiyfs49uB01VFYQSvzvVjqBm3uYHwB+Qt+G2QkrNdzcVSSBbmWRE44JKwxkoqB75FaZaQgA4Wf\/97\/+VG9N80IJhdb34aDR0ZAKappHHXWVkuoXk0BDKmDV5e33XjVMIvohvBaVmg8pDebkd0FD9FK3EM6JBVizaa3I1a49Hvrl7+I5nM0dzVBin9NdHDBDlU4+ErXrdyfqh6Eu7M5wlD1zzsh6WQxkgMAOE5rCHpgUCtepnPL21Q4V6u+fM4DNYU7Ehg==","webhook_id":"95396314YA346143N","webhook_event":{"id":"WH-1CJ8202004863663P-7E810064B0909162N","event_version":"1.0","create_time":"2024-01-21T13:50:45.675Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 32.3 EUR","resource":{"id":"6WG2467981707890W","amount":{"currency_code":"EUR","value":"32.30"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"32.30"},"paypal_fee":{"currency_code":"EUR","value":"1.36"},"net_amount":{"currency_code":"EUR","value":"30.94"}},"invoice_id":"7722","custom_id":"7722","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"63N582062R161581F"}},"payee":{"email_address":"[email protected]","merchant_id":"UGC7S429EURN2"},"create_time":"2024-01-21T13:50:41Z","update_time":"2024-01-21T13:50:41Z","links":[{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/6WG2467981707890W","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/6WG2467981707890W\/refund","rel":"refund","method":"POST"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/63N582062R161581F","rel":"up","method":"GET"}]},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-1CJ8202004863663P-7E810064B0909162N","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-1CJ8202004863663P-7E810064B0909162N\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 385668d6f99f1
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T13:51:10+00:00 DEBUG Webhook WH-1CJ8202004863663P-7E810064B0909162N received of type PAYMENT.CAPTURE.COMPLETED and by resource "capture"
    2024-01-21T13:51:10+00:00 DEBUG Webhook is going to be handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
    2024-01-21T13:51:10+00:00 INFO Webhook has been handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
    2024-01-21T13:52:37+00:00 DEBUG POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"110ab9a0-b864-11ee-b3aa-c909174eb076","transmission_time":"2024-01-21T13:50:41Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ad47cb8d","auth_algo":"SHA256withRSA","transmission_sig":"cMH+Zk9qU19aEknazW7MoNGGHTI0Tr6tyPS8KVjGswAcVBHfM0HuFTdnxcjF18zNS6M9W1OUUeWaOeqk6a1IJHOFGWDnqtAbWbNghInkypVckjdGr38TuW4Oscl4KosqGv8ybMNqQnzARgXcDiuJbselkEQXLsypTSpqdFj5ylTzIocyoXyxmfx3sPrjd9Czeh1ClpmlgRiio7UgU78Ijb1gAMhEA+\/QH80J8NNA\/Qahozz6DN2lRbswZ+R8hU67AyI2mLxCe\/\/2oAdPw6ofIK+RPtSRFCgx3GJjCtEuggpdhJqzylmWFEtfgtiwntG+mkXg3afahezzpVn7Pb+ElQ==","webhook_id":"95396314YA346143N","webhook_event":{"id":"WH-0SK91210JF657325V-81S189552V143893N","event_version":"1.0","create_time":"2024-01-21T13:50:38.425Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2024-01-21T13:50:00Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"32.30","breakdown":{"item_total":{"currency_code":"EUR","value":"22.52"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"5.16"}}},"payee":{"email_address":"[email protected]","merchant_id":"UGC7S429EURN2","display_data":{"brand_name":"Aladin's Tierparadies"}},"description":"","custom_id":"pcp_customer_t_1fab3cf9977aa4315d79e894fabd62","items":[{"name":"2-Stege Geschirre f\u00fcr Hunde - Fleecepolsterung","unit_amount":{"currency_code":"EUR","value":"22.52"},"quantity":"1","description":"Pflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte einen W\u00e4schebeutel oder Kissenbezug.\r\n\r\nVer","sku":"PG-286-F","url":"https:\/\/aladins-tierparadies.de\/produkt\/2-stege-geschirre-fur-hunde\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2020\/09\/2-Stege-Kira.jpg","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Nicole Just"},"address":{"address_line_1":"Siegfriedstra\u00dfe, 19","admin_area_2":"Berlin","postal_code":"10365","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/63N582062R161581F","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/63N582062R161581F","rel":"update","method":"PATCH"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/63N582062R161581F\/capture","rel":"capture","method":"POST"}],"id":"63N582062R161581F","payment_source":{"paypal":{"email_address":"[email protected]","account_id":"FQ2E5TXYNM3WN","account_status":"VERIFIED","name":{"given_name":"Nicole","surname":"Just"},"address":{"address_line_1":"Siegfriedstra\u00dfe, 19","admin_area_2":"Berlin","postal_code":"10365","country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Nicole","surname":"Just"},"email_address":"[email protected]","payer_id":"FQ2E5TXYNM3WN","address":{"address_line_1":"Siegfriedstra\u00dfe, 19","admin_area_2":"Berlin","postal_code":"10365","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-0SK91210JF657325V-81S189552V143893N","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-0SK91210JF657325V-81S189552V143893N\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 946266de6e791
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T13:52:37+00:00 DEBUG Webhook WH-0SK91210JF657325V-81S189552V143893N received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    2024-01-21T13:52:37+00:00 DEBUG Webhook is going to be handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2024-01-21T13:52:38+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/63N582062R161581F
    Response Debug ID: 135d2c18dddd4
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T13:52:38+00:00 INFO Order 63N582062R161581F already completed.
    2024-01-21T13:52:38+00:00 INFO Webhook has been handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2024-01-21T17:00:25+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"43.90","breakdown":{"item_total":{"currency_code":"EUR","value":"32.27"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"7.01"}}},"description":"","items":[{"name":"Calypso Geschirr Moonlight \/ Softshellpolsterung- Selbstleuchtend-","unit_amount":{"currency_code":"EUR","value":"32.27"},"quantity":1,"description":"Gewicht ca 130 gr\r\n\r\nPflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte einen W\u00e4schebeutel ode","sku":"CA-Moonlight - 100","category":"PHYSICAL_GOODS","url":"https:\/\/aladins-tierparadies.de\/produkt\/calypso-geschirr-moonlight-softshellpolsterung-selbstleuchtend\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2022\/09\/Calypso-Moonlight.jpg","cart_item_key":"9debd08087d27c48d7e5d05bb8b821f2"}],"shipping":{"name":{"full_name":"Mirco Bitter"},"address":{"country_code":"DE","address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628"}},"custom_id":"pcp_customer_t_2b290b5c3c48f766c2aaaee7edee91"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"de-DE","brand_name":"Aladin's Tierparadies","return_url":"https:\/\/aladins-tierparadies.de\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/aladins-tierparadies.de\/checkout\/","payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"Mirco","surname":"Bitter"},"address":{"country_code":"DE","address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"4947025210012"}}}}
    Response Debug ID: 128e3a7bc14ee
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    
    2024-01-21T17:00:58+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/4U200669ML2363619
    Response Debug ID: 999670a24c65d
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:01:01+00:00 DEBUG PATCH https://api-m.paypal.com/v2/checkout/orders/4U200669ML2363619
    Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"EUR","value":"43.90","breakdown":{"item_total":{"currency_code":"EUR","value":"32.27"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"7.01"}}},"description":"","items":[{"name":"Calypso Geschirr Moonlight \/ Softshellpolsterung- Selbstleuchtend-","unit_amount":{"currency_code":"EUR","value":"32.27"},"quantity":1,"description":"Gewicht ca 130 gr\r\n\r\nPflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte einen W\u00e4schebeutel ode","sku":"CA-Moonlight - 100","category":"PHYSICAL_GOODS","url":"https:\/\/aladins-tierparadies.de\/produkt\/calypso-geschirr-moonlight-softshellpolsterung-selbstleuchtend\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2022\/09\/Calypso-Moonlight.jpg"}],"shipping":{"name":{"full_name":"Mirco Bitter"},"address":{"country_code":"DE","address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628"}},"custom_id":"7742","invoice_id":"7742"}}]
    Response Debug ID: 2db3738b9ee5d
    Response: Array
    (
        [code] => 204
        [message] => No Content
    )
    
    
    2024-01-21T17:01:02+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/4U200669ML2363619
    Response Debug ID: c4becaf09dfe2
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:01:02+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders/4U200669ML2363619/capture
    Response Debug ID: 0533bf84fd118
    Response: Array
    (
        [code] => 422
        [message] => Unprocessable Entity
    )
    
    Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"location":"body","issue":"VALIDATION_ERROR","description":"Invalid request - see details"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"0533bf84fd118","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR","rel":"information_link","method":"GET"}]}
    
    2024-01-21T17:01:02+00:00 WARNING Failed to capture order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR
    2024-01-21T17:01:02+00:00 ERROR Payment failed: Die Zahlung konnte nicht verarbeitet werden. Bitte versuche es erneut oder kontaktiere den Shop-Administrator. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR PayPalGateway.php:620 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR OrderEndpoint.php:346
    2024-01-21T17:01:46+00:00 DEBUG POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"a986adf0-b87e-11ee-b8aa-ef77bb0d9161","transmission_time":"2024-01-21T17:01:04Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ad47cb8d","auth_algo":"SHA256withRSA","transmission_sig":"MXeGKvg4n0ugyUQBlaTWD67WquXUE2VNrSdJNRzhjWwaPzpOm4K7iiOv4lw+0H2SPoQ6ixDz7lIIcrqO1\/1oTD4BMeDbyzY83LOHMKkOaUQyF\/gkYTJUeBkzE5QPUtGrDiN3cCHCm3iWLydbs9akxbSmctx0SFKopy2hjyzVfJCtwHOaHmEhreWM3oYqlAhdwlVdmKLR1l7kRTE9aYmXWpYqyTgDXkEK9O+kjAeM3D1Ii1zfzbViydTudFZkOM+cGwWlNxt6Dwe1UasiHuU2dd5UAE72sBer1tarsD73nmcUgKUodSlmqavGU+4g2\/ZY\/PbKGW\/QwuxGTyytiUn0hg==","webhook_id":"95396314YA346143N","webhook_event":{"id":"WH-6VJ76685KV924124L-9BL76705KG285282A","event_version":"1.0","create_time":"2024-01-21T17:01:00.110Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2024-01-21T17:00:25Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"43.90","breakdown":{"item_total":{"currency_code":"EUR","value":"32.27"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"7.01"}}},"payee":{"email_address":"[email protected]","merchant_id":"UGC7S429EURN2","display_data":{"brand_name":"Aladin's Tierparadies"}},"description":"","custom_id":"pcp_customer_t_2b290b5c3c48f766c2aaaee7edee91","items":[{"name":"Calypso Geschirr Moonlight \/ Softshellpolsterung- Selbstleuchtend-","unit_amount":{"currency_code":"EUR","value":"32.27"},"quantity":"1","description":"Gewicht ca 130 gr\r\n\r\nPflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte einen W\u00e4schebeutel ode","sku":"CA-Moonlight - 100","url":"https:\/\/aladins-tierparadies.de\/produkt\/calypso-geschirr-moonlight-softshellpolsterung-selbstleuchtend\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2022\/09\/Calypso-Moonlight.jpg","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Mirco Bitter"},"address":{"address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/4U200669ML2363619","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/4U200669ML2363619","rel":"update","method":"PATCH"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/4U200669ML2363619\/capture","rel":"capture","method":"POST"}],"id":"4U200669ML2363619","payment_source":{"paypal":{"email_address":"[email protected]","account_id":"YN9X5HXB8MZ38","account_status":"VERIFIED","name":{"given_name":"Mirco","surname":"Bitter"},"address":{"address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628","country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Mirco","surname":"Bitter"},"email_address":"[email protected]","payer_id":"YN9X5HXB8MZ38","address":{"address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-6VJ76685KV924124L-9BL76705KG285282A","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-6VJ76685KV924124L-9BL76705KG285282A\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: e033ad941d121
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:01:46+00:00 DEBUG Webhook WH-6VJ76685KV924124L-9BL76705KG285282A received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    2024-01-21T17:01:46+00:00 DEBUG Webhook is going to be handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2024-01-21T17:01:46+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/4U200669ML2363619
    Response Debug ID: 10ce4430647ec
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:01:46+00:00 INFO Webhook has been handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2024-01-21T17:02:17+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/4U200669ML2363619
    Response Debug ID: 58e722f4b936a
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:02:17+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders/4U200669ML2363619/capture
    Response Debug ID: 2138324de28b9
    Response: Array
    (
        [code] => 422
        [message] => Unprocessable Entity
    )
    
    Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"location":"body","issue":"VALIDATION_ERROR","description":"Invalid request - see details"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"2138324de28b9","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR","rel":"information_link","method":"GET"}]}
    
    2024-01-21T17:02:17+00:00 WARNING Failed to capture order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR
    2024-01-21T17:02:17+00:00 ERROR Payment failed: Die Zahlung konnte nicht verarbeitet werden. Bitte versuche es erneut oder kontaktiere den Shop-Administrator. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR PayPalGateway.php:620 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR OrderEndpoint.php:346
    2024-01-21T17:03:20+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"43.90","breakdown":{"item_total":{"currency_code":"EUR","value":"32.27"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"7.01"}}},"description":"","items":[{"name":"Calypso Geschirr Moonlight \/ Softshellpolsterung- Selbstleuchtend-","unit_amount":{"currency_code":"EUR","value":"32.27"},"quantity":1,"description":"Gewicht ca 130 gr\r\n\r\nPflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte einen W\u00e4schebeutel ode","sku":"CA-Moonlight - 100","category":"PHYSICAL_GOODS","url":"https:\/\/aladins-tierparadies.de\/produkt\/calypso-geschirr-moonlight-softshellpolsterung-selbstleuchtend\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2022\/09\/Calypso-Moonlight.jpg"}],"shipping":{"name":{"full_name":"Mirco Bitter"},"address":{"country_code":"DE","address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628"}},"custom_id":"7742","invoice_id":"7742"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"GET_FROM_FILE","landing_page":"LOGIN","locale":"de-DE","brand_name":"Aladin's Tierparadies","return_url":"https:\/\/aladins-tierparadies.de\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/aladins-tierparadies.de\/checkout\/","payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"Mirco","surname":"Bitter"},"address":{"country_code":"DE","address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"4947025210012"}}}}
    Response Debug ID: cb7ba5e7995d8
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    
    2024-01-21T17:03:30+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/19E02376573217211
    Response Debug ID: f31f268646db5
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:03:31+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders/19E02376573217211/capture
    Response Debug ID: bfda84577793d
    Response: Array
    (
        [code] => 422
        [message] => Unprocessable Entity
    )
    
    Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"location":"body","issue":"VALIDATION_ERROR","description":"Invalid request - see details"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"bfda84577793d","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR","rel":"information_link","method":"GET"}]}
    
    2024-01-21T17:03:31+00:00 WARNING Failed to capture order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR
    2024-01-21T17:03:31+00:00 ERROR Payment failed: Die Zahlung konnte nicht verarbeitet werden. Bitte versuche es erneut oder kontaktiere den Shop-Administrator. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR PayPalGateway.php:620 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR OrderEndpoint.php:346
    2024-01-21T17:04:03+00:00 DEBUG POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"03a66d20-b87f-11ee-97bc-f7dfe8cd5ae9","transmission_time":"2024-01-21T17:03:35Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ad47cb8d","auth_algo":"SHA256withRSA","transmission_sig":"UxJFa73BCaUPLflfsPRAesle3isA0yGxsZXdRrCk93aC46zGU2NSz2ZDzW4\/ZsYW+iIqGrn5zHK94IckyYonuOjIupgakMkKit1zi3VPGnCLPuKnUZ7jsE2cvC1gMabh09vXXI5B7R3stGG+GGydeKnbi5U6Pll350AfXgPcg+Zl4Zw\/5II66Eu52mUBC77R6KgndN+CRU6uLzkzFGs3eUbKnPL8pwIASjvfSqEjNYJFB7e4W1KF8jgaUeYf7FRy3uZFHrGvdpZITf7GuPX9LBB\/z9Y2jPBRJK0fJshBQY466A24dzdVjb2kzojq7mcigRiZX7rymyP5L9\/dHfneHw==","webhook_id":"95396314YA346143N","webhook_event":{"id":"WH-51393047877213649-2VM95255GN269761C","event_version":"1.0","create_time":"2024-01-21T17:03:32.094Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2024-01-21T17:03:20Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"43.90","breakdown":{"item_total":{"currency_code":"EUR","value":"32.27"},"shipping":{"currency_code":"EUR","value":"4.62"},"tax_total":{"currency_code":"EUR","value":"7.01"}}},"payee":{"email_address":"[email protected]","merchant_id":"UGC7S429EURN2","display_data":{"brand_name":"Aladin's Tierparadies"}},"description":"","custom_id":"7742","invoice_id":"7742","items":[{"name":"Calypso Geschirr Moonlight \/ Softshellpolsterung- Selbstleuchtend-","unit_amount":{"currency_code":"EUR","value":"32.27"},"quantity":"1","description":"Gewicht ca 130 gr\r\n\r\nPflegehinweise:\r\n\r\nSie k\u00f6nnen diesen Artikel bei 30\u00b0 waschen. Benutzen Sie bitte einen W\u00e4schebeutel ode","sku":"CA-Moonlight - 100","url":"https:\/\/aladins-tierparadies.de\/produkt\/calypso-geschirr-moonlight-softshellpolsterung-selbstleuchtend\/","image_url":"https:\/\/aladins-tierparadies.de\r\n\/wp-content\/uploads\/2022\/09\/Calypso-Moonlight.jpg","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Mirco Bitter"},"address":{"address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/19E02376573217211","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/19E02376573217211","rel":"update","method":"PATCH"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/19E02376573217211\/capture","rel":"capture","method":"POST"}],"id":"19E02376573217211","payment_source":{"paypal":{"email_address":"[email protected]","account_id":"YN9X5HXB8MZ38","account_status":"VERIFIED","name":{"given_name":"Mirco","surname":"Bitter"},"address":{"address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628","country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Mirco","surname":"Bitter"},"email_address":"[email protected]","payer_id":"YN9X5HXB8MZ38","address":{"address_line_1":"Marktstra\u00dfe 10","admin_area_2":"Hagen im Bremischen","postal_code":"27628","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-51393047877213649-2VM95255GN269761C","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-51393047877213649-2VM95255GN269761C\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 2823e135762f2
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:04:03+00:00 DEBUG Webhook WH-51393047877213649-2VM95255GN269761C received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    2024-01-21T17:04:03+00:00 DEBUG Webhook is going to be handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2024-01-21T17:04:04+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/19E02376573217211
    Response Debug ID: 9dc8941906508
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:04:04+00:00 DEBUG  https://api-m.paypal.com/v2/checkout/orders/19E02376573217211
    Response Debug ID: e3194f241fa81
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    
    2024-01-21T17:04:04+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders/19E02376573217211/capture
    Response Debug ID: 98cd8f586920a
    Response: Array
    (
        [code] => 422
        [message] => Unprocessable Entity
    )
    
    Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"location":"body","issue":"VALIDATION_ERROR","description":"Invalid request - see details"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"98cd8f586920a","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR","rel":"information_link","method":"GET"}]}
    
    2024-01-21T17:04:04+00:00 WARNING Failed to capture order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR
    2024-01-21T17:04:04+00:00 WARNING Failed to process WC order 7742: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-VALIDATION_ERROR.
    2024-01-21T17:04:04+00:00 INFO Webhook has been handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    

    Things I’ve tried.

    1. Turning off js optimization from Autoptimize.
    2. Upgrading to newest versions of everything.
    3. Deactivated plugins, I thought might have conflicted. (can’t deactivate them all, as it is a running webshop).

    This all started after removing Woocommerce Payments, as it was constantly going into “safe mode” and we weren’t using it anyway.

    Any tips on what to do here would be greatly appreciated.

    Scott

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @scamo

    I’ve seen this problem no more than 2 times.

    The error messages indicate validation problems on PayPal’s side. The capture operation does not contain any additional payload that could be improperly formatted on our part. Together with the debut ID, PayPal Merchant Technical Support should be able to determine what is causing this error. Users who have been referred by us to MTS with the same problem have generally found a solution, as we have not received a response after this suggestion.

    As for your conflict test, it’s a prudent approach to do it in a safe environment, like a staging site. This will allow you to troubleshoot the problem without impacting your live webshop. Try to replicate the problem there.

    If the MTS team does not provide a detailed response to your query, I recommend reaching out to us directly. We will conduct a thorough analysis of a staging site in collaboration with the rest of our team. You can open a ticket with our service desk. Here’s how you can request support:?Request Support. Please make sure to include the URL of this thread in your ticket for reference.

    Kind Regards,

    Krystian

    Thread Starter scamo

    (@scamo)

    Hi Krystian,

    After over a week of terrible service, I got the answer to go back here. Although I asked the ticket be escalated to Paypal management because the support person said, “since it seems you are using Woocommerce, please check with their support”, despite I linked to this thread from the start, I am asking again here, if there might be any clues or tips to things to try or look into to solve this issue.

    The strange thing is, it started when I removed the Woocommerce Payments plugin, as we weren’t using it. Seems like a coincidence to me, but maybe there is some connection?

    Again, any tips or guidance would be greatly appreciated. Paypal tech support has been absolutely useless up to this point. To be honest, I’m not sure how they make money. The service is total crap from a usability standpoint too, but I guess it is because they were “first”. At any rate, ranting aside, I hope you might have some ideas. You seem to the most capable person I’ve spoken to yet.

    Scott

    Thread Starter scamo

    (@scamo)

    Thread Starter scamo

    (@scamo)

    I finally got a decent reply from Paypal. They said this:

    Having been in communication with a team that has looked over your issue, they suggest that the issue lies in the following objects passed in the API request.

    • path: chargeRequest.Transactions.memo.short_desription
    • path: chargeRequest.transactions.purchase_context.items.image_url

    Given that the following values were entered, the Switch request is wrong in both ‘short_description’ and ‘image_url,’ where we are getting return carriage characters [//r] which the switch is not able to understand.

    Memo: “memo”:{“short_description”:”Gewicht ca 130 gr\r
    \r
    Pflegehinweise:\r
    \r
    Sie k?nnen diesen Artikel bei 30° waschen. Benutzen Sie bitte einen W?schebeutel ode”

    image_url: “image_url”:“https://aladins-tierparadies.de\r
    /wp-content/uploads/2022/09/Calypso-Moonlight.jpg”}]
    I hope this helps. I requested the internal team to see if the PayPal Partner that you use is performing similar API calls on behalf of many other sellers. The team, yet, has to confirm. Please await further updates.

    This doesn’t seem like something that has been caused by anything I’ve done. So, what do you suggest?

    Scott

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello?@scamo

    I’ve reviewed the feedback from PayPal and the details you’ve shared.

    This situation suggests that there might be an issue with how the plugin formats the data before sending it to PayPal, leading to these formatting errors. It’s likely related to how the plugin interacts with the data on your site, possibly due to a conflict with another plugin or the specific configuration of your site.

    To address this issue, I recommend the following steps:

    1. Set up a staging version of your site and use a PayPal sandbox account to replicate the issue. This safe environment will allow you to test without affecting live transactions.
    2. Since the issue is related to product descriptions and image URLs, try adjusting these attributes to see if the problem persists. This can help identify whether specific content or formatting is causing the issue.
    3. Temporarily disable other plugins and test the PayPal plugin in isolation. If the issue resolves, then re-enable each plugin one by one to identify the culprit.

    Please do not hesitate to reach out if you have further questions or need additional support.

    Kind Regards,

    Krystian

    Thread Starter scamo

    (@scamo)

    FYI, Paypal said they are looking into seeing if Paypal Payments is also affecting other customers and would contact you all (supposedly) should they find it is.

    I’m looking at failed orders and the products with their descriptions. Nothing is jumping out as bad formatting to me directly, but I’m still reworking the texts. We’ll see if that helps.

    Strange thing just happened too. One order failed, but then went through in the same minute. I highly doubt this was the customer resending the order. Very strange….

    Scott

    • This reply was modified 9 months, 2 weeks ago by scamo.
    Thread Starter scamo

    (@scamo)

    Hi Krystian,

    The Paypal support person asked me to ask you this:

    Can you please contact the WooCommerce tech support team and ask them to validate the image_url field? It appears that the issue lies in the improper value sent via the image_url.

    Scott

    Thread Starter scamo

    (@scamo)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Intermittant issue with payments’ is closed to new replies.