Support » Plugin: WooCommerce PayPal Payments » Plugin errors?

  • Resolved sreford

    (@sreford)


    Hi guys,
    I seem to be having issues with payment on my website, I have been getting reports of errors whilst paying with card, and with paypal. A potential customer states they get an error saying to enter their address, but it seems to work fine with me. Any solutions?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 16 through 23 (of 23 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Thanks for testing, and apologies for the trouble.
    When checking the logs under WooCommerce > Status > Logs, are you seeing any recent fatal error logs? If yes, please share them with us.
    Could you please also enable Logging in the Connection tab of the PayPal Payments settings to gather more details about the plugin activity?
    I can’t put a finger on it yet, but there may a relation to the latest update 2.0, so I suggest trying a downgrade to version 1.9.5 and saving the settings in the Standard Payments tab.
    Please let us know how this works for you.
    The development team will have a closer look into this in any case.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter sreford

    (@sreford)

    fatal-errors-2022-11-25-8ffc5881ea15df58c7d6963441aa1fe9.log
    2022-11-25T15:49:40+00:00 CRITICAL Out of memory (allocated 35651584) (tried to allocate 20480 bytes) in /home/onyxdrag/public_html/wp-includes/functions.php on line 4541

    woocommerce-paypal-payments-2022-11-25-2f0c6a9c12f3c1418c7155d877159e67.log:

    2022-11-25T15:22:55+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: 2bd2d776d0995
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:22:56+00:00 DEBUG GET https://api.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/WM5YDPNB47QUA
    Response Debug ID: 52cb7c3ab5d6e
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:22:56+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks
    Response Debug ID: 51cb4c0aaf65c
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:31:06+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-7f96e9bfd0836"}
    Response Debug ID: b4edaf209a713
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:31:34+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-7f96e9bfd0836"}
    Response Debug ID: b90b0cc61a3aa
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:31:50+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":1,"description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"WM5YDPNB47QUA"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"BILLING","locale":"en-GB","brand_name":"Onyx Dragon","return_url":"https:\/\/onyxdragon.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/onyxdragon.co.uk\/checkout\/"},"payer":{"email_address":"plugin-tester@test.test","name":{"given_name":"Plugin","surname":"Test"},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: 6b3f8cb3cc7cf
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:32:22+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":1,"description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"WM5YDPNB47QUA"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"BILLING","locale":"en-GB","brand_name":"Onyx Dragon","return_url":"https:\/\/onyxdragon.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/onyxdragon.co.uk\/checkout\/"},"payer":{"email_address":"plugin-tester@test.test","name":{"given_name":"Plugin","surname":"Test"},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: 2affa58c0ab77
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:33:52+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-7f96e9bfd0836"}
    Response Debug ID: bfc589ecd1541
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:34:07+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":1,"description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"WM5YDPNB47QUA"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"BILLING","locale":"en-GB","brand_name":"Onyx Dragon","return_url":"https:\/\/onyxdragon.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/onyxdragon.co.uk\/checkout\/"},"payer":{"email_address":"tset@test.tset","name":{"given_name":"test","surname":"tset"},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: a52a1cc47724c
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:44:44+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/oauth2/token/
    Response Debug ID: 81c4425acca62
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:44:44+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/oauth2/token/
    Response Debug ID: 7ec43dc83249e
    Response: Array
    (
        [code] => 401
        [message] => Unauthorized
    )
    
    Response Body: {"error":"invalid_authz_code","error_description":"Authorization code not found in cache"}
    
    2022-11-25T15:44:44+00:00 WARNING No token found.
    2022-11-25T15:44:44+00:00 ERROR Onboarding completion handling error: No token found.
    2022-11-25T15:44:44+00:00 DEBUG GET https://api.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/credentials/
    Response Debug ID: 863ca813ca59e
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:44:47+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: 572182bfbdc85
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:44:49+00:00 DEBUG GET https://api.sandbox.paypal.com/v1/notifications/webhooks
    Response Debug ID: cc5d9359925a8
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:44:50+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/webhooks
    Request Body: {"url":"https:\/\/onyxdragon.co.uk\/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.CREDIT-CARD.CREATED"},{"name":"PAYMENT.CAPTURE.PENDING"}]}
    Response Debug ID: 9182e597882cf
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:44:50+00:00 INFO Webhooks subscribed.
    2022-11-25T15:44:51+00:00 DEBUG GET https://api.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/JBN94WQKEYGVS
    Response Debug ID: 6d3e5c3a45f00
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:44:51+00:00 DEBUG GET https://api.sandbox.paypal.com/v1/notifications/webhooks
    Response Debug ID: bff36d1555d89
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:44:52+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/webhooks
    Request Body: {"url":"https:\/\/onyxdragon.co.uk\/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.CREDIT-CARD.CREATED"},{"name":"PAYMENT.CAPTURE.PENDING"}]}
    Response Debug ID: 8c57ef89c3778
    Response: Array
    (
        [code] => 400
        [message] => Bad Request
    )
    
    Response Body: {"name":"WEBHOOK_URL_ALREADY_EXISTS","message":"Webhook URL already exists","debug_id":"8c57ef89c3778","information_link":"https://developer.paypal.com/docs/api/webhooks/#errors","details":[],"links":[]}
    
    2022-11-25T15:44:52+00:00 ERROR Failed to subscribe webhooks: [WEBHOOK_URL_ALREADY_EXISTS] Webhook URL already exists
    2022-11-25T15:48:05+00:00 DEBUG GET https://api.sandbox.paypal.com/v2/vault/payment-tokens/?customer_id=OD-1
    Response Debug ID: 4caf466177305
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:48:08+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-1"}
    Response Debug ID: 1fac2ac420ddf
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:48:10+00:00 DEBUG GET https://api.sandbox.paypal.com/v2/vault/payment-tokens/?customer_id=OD-1
    Response Debug ID: 5d8f0d29da514
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:48:46+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-7f96e9bfd0836"}
    Response Debug ID: b4fc932e04543
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:49:17+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":1,"description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"JBN94WQKEYGVS"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"BILLING","locale":"en-GB","brand_name":"Onyx Dragon","return_url":"https:\/\/onyxdragon.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/onyxdragon.co.uk\/checkout\/"},"payer":{"email_address":"plugin-tester@test.test","name":{"given_name":"PayPal Payments","surname":"Test"},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: b7459c8505a61
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:49:47+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"19.65","breakdown":{"item_total":{"currency_code":"GBP","value":"17.00"},"shipping":{"currency_code":"GBP","value":"2.65"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Cotton Canvas Messenger Bag - Natural and Soft Jute","unit_amount":{"currency_code":"GBP","value":"17.00"},"quantity":1,"description":"","sku":"CottMB-06","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"JBN94WQKEYGVS"},"shipping":{"name":{"full_name":"Sarah Reford"},"address":{"country_code":"GB","address_line_1":"49 Millham Road","admin_area_1":"Gloucestershire","admin_area_2":"Bishops Cleeve","postal_code":"GL52 8BE"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"BILLING","locale":"en-GB","brand_name":"Onyx Dragon","return_url":"https:\/\/onyxdragon.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/onyxdragon.co.uk\/checkout\/"},"payer":{"email_address":"contact@onyxdragon.co.uk","name":{"given_name":"Sarah","surname":"Reford"},"address":{"country_code":"GB","address_line_1":"49 Millham Road","admin_area_1":"Gloucestershire","admin_area_2":"Bishops Cleeve","postal_code":"GL52 8BE"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"07857533480"}}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: a608710d97175
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:50:00+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"c8ef38d0-6cd8-11ed-82af-ed3744686f41","transmission_time":"2022-11-25T15:49:45Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"WQu2BojbsJ+kPMAMni9yYSwZWYiRD9GBePP3wUchqCHzMzEvh+AWLZhQ5Dq9Mb7YXAZUT5xVfoW7wMzeP\/JuZ6eSTi45+Dz\/320TcqjR0JZ0xDtlITo7hp3LTnnHfDCKcs4TGwz\/pl3nk8GPXTeHCGANtEVNpJhGs88313e2Z6FRF2AhTNRaqgkFR6OmzqpekSc8ybsBRj15dPtfA054caE9AR5miQJkdEAqcEx3WnuG5qnEoGU2yBJerakL0OV7D36dlKEmzqGaGe9tK4tX1zdO+gWOU\/FOzlxO0t+zgzpOt5DQ5zwmKOmvsoy47cg\/n\/lqFz0QCMoaSlVbwQc60A==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-1UH93519DG867962H-52J19210AB859930K","event_version":"1.0","create_time":"2022-11-25T15:49:42.182Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2022-11-25T15:49:17Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"payee":{"merchant_id":"JBN94WQKEYGVS","display_data":{"brand_name":"Onyx Dragon"}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":"1","description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"John Doe"},"address":{"address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4AW98432423145830","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4AW98432423145830","rel":"update","method":"PATCH"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4AW98432423145830\/capture","rel":"capture","method":"POST"}],"id":"4AW98432423145830","payment_source":{"paypal":{}},"intent":"CAPTURE","payer":{"name":{"given_name":"John","surname":"Doe"},"email_address":"sb-ytdle4029618@business.example.com","payer_id":"TMNM3TLTS8SAS","address":{"address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-1UH93519DG867962H-52J19210AB859930K","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-1UH93519DG867962H-52J19210AB859930K\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 99e5cc95479d8
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:50:00+00:00 WARNING No order for webhook event WH-1UH93519DG867962H-52J19210AB859930K was found.
    2022-11-25T15:50:00+00:00 INFO Webhook has been handled by CHECKOUT.ORDER.APPROVED
    2022-11-25T15:50:00+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"c8ef38d0-6cd8-11ed-82af-ed3744686f41","transmission_time":"2022-11-25T15:49:45Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"WQu2BojbsJ+kPMAMni9yYSwZWYiRD9GBePP3wUchqCHzMzEvh+AWLZhQ5Dq9Mb7YXAZUT5xVfoW7wMzeP\/JuZ6eSTi45+Dz\/320TcqjR0JZ0xDtlITo7hp3LTnnHfDCKcs4TGwz\/pl3nk8GPXTeHCGANtEVNpJhGs88313e2Z6FRF2AhTNRaqgkFR6OmzqpekSc8ybsBRj15dPtfA054caE9AR5miQJkdEAqcEx3WnuG5qnEoGU2yBJerakL0OV7D36dlKEmzqGaGe9tK4tX1zdO+gWOU\/FOzlxO0t+zgzpOt5DQ5zwmKOmvsoy47cg\/n\/lqFz0QCMoaSlVbwQc60A==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-1UH93519DG867962H-52J19210AB859930K","event_version":"1.0","create_time":"2022-11-25T15:49:42.182Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2022-11-25T15:49:17Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"payee":{"merchant_id":"JBN94WQKEYGVS","display_data":{"brand_name":"Onyx Dragon"}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":"1","description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"John Doe"},"address":{"address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4AW98432423145830","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4AW98432423145830","rel":"update","method":"PATCH"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4AW98432423145830\/capture","rel":"capture","method":"POST"}],"id":"4AW98432423145830","payment_source":{"paypal":{}},"intent":"CAPTURE","payer":{"name":{"given_name":"John","surname":"Doe"},"email_address":"sb-ytdle4029618@business.example.com","payer_id":"TMNM3TLTS8SAS","address":{"address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-1UH93519DG867962H-52J19210AB859930K","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-1UH93519DG867962H-52J19210AB859930K\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 254d386ac3bf7
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:50:11+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-7f96e9bfd0836"}
    Response Debug ID: 6d3fba0a4d95a
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:50:25+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-7f96e9bfd0836"}
    Response Debug ID: 311027a5dc939
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:50:43+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":1,"description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"JBN94WQKEYGVS"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"BILLING","locale":"en-GB","brand_name":"Onyx Dragon","return_url":"https:\/\/onyxdragon.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/onyxdragon.co.uk\/checkout\/"},"payer":{"email_address":"test@test.test","name":{"given_name":"PayPal","surname":"Test"},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: 489475ec19d75
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:50:51+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/4GC77301DX219963D
    Response Debug ID: 43832451b46ec
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:50:56+00:00 DEBUG PATCH https://api.sandbox.paypal.com/v2/checkout/orders/4GC77301DX219963D
    Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":1,"description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"JBN94WQKEYGVS"},"shipping":{"name":{"full_name":"PayPal Test"},"address":{"country_code":"DE","address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345"}},"custom_id":"45880","invoice_id":"OD-45880"},"path":"\/purchase_units\/@reference_id=='default'"}]
    Response Debug ID: efd129b10704c
    Response: Array
    (
        [code] => 204
        [message] => No Content
    )
    
    2022-11-25T15:50:56+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/4GC77301DX219963D
    Response Debug ID: db4ecc1cb900c
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:50:58+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders/4GC77301DX219963D/capture
    Response Debug ID: 62fb96d0b9475
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:51:07+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-39"}
    Response Debug ID: 49aa3dc360d1b
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:51:09+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"f2f1ebf0-6cd8-11ed-8aa6-8bf8b2e520a0","transmission_time":"2022-11-25T15:50:56Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"GSUAsYYjxGULyZHys1QfkDUZd0YcridSw+GGj2KteYxgoSh\/2ee2UpTEWAA5mFC+YPZdnsSsm\/fnpx54m5zBvUNz39kmt4Rk3ExoK920kiQikRRNIMZDOsUtvf+v5A+T\/nnWz3415izaHkjg0STzS0pWiYOenOIEK9jqbJCBC5i7YA3ccbE0oFuVauPCOEvG+GWOy67CaQ1pMtX\/G58cax\/TWeysNqNeUJsDKM1nY2c9j5lcupB8NIWFzD1+MrJjoRWPKWou2fCivx9lQQiQB0WE2HmG+WrwN4bA5svU8NU7X+jNq9JY9HhdPYGnSfRvZVbyrA9ZPPZ1bGBilDBMxQ==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-5TE23360A2254210F-7C341500HV6298436","event_version":"1.0","create_time":"2022-11-25T15:50:52.286Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2022-11-25T15:50:43Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"payee":{"merchant_id":"JBN94WQKEYGVS","display_data":{"brand_name":"Onyx Dragon"}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":"1","description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"John Doe"},"address":{"address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4GC77301DX219963D","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4GC77301DX219963D","rel":"update","method":"PATCH"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4GC77301DX219963D\/capture","rel":"capture","method":"POST"}],"id":"4GC77301DX219963D","payment_source":{"paypal":{}},"intent":"CAPTURE","payer":{"name":{"given_name":"John","surname":"Doe"},"email_address":"sb-ytdle4029618@business.example.com","payer_id":"TMNM3TLTS8SAS","address":{"address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-5TE23360A2254210F-7C341500HV6298436","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-5TE23360A2254210F-7C341500HV6298436\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: d5ddccf4a5208
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:51:09+00:00 WARNING No order for webhook event WH-5TE23360A2254210F-7C341500HV6298436 was found.
    2022-11-25T15:51:09+00:00 INFO Webhook has been handled by CHECKOUT.ORDER.APPROVED
    2022-11-25T15:51:09+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"f2f1ebf0-6cd8-11ed-8aa6-8bf8b2e520a0","transmission_time":"2022-11-25T15:50:56Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"GSUAsYYjxGULyZHys1QfkDUZd0YcridSw+GGj2KteYxgoSh\/2ee2UpTEWAA5mFC+YPZdnsSsm\/fnpx54m5zBvUNz39kmt4Rk3ExoK920kiQikRRNIMZDOsUtvf+v5A+T\/nnWz3415izaHkjg0STzS0pWiYOenOIEK9jqbJCBC5i7YA3ccbE0oFuVauPCOEvG+GWOy67CaQ1pMtX\/G58cax\/TWeysNqNeUJsDKM1nY2c9j5lcupB8NIWFzD1+MrJjoRWPKWou2fCivx9lQQiQB0WE2HmG+WrwN4bA5svU8NU7X+jNq9JY9HhdPYGnSfRvZVbyrA9ZPPZ1bGBilDBMxQ==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-5TE23360A2254210F-7C341500HV6298436","event_version":"1.0","create_time":"2022-11-25T15:50:52.286Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2022-11-25T15:50:43Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"14.90","breakdown":{"item_total":{"currency_code":"GBP","value":"10.80"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"payee":{"merchant_id":"JBN94WQKEYGVS","display_data":{"brand_name":"Onyx Dragon"}},"description":"","items":[{"name":"Aromatherapy Candle - Be Chilled","unit_amount":{"currency_code":"GBP","value":"10.80"},"quantity":"1","description":"Our new Aromatherapy Candles are made with Pure Essential Oils and Natural Soy Wax to enchant and delight your customers. Nothi","sku":"ASC-06","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"John Doe"},"address":{"address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4GC77301DX219963D","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4GC77301DX219963D","rel":"update","method":"PATCH"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4GC77301DX219963D\/capture","rel":"capture","method":"POST"}],"id":"4GC77301DX219963D","payment_source":{"paypal":{}},"intent":"CAPTURE","payer":{"name":{"given_name":"John","surname":"Doe"},"email_address":"sb-ytdle4029618@business.example.com","payer_id":"TMNM3TLTS8SAS","address":{"address_line_1":"Test Weg 123","admin_area_2":"Testingen","postal_code":"12345","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-5TE23360A2254210F-7C341500HV6298436","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-5TE23360A2254210F-7C341500HV6298436\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: d5ddccccf2ea2
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:51:48+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"090fb200-6cd9-11ed-8aa6-8bf8b2e520a0","transmission_time":"2022-11-25T15:51:33Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"WQiZlxRjI1n+EI3jvXrbYx0bbuhsEQreDlNxZmI9PFR84QDrYMAr40MSYtbfUC5mBmPDZcqUoOoQvZSkm0pAVZntYJKgH86RKc9m2nOvib9gGFzJ8wNB6CPSzP9ctnzfSiZ82uZXmz4PpH3SJmvIrM3F1n5qXC0yJgYxttWpEwyLFLCUHck5Sw5XpABmQuohARAquqn5BGg0KgmaUGfRe6jgWVnLlW5AOsV11VMSIprhN2VNjkwTRfDHWOC1MB2R4XsTKIqFRDTNEkWjSjPO3WBu8CDsWYrVGkA54tu1jecFGGOsIj69LaF2luQ9jcjxfX7EbEb+AdRPirhCZSoEBg==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-60960310D4714751G-9SW942575G620435N","event_version":"1.0","create_time":"2022-11-25T15:51:02.758Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.PENDING","summary":"Payment pending for GBP 14.9 GBP","resource":{"amount":{"value":"14.90","currency_code":"GBP"},"seller_protection":{"status":"NOT_ELIGIBLE"},"supplementary_data":{"related_ids":{"order_id":"4GC77301DX219963D"}},"update_time":"2022-11-25T15:50:58Z","create_time":"2022-11-25T15:50:58Z","final_capture":true,"custom_id":"45880","invoice_id":"OD-45880","links":[{"method":"GET","rel":"self","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/96Y488437G318561D"},{"method":"POST","rel":"refund","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/96Y488437G318561D\/refund"},{"method":"GET","rel":"up","href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4GC77301DX219963D"}],"id":"96Y488437G318561D","status_details":{"reason":"UNILATERAL"},"status":"PENDING"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-60960310D4714751G-9SW942575G620435N","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-60960310D4714751G-9SW942575G620435N\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 694195003d0b8
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:51:48+00:00 INFO Webhook has been handled by PAYMENT.CAPTURE.PENDING
    2022-11-25T15:51:48+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"090fb200-6cd9-11ed-8aa6-8bf8b2e520a0","transmission_time":"2022-11-25T15:51:33Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"WQiZlxRjI1n+EI3jvXrbYx0bbuhsEQreDlNxZmI9PFR84QDrYMAr40MSYtbfUC5mBmPDZcqUoOoQvZSkm0pAVZntYJKgH86RKc9m2nOvib9gGFzJ8wNB6CPSzP9ctnzfSiZ82uZXmz4PpH3SJmvIrM3F1n5qXC0yJgYxttWpEwyLFLCUHck5Sw5XpABmQuohARAquqn5BGg0KgmaUGfRe6jgWVnLlW5AOsV11VMSIprhN2VNjkwTRfDHWOC1MB2R4XsTKIqFRDTNEkWjSjPO3WBu8CDsWYrVGkA54tu1jecFGGOsIj69LaF2luQ9jcjxfX7EbEb+AdRPirhCZSoEBg==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-60960310D4714751G-9SW942575G620435N","event_version":"1.0","create_time":"2022-11-25T15:51:02.758Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.PENDING","summary":"Payment pending for GBP 14.9 GBP","resource":{"amount":{"value":"14.90","currency_code":"GBP"},"seller_protection":{"status":"NOT_ELIGIBLE"},"supplementary_data":{"related_ids":{"order_id":"4GC77301DX219963D"}},"update_time":"2022-11-25T15:50:58Z","create_time":"2022-11-25T15:50:58Z","final_capture":true,"custom_id":"45880","invoice_id":"OD-45880","links":[{"method":"GET","rel":"self","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/96Y488437G318561D"},{"method":"POST","rel":"refund","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/96Y488437G318561D\/refund"},{"method":"GET","rel":"up","href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/4GC77301DX219963D"}],"id":"96Y488437G318561D","status_details":{"reason":"UNILATERAL"},"status":"PENDING"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-60960310D4714751G-9SW942575G620435N","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-60960310D4714751G-9SW942575G620435N\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 5662fcb3b7279
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:51:49+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-2efa2594e0836"}
    Response Debug ID: ae4440fe8003a
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:52:28+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"13.10","breakdown":{"item_total":{"currency_code":"GBP","value":"9.00"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Jacquard Bag - Chocolate Sling Bag","unit_amount":{"currency_code":"GBP","value":"9.00"},"quantity":1,"description":"Made with an ethnic jacquard fabric this bag from Ancient Wisdom Dropshipping is for world travellers who just know how to","sku":"JNS-05","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"JBN94WQKEYGVS"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"DE","address_line_1":"Test 123","admin_area_2":"Test","postal_code":"12355"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"BILLING","locale":"en-GB","brand_name":"Onyx Dragon","return_url":"https:\/\/onyxdragon.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/onyxdragon.co.uk\/checkout\/"},"payer":{"email_address":"test123@test.test","name":{"given_name":"PayPal","surname":"Test 2"},"address":{"country_code":"DE","address_line_1":"Test 123","admin_area_2":"Test","postal_code":"12355"}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: 19c51340a9548
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:52:37+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/9KB15213KU6975438
    Response Debug ID: e2f2db3d662ed
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:52:39+00:00 DEBUG PATCH https://api.sandbox.paypal.com/v2/checkout/orders/9KB15213KU6975438
    Request Body: [{"op":"replace","value":{"reference_id":"default","amount":{"currency_code":"GBP","value":"13.10","breakdown":{"item_total":{"currency_code":"GBP","value":"9.00"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Jacquard Bag - Chocolate Sling Bag","unit_amount":{"currency_code":"GBP","value":"9.00"},"quantity":1,"description":"Made with an ethnic jacquard fabric this bag from Ancient Wisdom Dropshipping is for world travellers who just know how to","sku":"JNS-05","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"JBN94WQKEYGVS"},"shipping":{"name":{"full_name":"PayPal Test 2"},"address":{"country_code":"DE","address_line_1":"Test 123","admin_area_2":"Test","postal_code":"12355"}},"custom_id":"45881","invoice_id":"OD-45881"},"path":"\/purchase_units\/@reference_id=='default'"}]
    Response Debug ID: 1ac0293f645be
    Response: Array
    (
        [code] => 204
        [message] => No Content
    )
    
    2022-11-25T15:52:40+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/9KB15213KU6975438
    Response Debug ID: 2ab4a644a0176
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:52:43+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders/9KB15213KU6975438/capture
    Response Debug ID: 3b0feaaaa0b58
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-11-25T15:52:51+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-40"}
    Response Debug ID: 2bc62ed4f2938
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:53:16+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"3ec081e0-6cd9-11ed-80ef-0d7c791d2660","transmission_time":"2022-11-25T15:53:03Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"AkUgfZ6TKn3d\/Njy9fJtd\/slZAq1gYf4QW1UdCUsjDqVw3uQEd6bpND9fTFaPvH75avBDTXu+I7FUeHZwy6a1BAfLTroxHcodNLnvEvCI3ipSYjXY+6KUGmrrVDcj23MmIkU7c9ctuDgXqU2rYYHVzl6G5IF+uMvnGxS+fUpNQwwM0q60qT4CYtNTgGz23nZdVTVb3927RiS0s5vhiIoocHxB3PyxsXZbafgsc3Y9R6ITOOIA4+hUOBVoxBS4jBE2J5HZq2sjEREWDm4r38HJ8Fzm5\/Om\/mm9aTFoK5krWU4rmJGPD8Iykni0+74UuHFffuxnhOi0f4B2QtywahOdw==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-31A68366U1386824R-9TW328510N755634C","event_version":"1.0","create_time":"2022-11-25T15:52:42.167Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2022-11-25T15:52:28Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"13.10","breakdown":{"item_total":{"currency_code":"GBP","value":"9.00"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"payee":{"email_address":"sarah@reford.co.uk","merchant_id":"JBN94WQKEYGVS","display_data":{"brand_name":"Onyx Dragon"}},"description":"","custom_id":"45881","invoice_id":"OD-45881","items":[{"name":"Jacquard Bag - Chocolate Sling Bag","unit_amount":{"currency_code":"GBP","value":"9.00"},"quantity":"1","description":"Made with an ethnic jacquard fabric this bag from Ancient Wisdom Dropshipping is for world travellers who just know how to","sku":"JNS-05","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"PayPal Test 2"},"address":{"address_line_1":"Test 123","admin_area_2":"Test","postal_code":"12355","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/9KB15213KU6975438","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/9KB15213KU6975438","rel":"update","method":"PATCH"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/9KB15213KU6975438\/capture","rel":"capture","method":"POST"}],"id":"9KB15213KU6975438","payment_source":{"paypal":{}},"intent":"CAPTURE","payer":{"name":{"given_name":"John","surname":"Doe"},"email_address":"sb-ytdle4029618@business.example.com","payer_id":"TMNM3TLTS8SAS","address":{"address_line_1":"Test 123","admin_area_2":"Test","postal_code":"12355","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-31A68366U1386824R-9TW328510N755634C","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-31A68366U1386824R-9TW328510N755634C\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 4caa02ad30620
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:53:16+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/9KB15213KU6975438
    Response Debug ID: 216f74735616b
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:53:16+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"3e961680-6cd9-11ed-ba66-2b93b5ca8e0e","transmission_time":"2022-11-25T15:53:03Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"GIJQG63lm6\/T8j39y3jCyNmW1KnW4oM9xN3U95p6h0fcZl9FDGWASLr5GTHYPCD5yXNi6xo1+KZLoM5to4CHDagxSq9VPcoNoavoDVzDn+03UTvVMWYDcKyf7geI1ixGY\/o6KjWV3279BE9afxleRLhPIIBnkCzSP\/EDMVqzJlBEpQJZzZWM83EUKKaZ54wzkpBmH5EZ3NN4vkF5Sw8uwZ4Rw3tkKNJXsAKIs2sApGYA3Mk6dWFw3VMhMVtmsTl7M3sRZLeenFPClsAZMluWX7WTTUglv+JJSpxW3oU24ztfnBgiA0A9imqRjK244AVhfCwWHHqW7PK2\/R1pnTjXMw==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-55156522WE417891E-4J7319138P320602P","event_version":"1.0","create_time":"2022-11-25T15:52:46.479Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.PENDING","summary":"Payment pending for GBP 13.1 GBP","resource":{"amount":{"value":"13.10","currency_code":"GBP"},"seller_protection":{"status":"NOT_ELIGIBLE"},"supplementary_data":{"related_ids":{"order_id":"9KB15213KU6975438"}},"update_time":"2022-11-25T15:52:42Z","create_time":"2022-11-25T15:52:42Z","final_capture":true,"custom_id":"45881","invoice_id":"OD-45881","links":[{"method":"GET","rel":"self","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/2D649118V1867063R"},{"method":"POST","rel":"refund","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/2D649118V1867063R\/refund"},{"method":"GET","rel":"up","href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/9KB15213KU6975438"}],"id":"2D649118V1867063R","status_details":{"reason":"UNILATERAL"},"status":"PENDING"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-55156522WE417891E-4J7319138P320602P","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-55156522WE417891E-4J7319138P320602P\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 1fb8a689d3a9e
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:53:16+00:00 INFO Webhook has been handled by PAYMENT.CAPTURE.PENDING
    2022-11-25T15:53:17+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"3e961680-6cd9-11ed-ba66-2b93b5ca8e0e","transmission_time":"2022-11-25T15:53:03Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"GIJQG63lm6\/T8j39y3jCyNmW1KnW4oM9xN3U95p6h0fcZl9FDGWASLr5GTHYPCD5yXNi6xo1+KZLoM5to4CHDagxSq9VPcoNoavoDVzDn+03UTvVMWYDcKyf7geI1ixGY\/o6KjWV3279BE9afxleRLhPIIBnkCzSP\/EDMVqzJlBEpQJZzZWM83EUKKaZ54wzkpBmH5EZ3NN4vkF5Sw8uwZ4Rw3tkKNJXsAKIs2sApGYA3Mk6dWFw3VMhMVtmsTl7M3sRZLeenFPClsAZMluWX7WTTUglv+JJSpxW3oU24ztfnBgiA0A9imqRjK244AVhfCwWHHqW7PK2\/R1pnTjXMw==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-55156522WE417891E-4J7319138P320602P","event_version":"1.0","create_time":"2022-11-25T15:52:46.479Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.PENDING","summary":"Payment pending for GBP 13.1 GBP","resource":{"amount":{"value":"13.10","currency_code":"GBP"},"seller_protection":{"status":"NOT_ELIGIBLE"},"supplementary_data":{"related_ids":{"order_id":"9KB15213KU6975438"}},"update_time":"2022-11-25T15:52:42Z","create_time":"2022-11-25T15:52:42Z","final_capture":true,"custom_id":"45881","invoice_id":"OD-45881","links":[{"method":"GET","rel":"self","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/2D649118V1867063R"},{"method":"POST","rel":"refund","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/2D649118V1867063R\/refund"},{"method":"GET","rel":"up","href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/9KB15213KU6975438"}],"id":"2D649118V1867063R","status_details":{"reason":"UNILATERAL"},"status":"PENDING"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-55156522WE417891E-4J7319138P320602P","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-55156522WE417891E-4J7319138P320602P\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: d3b45d1e1b1e4
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T15:53:17+00:00 INFO Order 45881 has been updated through PayPal
    2022-11-25T15:53:17+00:00 INFO Webhook has been handled by CHECKOUT.ORDER.APPROVED
    2022-11-25T15:53:17+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"3ec081e0-6cd9-11ed-80ef-0d7c791d2660","transmission_time":"2022-11-25T15:53:03Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"AkUgfZ6TKn3d\/Njy9fJtd\/slZAq1gYf4QW1UdCUsjDqVw3uQEd6bpND9fTFaPvH75avBDTXu+I7FUeHZwy6a1BAfLTroxHcodNLnvEvCI3ipSYjXY+6KUGmrrVDcj23MmIkU7c9ctuDgXqU2rYYHVzl6G5IF+uMvnGxS+fUpNQwwM0q60qT4CYtNTgGz23nZdVTVb3927RiS0s5vhiIoocHxB3PyxsXZbafgsc3Y9R6ITOOIA4+hUOBVoxBS4jBE2J5HZq2sjEREWDm4r38HJ8Fzm5\/Om\/mm9aTFoK5krWU4rmJGPD8Iykni0+74UuHFffuxnhOi0f4B2QtywahOdw==","webhook_id":"6ED19913D45877325","webhook_event":{"id":"WH-31A68366U1386824R-9TW328510N755634C","event_version":"1.0","create_time":"2022-11-25T15:52:42.167Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2022-11-25T15:52:28Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"13.10","breakdown":{"item_total":{"currency_code":"GBP","value":"9.00"},"shipping":{"currency_code":"GBP","value":"4.10"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"payee":{"email_address":"sarah@reford.co.uk","merchant_id":"JBN94WQKEYGVS","display_data":{"brand_name":"Onyx Dragon"}},"description":"","custom_id":"45881","invoice_id":"OD-45881","items":[{"name":"Jacquard Bag - Chocolate Sling Bag","unit_amount":{"currency_code":"GBP","value":"9.00"},"quantity":"1","description":"Made with an ethnic jacquard fabric this bag from Ancient Wisdom Dropshipping is for world travellers who just know how to","sku":"JNS-05","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"PayPal Test 2"},"address":{"address_line_1":"Test 123","admin_area_2":"Test","postal_code":"12355","country_code":"DE"}}}],"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/9KB15213KU6975438","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/9KB15213KU6975438","rel":"update","method":"PATCH"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/9KB15213KU6975438\/capture","rel":"capture","method":"POST"}],"id":"9KB15213KU6975438","payment_source":{"paypal":{}},"intent":"CAPTURE","payer":{"name":{"given_name":"John","surname":"Doe"},"email_address":"sb-ytdle4029618@business.example.com","payer_id":"TMNM3TLTS8SAS","address":{"address_line_1":"Test 123","admin_area_2":"Test","postal_code":"12355","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-31A68366U1386824R-9TW328510N755634C","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-31A68366U1386824R-9TW328510N755634C\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: e77f3123a1fbd
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T16:02:47+00:00 DEBUG GET https://api.sandbox.paypal.com/v2/vault/payment-tokens/?customer_id=OD-1
    Response Debug ID: 10cbe2ad5d391
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T16:02:49+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"OD-1"}
    Response Debug ID: 53513ef1a7124
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T16:02:50+00:00 DEBUG GET https://api.sandbox.paypal.com/v2/vault/payment-tokens/?customer_id=OD-1
    Response Debug ID: 208d52e5a4411
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-11-25T16:03:02+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"19.65","breakdown":{"item_total":{"currency_code":"GBP","value":"17.00"},"shipping":{"currency_code":"GBP","value":"2.65"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Cotton Canvas Messenger Bag - Natural and Soft Jute","unit_amount":{"currency_code":"GBP","value":"17.00"},"quantity":1,"description":"","sku":"CottMB-06","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"JBN94WQKEYGVS"},"shipping":{"name":{"full_name":"Sarah Reford"},"address":{"country_code":"GB","address_line_1":"49 Millham Road","admin_area_1":"Gloucestershire","admin_area_2":"Bishops Cleeve","postal_code":"GL52 8BE"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"BILLING","locale":"en-GB","brand_name":"Onyx Dragon","return_url":"https:\/\/onyxdragon.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/onyxdragon.co.uk\/checkout\/"},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: 95207468404bd
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    Thread Starter sreford

    (@sreford)

    Sent the logs through the widget on the support website as it seems to have flagged up for moderation here.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @sreford,

    Thanks, we hope the proposed workaround was acceptable for you.
    The next update 2.0.1 with a fix for the reported issue should be released in the coming days.
    There is a pre-release version available for testing here on GitHub, in case you’d like to give this a try already.
    If any problems remain with this new version, please feel free to get back via mail or reopen this topic/create a new one.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter sreford

    (@sreford)

    The workaround did work for guest checkouts at least, I had an order recently. Updated to the pre-release in the meantime.

    Thread Starter sreford

    (@sreford)

    I’ve disabled the vaulting on the 2.0.1-rc1 version, but don’t see paypal later show up in checkout – how do I get that to show?

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @sreford,

    Can you please check that the Pay Later buttons and messaging are enabled in the dedicated Pay Later tab?: https://woocommerce.com/document/woocommerce-paypal-payments/#pay-later-tab
    Thanks!

    It currently looks like the Pay Later button is disabled. The button must be enabled and selected for the Checkout location. There isn’t much anything else that needs to be set up for the Pay Later button to appear for eligible buyers.

    Kind regards,
    Niklas

    Thread Starter sreford

    (@sreford)

    I don’t have vaulting currently enabled but don’t see a pay later tab, unfortunately.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Plugin errors?’ is closed to new replies.