• Resolved alexliii

    (@alexliii)


    Hello,

    We recieved payment from the customer, and order was created in Woocommerce. But there is a warning in the log:

    2024-02-24T18:53:40+00:00 Warning WC order ID was not found in webhook event WH-1CG565444344308J4126373S-26W252438935EN76442370X for PayPal order 3XV92634T399443580G.

    Could you please let us know what that means?

    Here is the full order log:

    2024-02-24T18:53:40+00:00 Debug POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
    
    Request Body: {"transmission_id":"de83fc60-d345-11ee-84b7-6111266b5890","transmission_time":"2024-02-24T18:52:33Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ad47cb8d","auth_algo":"SHA256withRSA","transmission_sig":"S510jlGlDHHh5L+jXg2oDTsgyhM8ktTJfQVKN48JWVhaj98MJPtHVEw9AB3\/M+0Z\/NJQBGN1KOZaeHaH9VJwRaJkmKv8jm\/C\/4xzBxdDzOJKSSGOAr1yrRUgpr8pyrJUv0xTOmZcAMGDHIlHNuRerEV2j5vkFeE2NDyfkq6sNnJnZHU\/pDuLSt4Uge\/OpdbofZaMbnNCdZ6ZQENmjTjndnG53E7T+yIaYWz1Hpoe3guzBbff2lGQosvuPIqK6GzN03C0M9LHRcLqFfEkgdER0VfWPe0CgEEq7f9B2T3j6S0ht+0wDCtkXGMC4JofmkkUpBTCpqOwZ7CkWtqs8KceEeKecMlESeg==","webhook_id":"9Y599849MB2280948","webhook_event":{"id":"WH-1CG56508J4126373S-26W25235EN762370X","event_version":"1.0","create_time":"2024-02-24T18:52:29.381Z","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-02-24T18:51:44Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"207.96","breakdown":{"item_total":{"currency_code":"USD","value":"191.05"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"18.91"},"discount":{"currency_code":"USD","value":"2.00"}}},"payee":{"email_address”:”[email protected]","merchant_id":"L8RG84VJH8R8G","display_data":{"brand_name":OUTSITEr.com"}},"description":"","soft_descriptor":OUTSITEr.com","items":[{"name":"Men's Business Smart Watch with Altitude Barometer","unit_amount":{"currency_code":"USD","value":"191.05"},"quantity":"1","description":"","sku":"LOV13256805356632369COUR-01","url":"https:\/\OUTSITEr.com\/shop\/smart-watch\/outdoor-sports-smart-watch-for-men-altitude-barometer-classic-design\/?attribute_pa_color=black&attribute_pa_size=49-mm&attribute_pa_band=silicone","image_url":"https:\/\/cdnOUTSITEr.com\/wp-content\/uploads\/2023\/05\/21063951\/outdoor-sports-smart-watch-for-men-altitude-barometer-classic-design-15.jpg","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"brian pepperdine"},"address":{"address_line_1":"16672 Rudd Rd","admin_area_2":"Lawson","admin_area_1":"MO","postal_code":"64062-8203","country_code":"US"}}}],"links":[{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/3XV92634T3993580G","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/3XV92635554T3993580G","rel":"update","method":"PATCH"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/3XV92634T3993580G\/capture","rel":"capture","method":"POST"}],"id":"3XV9263324T399356680G","payment_source":{"paypal":{"email_address”:”[email protected]","account_id":"DKY854UP7CGDC8C","account_status":"VERIFIED","name":{"given_name":"brian","surname":"pepperdine"},"phone_type":"HOME","phone_number":{"national_number":"8162106647"},"address":{"country_code":"US"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"brian","surname":"pepperdine"},"email_address”:”[email protected]","payer_id":"DKY8UP7CGDC8C","phone":{"phone_type":"HOME","phone_number":{"national_number":"816210446647"}},"address":{"country_code":"US"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-1CG56508J4126373S-26W25235EN762370X","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-1CG56508J4126373S-26W25235EN762370X\/resend","rel":"resend","method":"POST"}]}}
    
    Response Debug ID: 969fd0197d878
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-02-24T18:53:40+00:00 Debug Webhook WH-1CG56508J4126373S-26W2523445EN762370X received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    
    2024-02-24T18:53:40+00:00 Debug Webhook is going to be handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    
    2024-02-24T18:53:40+00:00 Debug  https://api-m.paypal.com/v2/checkout/orders/3XV92634T3993580G
    
    Response Debug ID: 95c9c5774c0ad
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-02-24T18:53:40+00:00 Warning WC order ID was not found in webhook event WH-1CG565444344308J4126373S-26W252438935EN76442370X for PayPal order 3XV92634T399443580G.
    
    2024-02-24T18:53:40+00:00 Info Webhook has been handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    
    2024-02-24T18:54:57+00:00 Debug PATCH https://api-m.paypal.com/v2/checkout/orders/3XV92634T3993580G
    
    Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"207.96","breakdown":{"item_total":{"currency_code":"USD","value":"191.05"},"shipping":{"currency_code":"USD","value":"0.00"},"tax_total":{"currency_code":"USD","value":"18.91"},"discount":{"currency_code":"USD","value":"2.00"}}},"description":"","items":[{"name":"Men's Business Smart Watch with Altitude Barometer","unit_amount":{"currency_code":"USD","value":"191.05"},"quantity":1,"description":"","sku":"LOV13256805356632369COUR-01","category":"PHYSICAL_GOODS","url":"htOUTSITE/OUTSITE.com\/shop\/smart-watch\/outdoor-sports-smart-watch-for-men-altitude-barometer-classic-design\/?attribute_pa_color=black&attribute_pa_size=49-mm&attribute_pa_band=silicone","image_url":"https:OUTSITE.OUTSITE.com\/wp-content\/uploads\/2023\/05\/21063951\/outdoor-sports-smart-watch-for-men-altitude-barometer-classic-design-15.jpg"}],"shipping":{"name":{"full_name":"brian pepperdine"},"address":{"country_code":"US","address_line_1":"16672 Rudd Rd","admin_area_1":"MO","admin_area_2":"Lawson","postal_code":"64062-8203"}},"custom_id":"1917458","invoiOUTSITE"OUTSITE-1917458","soft_descrOUTSITE"OUTSITE.com"}}]
    
    Response Debug ID: d7fb003ed3608
    
    Response: Array
    
    (
    
        [code] => 204
    
        [message] => No Content
    
    )
    
    
    
    2024-02-24T18:54:57+00:00 Debug  https://api-m.paypal.com/v2/checkout/orders/3XV92634T3993580G
    
    Response Debug ID: ec15f9abe8fca
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-02-24T18:54:59+00:00 Debug POST https://api-m.paypal.com/v2/checkout/orders/3XV92634T3993580G/capture
    
    Response Debug ID: 00adaa05ac273
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-02-24T18:55:33+00:00 Debug POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
    
    Request Body: {"transmission_id":"3a369090-d346-11ee-aa1a-29a9a0bfa8a2","transmission_time":"2024-02-24T18:55:07Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ad47cb8d","auth_algo":"SHA256withRSA","transmission_sig":"VyRnSHYji+WvG7XzUV5U9eL3OU3IE0ghDqMP+V\/+bhs60enMbyTxXmSQFdpX+uvIDCHM0jc5CZc6B4YdhPXwDUEd7V9xvJMRuQRXDPUyGdM0eaEhPXcWqxd\/bi36Aa1FASmEp4XNLXEIpZBLtxsIhJ6FIifYhYX4H3r6AakpQdG9w2JKO\/RybrxmbCb4LCaCshZ7o9ZKJbjMQ0TkDo\/6cabhB4KY1herLPszmin2DCdU1cpZr8YfzQ9PV45wleRz1McNMYD\/a9TZYPOXz\/tlkSZnDl\/HGNbGZfkEiLp96REnAu6mKuuXSe+a2Joi\/3BXp3ZS5sLtoG2dNAS+t\/ShLA==","webhook_id":"9Y599849MB2280948","webhook_event":{"id":"WH-21150389N5766300U-9BG57768NH146842G","event_version":"1.0","create_time":"2024-02-24T18:55:03.083Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for $ 207.96 USD","resource":{"id":"6T818547N0781300A","amount":{"currency_code":"USD","value":"207.96"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"USD","value":"207.96"},"paypal_fee":{"currency_code":"USD","value":"9.45"},"net_amount":{"currency_code":"USD","value":"198.51"}},"invoiOUTSITE"OUTSITE-1917458","custom_id":"1917458","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"3XV92634T3993580G"}},"payee":{"email_address”:”[email protected]","merchant_id":"L8RG84VJH8R8G"},"create_time":"2024-02-24T18:54:58Z","update_time":"2024-02-24T18:54:58Z","links":[{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/6T818547N0781300A","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/6T818547N0781300A\/refund","rel":"refund","method":"POST"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/3XV92634T3993580G","rel":"up","method":"GET"}]},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-21150389N5766300U-9BG57768NH146842G","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-21150389N5766300U-9BG57768NH146842G\/resend","rel":"resend","method":"POST"}]}}
    
    Response Debug ID: 338ffd7379bc9
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-02-24T18:55:33+00:00 Debug Webhook WH-21150389N5766300U-9BG57768NH146842G received of type PAYMENT.CAPTURE.COMPLETED and by resource "capture"
    
    2024-02-24T18:55:33+00:00 Debug Webhook is going to be handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
    
    2024-02-24T18:55:33+00:00 Info Webhook has been handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
    
Viewing 1 replies (of 1 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @alexliii

    This is a situation we occasionally encounter, and often it is related to caching problems or discrepancies in the communication between the website and PayPal’s systems.

    To address this issue, we recommend taking the following steps: Firstly, please try clicking the “Resubscribe” button on your PayPal Payments plugin dashboard. After the site has reloaded, use the “Simulate” function to verify that the webhooks are being correctly received. This process helps in ensuring that the communication link between your site and PayPal is active and properly configured.

    Furthermore, you mentioned in a different thread that you are using a different PayPal plugin on your site. It’s important to note that using multiple plugins for PayPal payments can sometimes lead to conflicts or issues with payment processing, including the creation and recognition of orders. This could potentially be impacting the webhook events and the visibility of certain orders within your system.

    If after following the above steps you continue to experience issues, we encourage you to reach out to us with further details

    Kind regards,
    Krystian

Viewing 1 replies (of 1 total)
  • The topic ‘Warning WC order ID was not found in webhook event’ is closed to new replies.