• Resolved alexliii

    (@alexliii)


    Hello,

    We got failed order, so we tried “Remove PayPal Payments data from Database.” by clean now, and re-onboarding, but, we get errors on logs below.

    It would be great if we can got your any suggestion to fix the issue.

    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:56:53+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"GET","headers":{"Authorization":"Bearer A21AAJ4kHQBh1vnx7qS-iVNB94e95NH2O2g2VWmsvOSVvlPQIxPJaeAoisMBBT9Lbig0eISeQQnN4K-Sh1p_fAWgFo-Rc1OHg","Content-Type":"application\/json"}},"response":{"headers":{},"body":"{\"error\":\"invalid_token\",\"error_description\":\"The token passed in was not found in the system\"}","response":{"code":401,"message":"Unauthorized"},"cookies":[{"name":"l7_az","value":"ccg13.slc","expires":1710340013,"path":"\/","domain":"paypal.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T13:56:56+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: a69c036687740
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:57:06+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: feb8fcf52133e
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:57:06+00:00 Error Failed to delete webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T13:57:06+00:00 Info Webhooks deleted.
    
    2024-03-13T13:57:07+00:00 Debug POST https://api-m.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: ad0871498280b
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:57:07+00:00 Error Failed to subscribe webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T13:57:45+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: fe4ddc0db9279
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:57:45+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T13:57:46+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 7e45c5bbee813
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:57:46+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T13:57:47+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 7ce730e3b6f5d
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:57:47+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T13:57:52+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 397de8052da8b
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:57:53+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: c80c1a5e012e3
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:57:54+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: d67caadef6e23
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:11+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: bb6f22aedf0c0
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:11+00:00 Error Failed to delete webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T13:58:11+00:00 Info Webhooks deleted.
    
    2024-03-13T13:58:11+00:00 Debug POST https://api-m.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: 75a13d41eaf3d
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:11+00:00 Error Failed to subscribe webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T13:58:15+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 78ae9bbb526eb
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:15+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T13:58:16+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 15d685647eb31
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:16+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T13:58:23+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 0bad426d363ea
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:24+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 07a4f3b68f74f
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:30+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: b9961d5ce7ca6
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:30+00:00 Error Failed to delete webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T13:58:30+00:00 Info Webhooks deleted.
    
    2024-03-13T13:58:30+00:00 Debug POST https://api-m.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: 6671df05f9344
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:30+00:00 Error Failed to subscribe webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T13:58:32+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 2d07b7cf6ecae
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:32+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T13:58:40+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: c1d0cd4cbad38
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:46+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 024b35e061f23
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:46+00:00 Error Failed to delete webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T13:58:46+00:00 Info Webhooks deleted.
    
    2024-03-13T13:58:46+00:00 Debug POST https://api-m.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: 3a3901424932b
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:46+00:00 Error Failed to subscribe webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T13:58:49+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 558d6586921e0
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T13:58:49+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T13:58:57+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: f5345f78d6744
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T14:00:18+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 14b123f6da6fe
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T14:00:18+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T14:00:26+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: a170ad870e543
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T14:00:37+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 740bcbc05fa05
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T14:00:37+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T14:00:40+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 9f51ac0aa3a93
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T14:00:40+00:00 Error Failed to delete webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T14:00:40+00:00 Info Webhooks deleted.
    
    2024-03-13T14:00:40+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 3fe1a537fd556
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T14:00:40+00:00 Error Failed to load webhooks list: Could not retrieve value for key "webhook.status.registered-webhooks from inner container
    
    2024-03-13T14:00:41+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: a40f05b3b21d3
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T14:00:41+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"GET","headers":{"Authorization":"Bearer A21AAJ4kHQBh1vnx7qS-iVNB94e95NH2O2g2VWmsvOSVvlPQIxPJaeAoisMBBT9Lbig0eISeQQnN4K-Sh1p_fAWgFo-Rc1OHg","Content-Type":"application\/json"}},"response":{"headers":{},"body":"{\"error\":\"invalid_token\",\"error_description\":\"The token passed in was not found in the system\"}","response":{"code":401,"message":"Unauthorized"},"cookies":[{"name":"l7_az","value":"ccg13.slc","expires":1710340241,"path":"\/","domain":"paypal.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:00:44+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 3de0eaac99418
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_token","error_description":"The token passed in was not found in the system"}
    
    2024-03-13T14:00:44+00:00 Error Failed to delete webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    
    2024-03-13T14:00:44+00:00 Info Webhooks deleted.
    
    2024-03-13T14:00:45+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 4a3ef110a2687
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:00:45+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: ad21aa45bab79
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:00:46+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: bde94502bfa66
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:00:47+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 1b08ecce5a38f
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:00:48+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 3a3fe91e3a2f1
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:00:49+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 6cff92b64fc4a
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:00:50+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 89dc4e7302b60
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:00:50+00:00 Info Webhooks deleted.
    
    2024-03-13T14:00:50+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: 4c59376082ab2
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:00:50+00:00 Info Webhooks subscribed.
    
    2024-03-13T14:00:55+00:00 Info Generating onboarding URL for: production-ppcp
    
    2024-03-13T14:00:55+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjIyZDgzZTQ3MzUyMjZlMDJmOTMyOWQ0YTY5MDkwNDY0In0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response: Array
    
    (
    
        [code] => 500
    
        [message] => Internal Server Error
    
    )
    
    
    
    Response Body: <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
    
        <meta charset="utf-8" />
    
        <meta name="robots" content="noindex,nofollow,noarchive" />
    
        <title>An Error Occurred: Internal Server Error</title>
    
        <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
    
    .container { margin: 30px; max-width: 600px; }
    
    h1 { color: #dc3545; font-size: 24px; }
    
    h2 { font-size: 18px; }</style>
    
    </head>
    
    <body>
    
    <div class="container">
    
        <h1>Oops! An Error Occurred</h1>
    
        <h2>The server returned a "500 Internal Server Error".</h2>
    
    
    
        <p>
    
            Something is broken. Please let us know what you were doing when this error occurred.
    
            We will fix it as soon as possible. Sorry for any inconvenience caused.
    
        </p>
    
    </div>
    
    </body>
    
    </html>
    
    2024-03-13T14:00:55+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Bearer token","Content-Type":"application\/json","Prefer":"return=representation"},"body":"{\"partner_config_override\":{\"return_url\":\"https:\\\/\\\/mysite.com\\\/wp-admin\\\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjIyZDgzZTQ3MzUyMjZlMDJmOTMyOWQ0YTY5MDkwNDY0In0\",\"return_url_description\":\"Return to your shop.\",\"show_add_credit_card\":true},\"products\":[\"PPCP\"],\"legal_consents\":[{\"type\":\"SHARE_DATA_CONSENT\",\"granted\":true}],\"operations\":[{\"operation\":\"API_INTEGRATION\",\"api_integration_preference\":{\"rest_api_integration\":{\"integration_method\":\"PAYPAL\",\"integration_type\":\"FIRST_PARTY\",\"first_party_details\":{\"features\":[\"PAYMENT\",\"FUTURE_PAYMENT\",\"REFUND\",\"ADVANCED_TRANSACTIONS_SEARCH\",\"VAULT\",\"TRACKING_SHIPMENT_READWRITE\"],\"seller_nonce\":\"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG\"}}}}]}"},"response":{"headers":{},"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" \/>\n    <meta name=\"robots\" content=\"noindex,nofollow,noarchive\" \/>\n    <title>An Error Occurred: Internal Server Error<\/title>\n    <style>body { background-color: #fff; color: #222; font: 16px\/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; }\n.container { margin: 30px; max-width: 600px; }\nh1 { color: #dc3545; font-size: 24px; }\nh2 { font-size: 18px; }<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>Oops! An Error Occurred<\/h1>\n    <h2>The server returned a \"500 Internal Server Error\".<\/h2>\n\n    <p>\n        Something is broken. Please let us know what you were doing when this error occurred.\n        We will fix it as soon as possible. Sorry for any inconvenience caused.\n    <\/p>\n<\/div>\n<\/body>\n<\/html>","response":{"code":500,"message":"Internal Server Error"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:00:55+00:00 Info Generating onboarding URL for: production-express_checkout
    
    2024-03-13T14:00:56+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6ImVjZGI3MjBhMTMxOTU2NTQ0ZjRmNjY2MzMzYmJjNTNhIn0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response: Array
    
    (
    
        [code] => 500
    
        [message] => Internal Server Error
    
    )
    
    
    
    Response Body: <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
    
        <meta charset="utf-8" />
    
        <meta name="robots" content="noindex,nofollow,noarchive" />
    
        <title>An Error Occurred: Internal Server Error</title>
    
        <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
    
    .container { margin: 30px; max-width: 600px; }
    
    h1 { color: #dc3545; font-size: 24px; }
    
    h2 { font-size: 18px; }</style>
    
    </head>
    
    <body>
    
    <div class="container">
    
        <h1>Oops! An Error Occurred</h1>
    
        <h2>The server returned a "500 Internal Server Error".</h2>
    
    
    
        <p>
    
            Something is broken. Please let us know what you were doing when this error occurred.
    
            We will fix it as soon as possible. Sorry for any inconvenience caused.
    
        </p>
    
    </div>
    
    </body>
    
    </html>
    
    2024-03-13T14:00:56+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Bearer token","Content-Type":"application\/json","Prefer":"return=representation"},"body":"{\"partner_config_override\":{\"return_url\":\"https:\\\/\\\/mysite.com\\\/wp-admin\\\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6ImVjZGI3MjBhMTMxOTU2NTQ0ZjRmNjY2MzMzYmJjNTNhIn0\",\"return_url_description\":\"Return to your shop.\",\"show_add_credit_card\":true},\"products\":[\"EXPRESS_CHECKOUT\"],\"legal_consents\":[{\"type\":\"SHARE_DATA_CONSENT\",\"granted\":true}],\"operations\":[{\"operation\":\"API_INTEGRATION\",\"api_integration_preference\":{\"rest_api_integration\":{\"integration_method\":\"PAYPAL\",\"integration_type\":\"FIRST_PARTY\",\"first_party_details\":{\"features\":[\"PAYMENT\",\"FUTURE_PAYMENT\",\"REFUND\",\"ADVANCED_TRANSACTIONS_SEARCH\",\"VAULT\",\"TRACKING_SHIPMENT_READWRITE\"],\"seller_nonce\":\"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG\"}}}}]}"},"response":{"headers":{},"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" \/>\n    <meta name=\"robots\" content=\"noindex,nofollow,noarchive\" \/>\n    <title>An Error Occurred: Internal Server Error<\/title>\n    <style>body { background-color: #fff; color: #222; font: 16px\/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; }\n.container { margin: 30px; max-width: 600px; }\nh1 { color: #dc3545; font-size: 24px; }\nh2 { font-size: 18px; }<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>Oops! An Error Occurred<\/h1>\n    <h2>The server returned a \"500 Internal Server Error\".<\/h2>\n\n    <p>\n        Something is broken. Please let us know what you were doing when this error occurred.\n        We will fix it as soon as possible. Sorry for any inconvenience caused.\n    <\/p>\n<\/div>\n<\/body>\n<\/html>","response":{"code":500,"message":"Internal Server Error"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:00:56+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: b491774a4ffbe
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:01:11+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/notifications/simulate-event
    
    Request Body: {"webhook_id":"87C61719X9353360Y","event_type":"CHECKOUT.ORDER.APPROVED","resource_version":"2.0"}
    
    Response Debug ID: 54dcda8c06360
    
    Response: Array
    
    (
    
        [code] => 202
    
        [message] => Accepted
    
    )
    
    
    
    2024-03-13T14:01:24+00:00 Debug Webhook WH-COC11055RA711503B-4YM959094A144403T received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    
    2024-03-13T14:01:24+00:00 Info Received simulated webhook.
    
    2024-03-13T14:01:30+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: ba47de4df22e3
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:01:31+00:00 Debug DELETE https://api-m.sandbox.paypal.com/v1/notifications/webhooks/87C61719X9353360Y
    
    Response Debug ID: ba47de462c17e
    
    Response: Array
    
    (
    
        [code] => 204
    
        [message] => No Content
    
    )
    
    
    
    2024-03-13T14:01:31+00:00 Info Webhooks deleted.
    
    2024-03-13T14:01:31+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: 24257f05dcb73
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:01:31+00:00 Info Webhooks subscribed.
    
    2024-03-13T14:01:32+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 51cb8c1d6e43c
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:01:38+00:00 Info Generating onboarding URL for: production-ppcp
    
    2024-03-13T14:01:38+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjA2MzgwNTMwNTcyZDNlNzJhMjYxNTdmNmY4OWY4OTkwIn0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response: Array
    
    (
    
        [code] => 500
    
        [message] => Internal Server Error
    
    )
    
    
    
    Response Body: <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
    
        <meta charset="utf-8" />
    
        <meta name="robots" content="noindex,nofollow,noarchive" />
    
        <title>An Error Occurred: Internal Server Error</title>
    
        <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
    
    .container { margin: 30px; max-width: 600px; }
    
    h1 { color: #dc3545; font-size: 24px; }
    
    h2 { font-size: 18px; }</style>
    
    </head>
    
    <body>
    
    <div class="container">
    
        <h1>Oops! An Error Occurred</h1>
    
        <h2>The server returned a "500 Internal Server Error".</h2>
    
    
    
        <p>
    
            Something is broken. Please let us know what you were doing when this error occurred.
    
            We will fix it as soon as possible. Sorry for any inconvenience caused.
    
        </p>
    
    </div>
    
    </body>
    
    </html>
    
    2024-03-13T14:01:38+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Bearer token","Content-Type":"application\/json","Prefer":"return=representation"},"body":"{\"partner_config_override\":{\"return_url\":\"https:\\\/\\\/mysite.com\\\/wp-admin\\\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjA2MzgwNTMwNTcyZDNlNzJhMjYxNTdmNmY4OWY4OTkwIn0\",\"return_url_description\":\"Return to your shop.\",\"show_add_credit_card\":true},\"products\":[\"PPCP\"],\"legal_consents\":[{\"type\":\"SHARE_DATA_CONSENT\",\"granted\":true}],\"operations\":[{\"operation\":\"API_INTEGRATION\",\"api_integration_preference\":{\"rest_api_integration\":{\"integration_method\":\"PAYPAL\",\"integration_type\":\"FIRST_PARTY\",\"first_party_details\":{\"features\":[\"PAYMENT\",\"FUTURE_PAYMENT\",\"REFUND\",\"ADVANCED_TRANSACTIONS_SEARCH\",\"VAULT\",\"TRACKING_SHIPMENT_READWRITE\"],\"seller_nonce\":\"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG\"}}}}]}"},"response":{"headers":{},"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" \/>\n    <meta name=\"robots\" content=\"noindex,nofollow,noarchive\" \/>\n    <title>An Error Occurred: Internal Server Error<\/title>\n    <style>body { background-color: #fff; color: #222; font: 16px\/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; }\n.container { margin: 30px; max-width: 600px; }\nh1 { color: #dc3545; font-size: 24px; }\nh2 { font-size: 18px; }<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>Oops! An Error Occurred<\/h1>\n    <h2>The server returned a \"500 Internal Server Error\".<\/h2>\n\n    <p>\n        Something is broken. Please let us know what you were doing when this error occurred.\n        We will fix it as soon as possible. Sorry for any inconvenience caused.\n    <\/p>\n<\/div>\n<\/body>\n<\/html>","response":{"code":500,"message":"Internal Server Error"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:01:38+00:00 Info Generating onboarding URL for: production-express_checkout
    
    2024-03-13T14:01:39+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6IjNhNjhjMWM3OGQyZjlhMmMxNzYwMWE0MDAzZGM5NTRjIn0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response: Array
    
    (
    
        [code] => 500
    
        [message] => Internal Server Error
    
    )
    
    
    
    Response Body: <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
    
        <meta charset="utf-8" />
    
        <meta name="robots" content="noindex,nofollow,noarchive" />
    
        <title>An Error Occurred: Internal Server Error</title>
    
        <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
    
    .container { margin: 30px; max-width: 600px; }
    
    h1 { color: #dc3545; font-size: 24px; }
    
    h2 { font-size: 18px; }</style>
    
    </head>
    
    <body>
    
    <div class="container">
    
        <h1>Oops! An Error Occurred</h1>
    
        <h2>The server returned a "500 Internal Server Error".</h2>
    
    
    
        <p>
    
            Something is broken. Please let us know what you were doing when this error occurred.
    
            We will fix it as soon as possible. Sorry for any inconvenience caused.
    
        </p>
    
    </div>
    
    </body>
    
    </html>
    
    2024-03-13T14:01:39+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Bearer token","Content-Type":"application\/json","Prefer":"return=representation"},"body":"{\"partner_config_override\":{\"return_url\":\"https:\\\/\\\/mysite.com\\\/wp-admin\\\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6IjNhNjhjMWM3OGQyZjlhMmMxNzYwMWE0MDAzZGM5NTRjIn0\",\"return_url_description\":\"Return to your shop.\",\"show_add_credit_card\":true},\"products\":[\"EXPRESS_CHECKOUT\"],\"legal_consents\":[{\"type\":\"SHARE_DATA_CONSENT\",\"granted\":true}],\"operations\":[{\"operation\":\"API_INTEGRATION\",\"api_integration_preference\":{\"rest_api_integration\":{\"integration_method\":\"PAYPAL\",\"integration_type\":\"FIRST_PARTY\",\"first_party_details\":{\"features\":[\"PAYMENT\",\"FUTURE_PAYMENT\",\"REFUND\",\"ADVANCED_TRANSACTIONS_SEARCH\",\"VAULT\",\"TRACKING_SHIPMENT_READWRITE\"],\"seller_nonce\":\"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG\"}}}}]}"},"response":{"headers":{},"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" \/>\n    <meta name=\"robots\" content=\"noindex,nofollow,noarchive\" \/>\n    <title>An Error Occurred: Internal Server Error<\/title>\n    <style>body { background-color: #fff; color: #222; font: 16px\/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; }\n.container { margin: 30px; max-width: 600px; }\nh1 { color: #dc3545; font-size: 24px; }\nh2 { font-size: 18px; }<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>Oops! An Error Occurred<\/h1>\n    <h2>The server returned a \"500 Internal Server Error\".<\/h2>\n\n    <p>\n        Something is broken. Please let us know what you were doing when this error occurred.\n        We will fix it as soon as possible. Sorry for any inconvenience caused.\n    <\/p>\n<\/div>\n<\/body>\n<\/html>","response":{"code":500,"message":"Internal Server Error"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:01:39+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 1383c1bb81263
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:01:50+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/notifications/simulate-event
    
    Request Body: {"webhook_id":"73Y62830JS6842439","event_type":"CHECKOUT.ORDER.APPROVED","resource_version":"2.0"}
    
    Response Debug ID: b18ad2c3e4877
    
    Response: Array
    
    (
    
        [code] => 202
    
        [message] => Accepted
    
    )
    
    
    
    2024-03-13T14:02:05+00:00 Debug Webhook WH-COC11055RA711503B-4YM959094A144403T received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    
    2024-03-13T14:02:05+00:00 Info Received simulated webhook.
    
    2024-03-13T14:03:03+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 559aaecef8d61
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:03:06+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 80e954cb42d6a
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:03:07+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 6c6ce11d348dc
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:05:12+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 45e26ce5a4e17
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:05:18+00:00 Info Generating onboarding URL for: production-ppcp
    
    2024-03-13T14:05:19+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6ImJkYjllMTIxOWNiYzZjMWRmMmEzYTVmNTVhYmM0YjA1In0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response Debug ID: 84d141fe5c7c6
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:05:19+00:00 Info Persisted onboarding URL for: production-ppcp
    
    2024-03-13T14:05:19+00:00 Info Generating onboarding URL for: production-express_checkout
    
    2024-03-13T14:05:20+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6Ijk3OWZlNTFmNDBjZmE4MmYzYjkyZTU2MzEzZTExY2Y0In0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response Debug ID: cb3b74b6ecd01
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:05:20+00:00 Info Persisted onboarding URL for: production-express_checkout
    
    2024-03-13T14:05:20+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 75357e7ba3d0d
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:06:03+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: f0e29db7a01ba
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:06:09+00:00 Debug Loaded onbording URL from cache: production-ppcp
    
    2024-03-13T14:06:09+00:00 Debug Loaded onbording URL from cache: production-express_checkout
    
    2024-03-13T14:06:09+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 1337a216ad2d0
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:06:33+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 43f4bb71ca831
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:06:39+00:00 Debug Loaded onbording URL from cache: production-ppcp
    
    2024-03-13T14:06:39+00:00 Debug Loaded onbording URL from cache: production-express_checkout
    
    2024-03-13T14:06:39+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: a5a43cb38eb6d
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:08:51+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: bff47e0c055eb
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:08:57+00:00 Debug Loaded onbording URL from cache: production-ppcp
    
    2024-03-13T14:08:57+00:00 Debug Loaded onbording URL from cache: production-express_checkout
    
    2024-03-13T14:08:57+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: b577dcc342f76
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:10+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: ccff93ca62866
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:12+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 94670440c837e
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:12+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 5b9ddc116b32b
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:12+00:00 Debug DELETE https://api-m.sandbox.paypal.com/v1/notifications/webhooks/73Y62830JS6842439
    
    Response Debug ID: f0a46d5205274
    
    Response: Array
    
    (
    
        [code] => 204
    
        [message] => No Content
    
    )
    
    
    
    2024-03-13T14:09:12+00:00 Info Webhooks deleted.
    
    2024-03-13T14:09:13+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 9dbc95f82201f
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:13+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: acee18f4974e9
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:13+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: c647066b30e42
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:14+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: a1927b48524ed
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:15+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 59be379b3977e
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:15+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 94628621e2737
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:16+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: b25ee462958ea
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:16+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 859fc64b9386b
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:16+00:00 Info Webhooks deleted.
    
    2024-03-13T14:09:16+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: d3940b0a11f16
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:09:16+00:00 Info Webhooks subscribed.
    
    2024-03-13T14:09:17+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 8b5dfbaf0050c
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:17+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: be3dffb9f1f8c
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:17+00:00 Debug DELETE https://api-m.sandbox.paypal.com/v1/notifications/webhooks/8MB383875H193570N
    
    Response Debug ID: 70abf244719da
    
    Response: Array
    
    (
    
        [code] => 204
    
        [message] => No Content
    
    )
    
    
    
    2024-03-13T14:09:17+00:00 Info Webhooks deleted.
    
    2024-03-13T14:09:17+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: be3dffa5983d4
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:17+00:00 Info Webhooks deleted.
    
    2024-03-13T14:09:18+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 25c66693506d9
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:19+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 3290240c492d8
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:20+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: b7d8db2b82c44
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:09:20+00:00 Info Webhooks deleted.
    
    2024-03-13T14:09:26+00:00 Info Generating onboarding URL for: production-ppcp
    
    2024-03-13T14:09:26+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjllMjRiNTBmMjhiNjQ5MDAyNGYwMDQxZmM2MjdhMTA0In0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response: Array
    
    (
    
        [code] => 500
    
        [message] => Internal Server Error
    
    )
    
    
    
    Response Body: <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
    
        <meta charset="utf-8" />
    
        <meta name="robots" content="noindex,nofollow,noarchive" />
    
        <title>An Error Occurred: Internal Server Error</title>
    
        <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
    
    .container { margin: 30px; max-width: 600px; }
    
    h1 { color: #dc3545; font-size: 24px; }
    
    h2 { font-size: 18px; }</style>
    
    </head>
    
    <body>
    
    <div class="container">
    
        <h1>Oops! An Error Occurred</h1>
    
        <h2>The server returned a "500 Internal Server Error".</h2>
    
    
    
        <p>
    
            Something is broken. Please let us know what you were doing when this error occurred.
    
            We will fix it as soon as possible. Sorry for any inconvenience caused.
    
        </p>
    
    </div>
    
    </body>
    
    </html>
    
    2024-03-13T14:09:26+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Bearer token","Content-Type":"application\/json","Prefer":"return=representation"},"body":"{\"partner_config_override\":{\"return_url\":\"https:\\\/\\\/mysite.com\\\/wp-admin\\\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjllMjRiNTBmMjhiNjQ5MDAyNGYwMDQxZmM2MjdhMTA0In0\",\"return_url_description\":\"Return to your shop.\",\"show_add_credit_card\":true},\"products\":[\"PPCP\"],\"legal_consents\":[{\"type\":\"SHARE_DATA_CONSENT\",\"granted\":true}],\"operations\":[{\"operation\":\"API_INTEGRATION\",\"api_integration_preference\":{\"rest_api_integration\":{\"integration_method\":\"PAYPAL\",\"integration_type\":\"FIRST_PARTY\",\"first_party_details\":{\"features\":[\"PAYMENT\",\"FUTURE_PAYMENT\",\"REFUND\",\"ADVANCED_TRANSACTIONS_SEARCH\",\"VAULT\",\"TRACKING_SHIPMENT_READWRITE\"],\"seller_nonce\":\"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG\"}}}}]}"},"response":{"headers":{},"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" \/>\n    <meta name=\"robots\" content=\"noindex,nofollow,noarchive\" \/>\n    <title>An Error Occurred: Internal Server Error<\/title>\n    <style>body { background-color: #fff; color: #222; font: 16px\/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; }\n.container { margin: 30px; max-width: 600px; }\nh1 { color: #dc3545; font-size: 24px; }\nh2 { font-size: 18px; }<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>Oops! An Error Occurred<\/h1>\n    <h2>The server returned a \"500 Internal Server Error\".<\/h2>\n\n    <p>\n        Something is broken. Please let us know what you were doing when this error occurred.\n        We will fix it as soon as possible. Sorry for any inconvenience caused.\n    <\/p>\n<\/div>\n<\/body>\n<\/html>","response":{"code":500,"message":"Internal Server Error"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:09:26+00:00 Info Generating onboarding URL for: production-express_checkout
    
    2024-03-13T14:09:27+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6ImM1ODVlOThmNmVhNmYxMWEwNzgzOWMxNTEyNzUyYjQ0In0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response: Array
    
    (
    
        [code] => 500
    
        [message] => Internal Server Error
    
    )
    
    
    
    Response Body: <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
    
        <meta charset="utf-8" />
    
        <meta name="robots" content="noindex,nofollow,noarchive" />
    
        <title>An Error Occurred: Internal Server Error</title>
    
        <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
    
    .container { margin: 30px; max-width: 600px; }
    
    h1 { color: #dc3545; font-size: 24px; }
    
    h2 { font-size: 18px; }</style>
    
    </head>
    
    <body>
    
    <div class="container">
    
        <h1>Oops! An Error Occurred</h1>
    
        <h2>The server returned a "500 Internal Server Error".</h2>
    
    
    
        <p>
    
            Something is broken. Please let us know what you were doing when this error occurred.
    
            We will fix it as soon as possible. Sorry for any inconvenience caused.
    
        </p>
    
    </div>
    
    </body>
    
    </html>
    
    2024-03-13T14:09:27+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Bearer token","Content-Type":"application\/json","Prefer":"return=representation"},"body":"{\"partner_config_override\":{\"return_url\":\"https:\\\/\\\/mysite.com\\\/wp-admin\\\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6ImM1ODVlOThmNmVhNmYxMWEwNzgzOWMxNTEyNzUyYjQ0In0\",\"return_url_description\":\"Return to your shop.\",\"show_add_credit_card\":true},\"products\":[\"EXPRESS_CHECKOUT\"],\"legal_consents\":[{\"type\":\"SHARE_DATA_CONSENT\",\"granted\":true}],\"operations\":[{\"operation\":\"API_INTEGRATION\",\"api_integration_preference\":{\"rest_api_integration\":{\"integration_method\":\"PAYPAL\",\"integration_type\":\"FIRST_PARTY\",\"first_party_details\":{\"features\":[\"PAYMENT\",\"FUTURE_PAYMENT\",\"REFUND\",\"ADVANCED_TRANSACTIONS_SEARCH\",\"VAULT\",\"TRACKING_SHIPMENT_READWRITE\"],\"seller_nonce\":\"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG\"}}}}]}"},"response":{"headers":{},"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" \/>\n    <meta name=\"robots\" content=\"noindex,nofollow,noarchive\" \/>\n    <title>An Error Occurred: Internal Server Error<\/title>\n    <style>body { background-color: #fff; color: #222; font: 16px\/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; }\n.container { margin: 30px; max-width: 600px; }\nh1 { color: #dc3545; font-size: 24px; }\nh2 { font-size: 18px; }<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>Oops! An Error Occurred<\/h1>\n    <h2>The server returned a \"500 Internal Server Error\".<\/h2>\n\n    <p>\n        Something is broken. Please let us know what you were doing when this error occurred.\n        We will fix it as soon as possible. Sorry for any inconvenience caused.\n    <\/p>\n<\/div>\n<\/body>\n<\/html>","response":{"code":500,"message":"Internal Server Error"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:09:27+00:00 Info Generating onboarding URL for: sandbox-ppcp
    
    2024-03-13T14:09:28+00:00 Debug POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoic2FuZGJveC1wcGNwIiwidSI6MSwiaCI6IjEyMzM4YjM1NzE3MDQ3NWU3ZWM1MTBiMGNhN2U2NDA3In0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response Debug ID: ca19268e869d7
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:09:28+00:00 Info Persisted onboarding URL for: sandbox-ppcp
    
    2024-03-13T14:09:28+00:00 Info Generating onboarding URL for: sandbox-express_checkout
    
    2024-03-13T14:09:29+00:00 Debug POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoic2FuZGJveC1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6IjVlMGM4OTFjZGZlMGY1ZWUzM2NmYTNiOTBhZWJmMGQzIn0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response Debug ID: c46e127f611d4
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:09:29+00:00 Info Persisted onboarding URL for: sandbox-express_checkout
    
    2024-03-13T14:09:56+00:00 Info Generating onboarding URL for: production-ppcp
    
    2024-03-13T14:09:56+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjUwNGRkYjA5MzJlNGVmOGQyYWQ1ZjlmM2MwNDg1YjdlIn0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response: Array
    
    (
    
        [code] => 500
    
        [message] => Internal Server Error
    
    )
    
    
    
    Response Body: <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
    
        <meta charset="utf-8" />
    
        <meta name="robots" content="noindex,nofollow,noarchive" />
    
        <title>An Error Occurred: Internal Server Error</title>
    
        <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
    
    .container { margin: 30px; max-width: 600px; }
    
    h1 { color: #dc3545; font-size: 24px; }
    
    h2 { font-size: 18px; }</style>
    
    </head>
    
    <body>
    
    <div class="container">
    
        <h1>Oops! An Error Occurred</h1>
    
        <h2>The server returned a "500 Internal Server Error".</h2>
    
    
    
        <p>
    
            Something is broken. Please let us know what you were doing when this error occurred.
    
            We will fix it as soon as possible. Sorry for any inconvenience caused.
    
        </p>
    
    </div>
    
    </body>
    
    </html>
    
    2024-03-13T14:09:56+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Bearer token","Content-Type":"application\/json","Prefer":"return=representation"},"body":"{\"partner_config_override\":{\"return_url\":\"https:\\\/\\\/mysite.com\\\/wp-admin\\\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjUwNGRkYjA5MzJlNGVmOGQyYWQ1ZjlmM2MwNDg1YjdlIn0\",\"return_url_description\":\"Return to your shop.\",\"show_add_credit_card\":true},\"products\":[\"PPCP\"],\"legal_consents\":[{\"type\":\"SHARE_DATA_CONSENT\",\"granted\":true}],\"operations\":[{\"operation\":\"API_INTEGRATION\",\"api_integration_preference\":{\"rest_api_integration\":{\"integration_method\":\"PAYPAL\",\"integration_type\":\"FIRST_PARTY\",\"first_party_details\":{\"features\":[\"PAYMENT\",\"FUTURE_PAYMENT\",\"REFUND\",\"ADVANCED_TRANSACTIONS_SEARCH\",\"VAULT\",\"TRACKING_SHIPMENT_READWRITE\"],\"seller_nonce\":\"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG\"}}}}]}"},"response":{"headers":{},"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" \/>\n    <meta name=\"robots\" content=\"noindex,nofollow,noarchive\" \/>\n    <title>An Error Occurred: Internal Server Error<\/title>\n    <style>body { background-color: #fff; color: #222; font: 16px\/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; }\n.container { margin: 30px; max-width: 600px; }\nh1 { color: #dc3545; font-size: 24px; }\nh2 { font-size: 18px; }<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>Oops! An Error Occurred<\/h1>\n    <h2>The server returned a \"500 Internal Server Error\".<\/h2>\n\n    <p>\n        Something is broken. Please let us know what you were doing when this error occurred.\n        We will fix it as soon as possible. Sorry for any inconvenience caused.\n    <\/p>\n<\/div>\n<\/body>\n<\/html>","response":{"code":500,"message":"Internal Server Error"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:09:56+00:00 Info Generating onboarding URL for: production-express_checkout
    
    2024-03-13T14:09:57+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6IjZjYjg3MGQ1OTNlYjEzMTkyOTQzMGZkNjhlNmE0ZjcxIn0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response: Array
    
    (
    
        [code] => 500
    
        [message] => Internal Server Error
    
    )
    
    
    
    Response Body: <!DOCTYPE html>
    
    <html lang="en">
    
    <head>
    
        <meta charset="utf-8" />
    
        <meta name="robots" content="noindex,nofollow,noarchive" />
    
        <title>An Error Occurred: Internal Server Error</title>
    
        <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
    
    .container { margin: 30px; max-width: 600px; }
    
    h1 { color: #dc3545; font-size: 24px; }
    
    h2 { font-size: 18px; }</style>
    
    </head>
    
    <body>
    
    <div class="container">
    
        <h1>Oops! An Error Occurred</h1>
    
        <h2>The server returned a "500 Internal Server Error".</h2>
    
    
    
        <p>
    
            Something is broken. Please let us know what you were doing when this error occurred.
    
            We will fix it as soon as possible. Sorry for any inconvenience caused.
    
        </p>
    
    </div>
    
    </body>
    
    </html>
    
    2024-03-13T14:09:57+00:00 Warning [Error] Unknown error while connecting to PayPal. Status code: 0. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Bearer token","Content-Type":"application\/json","Prefer":"return=representation"},"body":"{\"partner_config_override\":{\"return_url\":\"https:\\\/\\\/mysite.com\\\/wp-admin\\\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6IjZjYjg3MGQ1OTNlYjEzMTkyOTQzMGZkNjhlNmE0ZjcxIn0\",\"return_url_description\":\"Return to your shop.\",\"show_add_credit_card\":true},\"products\":[\"EXPRESS_CHECKOUT\"],\"legal_consents\":[{\"type\":\"SHARE_DATA_CONSENT\",\"granted\":true}],\"operations\":[{\"operation\":\"API_INTEGRATION\",\"api_integration_preference\":{\"rest_api_integration\":{\"integration_method\":\"PAYPAL\",\"integration_type\":\"FIRST_PARTY\",\"first_party_details\":{\"features\":[\"PAYMENT\",\"FUTURE_PAYMENT\",\"REFUND\",\"ADVANCED_TRANSACTIONS_SEARCH\",\"VAULT\",\"TRACKING_SHIPMENT_READWRITE\"],\"seller_nonce\":\"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG\"}}}}]}"},"response":{"headers":{},"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"utf-8\" \/>\n    <meta name=\"robots\" content=\"noindex,nofollow,noarchive\" \/>\n    <title>An Error Occurred: Internal Server Error<\/title>\n    <style>body { background-color: #fff; color: #222; font: 16px\/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; }\n.container { margin: 30px; max-width: 600px; }\nh1 { color: #dc3545; font-size: 24px; }\nh2 { font-size: 18px; }<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n    <h1>Oops! An Error Occurred<\/h1>\n    <h2>The server returned a \"500 Internal Server Error\".<\/h2>\n\n    <p>\n        Something is broken. Please let us know what you were doing when this error occurred.\n        We will fix it as soon as possible. Sorry for any inconvenience caused.\n    <\/p>\n<\/div>\n<\/body>\n<\/html>","response":{"code":500,"message":"Internal Server Error"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:09:57+00:00 Debug Loaded onbording URL from cache: sandbox-ppcp
    
    2024-03-13T14:09:57+00:00 Debug Loaded onbording URL from cache: sandbox-express_checkout
    
    2024-03-13T14:11:37+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/oauth2/token/
    
    Response Debug ID: a3f62edfc6ae7
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_authz_code","error_description":"Authorization code not found in cache"}
    
    2024-03-13T14:11:37+00:00 Warning No token found. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Basic QWVNcXd1LW1lRW9lRkxWd1liaXFDbDdOLUhyWlVkdk5FclJaTjg2eG8zeTFJS21LTHFhTFhQYXNZa18zUVAxMlFRb3NIR3p3bFBYQ1JCZlk6"},"body":{"grant_type":"authorization_code","code":"C21AAIDKVrruDksbCUqSXAoWsRyVA5w8pqREfKtvKzARa2CE8KQt5YFE6A6uQkXKZtQGTtOnmg5iHsDSG0Vjepuz4iOvYqTgg","code_verifier":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}},"response":{"headers":{},"body":"{\"error\":\"invalid_authz_code\",\"error_description\":\"Authorization code not found in cache\"}","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:11:37+00:00 Error Onboarding completion handling error: No token found.
    
    2024-03-13T14:11:37+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/oauth2/token/
    
    Response Debug ID: 9308e90cd0835
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:38+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/credentials/
    
    Response Debug ID: 9308e93a1b1d2
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:41+00:00 Debug Validating onboarding ppcpToken: ey...GQzIn0
    
    2024-03-13T14:11:41+00:00 Info Validated onboarding ppcpToken: ey...GQzIn0
    
    2024-03-13T14:11:41+00:00 Info Redirect OK: https://mysite.com/wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcp-tab=ppcp-connection
    
    2024-03-13T14:11:42+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: c6888533d70ab
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:42+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: a4343b8b4d9f0
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:43+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: e39df1f09b442
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:44+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 8494af2ff5de2
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:45+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: a7cc8a72cdef7
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:46+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: 9cc7fc36f8351
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:47+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 79a890df17f59
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:47+00:00 Info Webhooks deleted.
    
    2024-03-13T14:11:47+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: fd34add3dd70d
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:11:47+00:00 Info Webhooks subscribed.
    
    2024-03-13T14:11:48+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 2deeb870583c6
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:11:48+00:00 Debug DELETE https://api-m.sandbox.paypal.com/v1/notifications/webhooks/6ER346098X167825G
    
    Response Debug ID: f323547160daa
    
    Response: Array
    
    (
    
        [code] => 204
    
        [message] => No Content
    
    )
    
    
    
    2024-03-13T14:11:48+00:00 Info Webhooks deleted.
    
    2024-03-13T14:11:49+00:00 Debug POST https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: a6d95451cb10d
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:11:49+00:00 Info Webhooks subscribed.
    
    2024-03-13T14:11:52+00:00 Info Generating onboarding URL for: production-ppcp
    
    2024-03-13T14:11:53+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1wcGNwIiwidSI6MSwiaCI6IjY5OGYyZmI0NmZkYmUzYmI5MmZiYWM2NjBmZTNhNTQxIn0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["PPCP"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response Debug ID: a889f07a3a7a7
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:11:53+00:00 Info Persisted onboarding URL for: production-ppcp
    
    2024-03-13T14:11:53+00:00 Info Generating onboarding URL for: production-express_checkout
    
    2024-03-13T14:11:54+00:00 Debug POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    
    Request Body: {"partner_config_override":{"return_url":"https:\/\/mysite.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcpToken=eyJrIjoicHJvZHVjdGlvbi1leHByZXNzX2NoZWNrb3V0IiwidSI6MSwiaCI6IjBmNjFiMzY4YjM2YWI5ODBmNTNlYmI2YmRlYWI5ZmFkIn0","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT","TRACKING_SHIPMENT_READWRITE"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    
    Response Debug ID: 157aa6943b3a2
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:11:54+00:00 Info Persisted onboarding URL for: production-express_checkout
    
    2024-03-13T14:11:54+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 95046104ff107
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:12:13+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 78b304979c231
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:12:18+00:00 Debug Loaded onbording URL from cache: production-ppcp
    
    2024-03-13T14:12:18+00:00 Debug Loaded onbording URL from cache: production-express_checkout
    
    2024-03-13T14:12:19+00:00 Debug GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 51672fad63c06
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:13:22+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token/
    
    Response Debug ID: 72f6c3d1f7c16
    
    Response: Array
    
    (
    
        [code] => 400
    
        [message] => Bad Request
    
    )
    
    
    
    Response Body: {"error":"invalid_grant","error_description":"Authorization code not found in cache"}
    
    2024-03-13T14:13:22+00:00 Warning No token found. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Basic QVdJQWg3akpOQzZjOGhDc29PLV80RmJ0WXhyb2tOZXV5SFV6SHhRWGFkaTU2VWRsWk1VRXF2RUVwUVFud1o2V1Brci1wZEZBYjFkMUxxTms6"},"body":{"grant_type":"authorization_code","code":"C21AAPaqdhpgbsUDlk2XLTc0D1kFGv8c9Wx4qyi-k5Vl4AuI9Dtp0XskMDUrKX5fCS4MQNy2_sJNxXotOSARz2SEoHR1eOYKQ","code_verifier":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}},"response":{"headers":{},"body":"{\"error\":\"invalid_grant\",\"error_description\":\"Authorization code not found in cache\"}","response":{"code":400,"message":"Bad Request"},"cookies":[{"name":"l7_az","value":"ccg14.slc","expires":1710341002,"path":"\/","domain":"paypal.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:13:22+00:00 Error Onboarding completion handling error: No token found.
    
    2024-03-13T14:13:22+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token/
    
    Response Debug ID: fc5fc69f79e06
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:13:22+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/credentials/
    
    Response Debug ID: 09a5dc5d5b2d4
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:13:23+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 255b610528174
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"}
    
    2024-03-13T14:13:23+00:00 Warning Could not create token. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Basic QWVNcXd1LW1lRW9lRkxWd1liaXFDbDdOLUhyWlVkdk5FclJaTjg2eG8zeTFJS21LTHFhTFhQYXNZa18zUVAxMlFRb3NIR3p3bFBYQ1JCZlk6RUcwME05TElHekxmejRwOThvcEdBeUt2eTZNc1ZreVlSTkN5U1B1eVNFQi1kaU54bFZuSU41TnRrWUk0S203ZnZWakhDak9kV2UzMjRVU2k="}},"response":{"headers":{},"body":"{\"error\":\"invalid_client\",\"error_description\":\"Client Authentication failed\"}","response":{"code":401,"message":"Unauthorized"},"cookies":[{"name":"l7_az","value":"ccg14.slc","expires":1710341003,"path":"\/","domain":"paypal.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:13:23+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 9b1f3cf9e4cf8
    
    Response: Array
    
    (
    
        [code] => 401
    
        [message] => Unauthorized
    
    )
    
    
    
    Response Body: {"error":"invalid_client","error_description":"Client Authentication failed"}
    
    2024-03-13T14:13:23+00:00 Warning Could not create token. CONTEXT: {"args":{"method":"POST","headers":{"Authorization":"Basic QWVNcXd1LW1lRW9lRkxWd1liaXFDbDdOLUhyWlVkdk5FclJaTjg2eG8zeTFJS21LTHFhTFhQYXNZa18zUVAxMlFRb3NIR3p3bFBYQ1JCZlk6RUcwME05TElHekxmejRwOThvcEdBeUt2eTZNc1ZreVlSTkN5U1B1eVNFQi1kaU54bFZuSU41TnRrWUk0S203ZnZWakhDak9kV2UzMjRVU2k="}},"response":{"headers":{},"body":"{\"error\":\"invalid_client\",\"error_description\":\"Client Authentication failed\"}","response":{"code":401,"message":"Unauthorized"},"cookies":[{"name":"l7_az","value":"ccg14.slc","expires":1710341003,"path":"\/","domain":"paypal.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:13:23+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: e671c40559a23
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:13:24+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/VFWFEDJM6HS24
    
    Response Debug ID: ddf3e3da46024
    
    Response: Array
    
    (
    
        [code] => 404
    
        [message] => Not Found
    
    )
    
    
    
    Response Body: {"name":"USER_BUSINESS_ERROR","message":"Partner not Business or Account Closed","debug_id":"ddf3e3da46024"}
    
    2024-03-13T14:13:24+00:00 Warning [USER_BUSINESS_ERROR] Partner not Business or Account Closed CONTEXT: {"args":{"method":"GET","headers":{"Authorization":"Bearer A21AAOSYGP-kJbdFKqIS9afUZfTf5JifasltFCJpA1aQ2R7fx2wD7jTM8qlWGGcCseRPwnlV0_D250oTlMVTU0HAgCAfScU-g","Content-Type":"application\/json"}},"response":{"headers":{},"body":"{\"name\":\"USER_BUSINESS_ERROR\",\"message\":\"Partner not Business or Account Closed\",\"debug_id\":\"ddf3e3da46024\"}","response":{"code":404,"message":"Not Found"},"cookies":[{"name":"l7_az","value":"ccg01.phx","expires":1710341004,"path":"\/","domain":"paypal.com","port":null,"host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
    
    2024-03-13T14:13:25+00:00 Debug Validating onboarding ppcpToken: ey...mFkIn0
    
    2024-03-13T14:13:25+00:00 Info Validated onboarding ppcpToken: ey...mFkIn0
    
    2024-03-13T14:13:25+00:00 Info Redirect OK: https://mysite.com/wp-admin/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway&ppcp-tab=ppcp-connection
    
    2024-03-13T14:13:26+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 17fbf5b0e534c
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:13:26+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 3d26461f47afa
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:13:26+00:00 Info Webhooks deleted.
    
    2024-03-13T14:13:27+00:00 Debug POST https://api-m.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: 612c74ebc82f6
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:13:27+00:00 Info Webhooks subscribed.
    
    2024-03-13T14:13:28+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 38043e8f630b1
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:13:28+00:00 Debug DELETE https://api-m.paypal.com/v1/notifications/webhooks/3P8194955T2727549
    
    Response Debug ID: 772bf28911491
    
    Response: Array
    
    (
    
        [code] => 204
    
        [message] => No Content
    
    )
    
    
    
    2024-03-13T14:13:28+00:00 Info Webhooks deleted.
    
    2024-03-13T14:13:29+00:00 Debug POST https://api-m.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: 85dcce15df31c
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:13:29+00:00 Info Webhooks subscribed.
    
    2024-03-13T14:13:31+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: e1be4f97f9d74
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:13:39+00:00 Debug POST https://api-m.paypal.com/v1/notifications/simulate-event
    
    Request Body: {"webhook_id":"601056701X571954R","event_type":"CHECKOUT.ORDER.APPROVED","resource_version":"2.0"}
    
    Response Debug ID: b418ee54442fc
    
    Response: Array
    
    (
    
        [code] => 202
    
        [message] => Accepted
    
    )
    
    
    
    2024-03-13T14:14:14+00:00 Debug Webhook WH-COC11055RA711503B-4YM959094A144403T received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    
    2024-03-13T14:14:14+00:00 Info Received simulated webhook.
    
    2024-03-13T14:24:56+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 3017bb2b68124
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:25:00+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: f49ad1d114726
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:26:02+00:00 Debug POST https://api-m.paypal.com/v1/notifications/simulate-event
    
    Request Body: {"webhook_id":"601056701X571954R","event_type":"CHECKOUT.ORDER.APPROVED","resource_version":"2.0"}
    
    Response Debug ID: 0956b34c8d459
    
    Response: Array
    
    (
    
        [code] => 202
    
        [message] => Accepted
    
    )
    
    
    
    2024-03-13T14:26:10+00:00 Debug Webhook WH-COC11055RA711503B-4YM959094A144403T received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    
    2024-03-13T14:26:10+00:00 Info Received simulated webhook.
    
    2024-03-13T14:27:07+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: eea96a0a5cca2
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:27:12+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 26677e79a2306
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:27:47+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 5a8b66f2aac4c
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:27:48+00:00 Debug DELETE https://api-m.paypal.com/v1/notifications/webhooks/601056701X571954R
    
    Response Debug ID: 9f31c7085e4d7
    
    Response: Array
    
    (
    
        [code] => 204
    
        [message] => No Content
    
    )
    
    
    
    2024-03-13T14:27:48+00:00 Info Webhooks deleted.
    
    2024-03-13T14:27:48+00:00 Debug POST https://api-m.paypal.com/v1/notifications/webhooks
    
    Request Body: {"url":"https:\/\/mysite.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]}
    
    Response Debug ID: 6bb0b359c224f
    
    Response: Array
    
    (
    
        [code] => 201
    
        [message] => Created
    
    )
    
    
    
    2024-03-13T14:27:48+00:00 Info Webhooks subscribed.
    
    2024-03-13T14:27:49+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: fe7cdf7f09275
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:27:53+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: d1e40fc70c2dd
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:28:02+00:00 Debug POST https://api-m.paypal.com/v1/notifications/simulate-event
    
    Request Body: {"webhook_id":"2NB118940C2635110","event_type":"CHECKOUT.ORDER.APPROVED","resource_version":"2.0"}
    
    Response Debug ID: 1f4429c05aea3
    
    Response: Array
    
    (
    
        [code] => 202
    
        [message] => Accepted
    
    )
    
    
    
    2024-03-13T14:28:11+00:00 Debug Webhook WH-COC11055RA711503B-4YM959094A144403T received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    
    2024-03-13T14:28:11+00:00 Info Received simulated webhook.
    
    2024-03-13T14:42:20+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: e4704b70e6b3b
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:42:21+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: e560f8870953f
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:42:21+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: ceb1ef3677b57
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:42:24+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: bdae5dc4ad772
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:42:55+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: f37df710acb57
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:42:57+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: d058d11678cfd
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:43:02+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 874ab1585d1b0
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:43:33+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: ff634271144f8
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:43:35+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 12dbfb564f1fa
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:43:36+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 09b12350379a5
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:43:44+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: 438f69e05f666
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:43:49+00:00 Debug GET https://api-m.paypal.com/v1/notifications/webhooks
    
    Response Debug ID: b9c89450a38b7
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:44:39+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 015777f1eeb41
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:44:41+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 367273e7b25e5
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:44:42+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 850d1e83edffd
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:44:55+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: fa48bb18cbf6f
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:44:59+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 887c875db666a
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:44:59+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: f4eaeae00f390
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:45:16+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 435662c7e70f4
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:45:18+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 516ff04713d30
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:45:19+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 0a1ffdcd38540
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:45:45+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 2957878539b67
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:45:48+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: a688ae45e8fc7
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:45:48+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 5bf30e95f0285
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:47:00+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 6848ff65f04ad
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:47:03+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: df9a5392578c1
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:47:03+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: be3232bae47f0
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:47:13+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 77dd4d61f7540
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:47:15+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 011c62fac2346
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:47:16+00:00 Debug GET https://api-m.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/L8RG84VJH8B7G
    
    Response Debug ID: 5609d3bf9cdcc
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
    )
    
    
    
    2024-03-13T14:49:25+00:00 Debug POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials
    
    Response Debug ID: 841cc0d41c49a
    
    Response: Array
    
    (
    
        [code] => 200
    
        [message] => OK
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Krystian

    (@inpsydekrystian)

    Hello @alexliii

    After clearing the data with “Clear now,” did you log in through the onboarding wizard or manually?

    Kind regards,
    Krystian

    Thread Starter alexliii

    (@alexliii)

    Hello,

    Through onboarding wizard, thanks.

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello?@alexliii

    This type of problem occasionally happens during onboarding; I’ve encountered it several times myself, but it usually doesn’t recur with a second attempt.

    Let me know if it happens again after another try.

    Kind regards,
    Krystian

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello @alexliii

    Since we have not received any further communication from you, we are assuming that your issue has been resolved.

    Therefore, we mark this thread as resolved. If you still have any questions or if a new problem arises, don’t hesitate to open a new thread or reply to this one. We are here to help at any time.

    Kind regards,
    Krystian

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Many error logs’ is closed to new replies.