• Resolved uthpalasim

    (@uthpalasim)


    Could you please let me know, this plugin free version support for automatic renewal for subscription.
    I am using this plugin and it is enable for vault. But for Paypal payments it is not renewing (renewal period for 1 day). Do we need to change Paypal account settings also? And is it working for sandbox account ?

    • This topic was modified 1 year, 4 months ago by uthpalasim.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @uthpalasim

    Thank you for your question. This plugin is available only as a free version.

    Regarding subscriptions, automatic renewals are supported in two modes. The first mode is Vaulting, which you have already enabled. However, this requires Reference Transactions to be activated in your PayPal account. The second mode is PayPal Subscriptions, which does not require vaulting but comes with some limitations compared to the first option. More info on this area can be found in our subscriptions FAQ.

    If PayPal payments are not renewing automatically, you can share us log to investigate further. Please note that these log files are only generated if “Logging” is activated in your plugin settings. You can enable this feature from the “Connection” tab in your plugin settings. Once “Logging” is enabled, every transaction will generate a log entry.

    Additionally, automatic renewals should work with a sandbox account, as it is preoccupied with Reference Transactions by default.

    Let us know if you need further assistance.

    Kind Regards,

    Krystian

    Thread Starter uthpalasim

    (@uthpalasim)

    I am sharing a logs for my last sandbox payment. Please check and help me..

    2025-02-11T10:09:09+00:00 DEBUG GET https://api-m.paypal.com/v1/notifications/webhooks
    Response Debug ID: b62b8b6780bb1
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:09:11+00:00 DEBUG GET https://api-m.paypal.com/v1/notifications/webhooks
    Response Debug ID: c3ee6e7cff657
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:09:34+00:00 DEBUG POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials&response_type=client_token&intent=sdk_init&domains[]=papayawhip-kangaroo-623022.hostingersite.com
    Response Debug ID: a7d54294502c5
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:11:23+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"NZD","value":"1.00","breakdown":{"item_total":{"currency_code":"NZD","value":"1.00"},"shipping":{"currency_code":"NZD","value":"0.00"},"tax_total":{"currency_code":"NZD","value":"0.00"}}},"description":"","items":[{"name":"Starter","unit_amount":{"currency_code":"NZD","value":"1.00"},"quantity":1,"description":"[et_pb_section fb_built=\"1\" _builder_version=\"4.25.2\" background_enable_image=\"off\" custom_padding=\"0px||||false|false\" global_","sku":"","category":"PHYSICAL_GOODS","url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/product\/starter\/","cart_item_key":"308eda9563e7c0458edd87558b68cfd9"}],"shipping":{"name":{"full_name":"uthpala kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_2":"Mount Lavinia","postal_code":"10370"}},"custom_id":"pcp_customer_18"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"GET_FROM_FILE","landing_page":"LOGIN","locale":"en-US","brand_name":"Pixel-Slice","return_url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/checkout\/","payment_method":{"payee_preferred":"UNRESTRICTED"}},"payer":{"email_address":"dilhari1989@gmail.com","name":{"given_name":"uthpala","surname":"kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_1":"AUK","admin_area_2":"Mount Lavinia","postal_code":"10370"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"947157119937"}}}}
    Response Debug ID: 3996c2c28b2cb
    Response: Array
    (
    [code] => 201
    [message] => Created
    )

    2025-02-11T10:11:45+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"NZD","value":"1.00","breakdown":{"item_total":{"currency_code":"NZD","value":"1.00"},"shipping":{"currency_code":"NZD","value":"0.00"},"tax_total":{"currency_code":"NZD","value":"0.00"}}},"description":"","items":[{"name":"Starter","unit_amount":{"currency_code":"NZD","value":"1.00"},"quantity":1,"description":"[et_pb_section fb_built=\"1\" _builder_version=\"4.25.2\" background_enable_image=\"off\" custom_padding=\"0px||||false|false\" global_","sku":"","category":"PHYSICAL_GOODS","url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/product\/starter\/","cart_item_key":"308eda9563e7c0458edd87558b68cfd9"}],"shipping":{"name":{"full_name":"uthpala kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_2":"Mount Lavinia","postal_code":"10370"}},"custom_id":"pcp_customer_18"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"GET_FROM_FILE","landing_page":"LOGIN","locale":"en-US","brand_name":"Pixel-Slice","return_url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/checkout\/","payment_method":{"payee_preferred":"UNRESTRICTED"}},"payer":{"email_address":"dilhari1989@gmail.com","name":{"given_name":"uthpala","surname":"kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_1":"AUK","admin_area_2":"Mount Lavinia","postal_code":"10370"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"947157119937"}}}}
    Response Debug ID: d4be638cb8bd6
    Response: Array
    (
    [code] => 201
    [message] => Created
    )

    2025-02-11T10:12:36+00:00 DEBUG POST https://api-m.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"NZD","value":"1.00","breakdown":{"item_total":{"currency_code":"NZD","value":"1.00"},"shipping":{"currency_code":"NZD","value":"0.00"},"tax_total":{"currency_code":"NZD","value":"0.00"}}},"description":"","items":[{"name":"Starter","unit_amount":{"currency_code":"NZD","value":"1.00"},"quantity":1,"description":"[et_pb_section fb_built=\"1\" _builder_version=\"4.25.2\" background_enable_image=\"off\" custom_padding=\"0px||||false|false\" global_","sku":"","category":"PHYSICAL_GOODS","url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/product\/starter\/","cart_item_key":"f3b067d049f2e5ed9024c9e241c91b63"}],"shipping":{"name":{"full_name":"uthpala kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_2":"Mount Lavinia","postal_code":"10370"}},"custom_id":"pcp_customer_18"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"GET_FROM_FILE","landing_page":"LOGIN","locale":"en-US","brand_name":"Pixel-Slice","return_url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/checkout\/","payment_method":{"payee_preferred":"UNRESTRICTED"}},"payer":{"email_address":"dilhari1989@gmail.com","name":{"given_name":"uthpala","surname":"kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_1":"AUK","admin_area_2":"Mount Lavinia","postal_code":"10370"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"947157119937"}}}}
    Response Debug ID: 12b835da3280f
    Response: Array
    (
    [code] => 201
    [message] => Created
    )

    2025-02-11T10:13:08+00:00 DEBUG GET https://api-m.paypal.com/v1/notifications/webhooks
    Response Debug ID: 7bb6fb41d7adf
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:08+00:00 DEBUG GET https://api-m.paypal.com/v1/notifications/webhooks
    Response Debug ID: 396c02b410bab
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:09+00:00 DEBUG DELETE https://api-m.paypal.com/v1/notifications/webhooks/393982412L1845040
    Response Debug ID: adfbf8ac6c5b4
    Response: Array
    (
    [code] => 204
    [message] => No Content
    )

    2025-02-11T10:13:09+00:00 INFO Webhooks deleted.
    2025-02-11T10:13:11+00:00 DEBUG POST https://api-m.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: f37446678569d
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:12+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/82YWJKQA4UUTG
    Response Debug ID: f8594160cb724
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:14+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/customer/partners/MPMFHQTVMBZ6G/merchant-integrations/82YWJKQA4UUTG
    Response Debug ID: f440647682698
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:14+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    Response Debug ID: f8638471aa2ff
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:14+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    Response: Array
    (
    [code] => 503
    [message] => Service Unavailable
    )

    Response Body:

    2025-02-11T10:13:14+00:00 ERROR Failed to delete webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0.
    2025-02-11T10:13:14+00:00 INFO Webhooks deleted.
    2025-02-11T10:13:15+00:00 DEBUG POST https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    Request Body: {"url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.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: f8132919b0f6f
    Response: Array
    (
    [code] => 201
    [message] => Created
    )

    2025-02-11T10:13:15+00:00 INFO Webhooks subscribed.
    2025-02-11T10:13:17+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    Response Debug ID: f2741806f58c1
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:23+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    Response Debug ID: f5492598cf62d
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:24+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    Response Debug ID: f443480fac3c7
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:13:55+00:00 DEBUG POST https://api-m.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials&response_type=client_token&intent=sdk_init&domains[]=papayawhip-kangaroo-623022.hostingersite.com
    Response Debug ID: f699801ffb408
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:14:06+00:00 DEBUG POST https://api-m.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"NZD","value":"1.00","breakdown":{"item_total":{"currency_code":"NZD","value":"1.00"},"shipping":{"currency_code":"NZD","value":"0.00"},"tax_total":{"currency_code":"NZD","value":"0.00"}}},"description":"","items":[{"name":"Starter","unit_amount":{"currency_code":"NZD","value":"1.00"},"quantity":1,"description":"[et_pb_section fb_built=\"1\" _builder_version=\"4.25.2\" background_enable_image=\"off\" custom_padding=\"0px||||false|false\" global_","sku":"","category":"PHYSICAL_GOODS","url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/product\/starter\/","cart_item_key":"f3b067d049f2e5ed9024c9e241c91b63"}],"shipping":{"name":{"full_name":"uthpala kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_2":"Mount Lavinia","postal_code":"10370"}},"custom_id":"pcp_customer_18"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"GET_FROM_FILE","landing_page":"LOGIN","locale":"en-US","brand_name":"Pixel-Slice","return_url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/checkout\/","payment_method":{"payee_preferred":"UNRESTRICTED"}},"payer":{"email_address":"dilhari1989@gmail.com","name":{"given_name":"uthpala","surname":"kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_1":"AUK","admin_area_2":"Mount Lavinia","postal_code":"10370"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"947157119937"}}}}
    Response Debug ID: f9456576b610b
    Response: Array
    (
    [code] => 201
    [message] => Created
    )

    2025-02-11T10:14:44+00:00 DEBUG https://api-m.sandbox.paypal.com/v2/checkout/orders/2FY51822X9761494U
    Response Debug ID: f64064953b2c5
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:14:46+00:00 DEBUG PATCH https://api-m.sandbox.paypal.com/v2/checkout/orders/2FY51822X9761494U
    Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"NZD","value":"1.00","breakdown":{"item_total":{"currency_code":"NZD","value":"1.00"},"shipping":{"currency_code":"NZD","value":"0.00"},"tax_total":{"currency_code":"NZD","value":"0.00"}}},"description":"","items":[{"name":"Starter","unit_amount":{"currency_code":"NZD","value":"1.00"},"quantity":1,"description":"[et_pb_section fb_built=\"1\" _builder_version=\"4.25.2\" background_enable_image=\"off\" custom_padding=\"0px||||false|false\" global_","sku":"","category":"PHYSICAL_GOODS","url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/product\/starter\/"}],"custom_id":"1713","invoice_id":"efdaaa-1713","shipping":{"name":{"full_name":"uthpala kamalsooriya"},"address":{"country_code":"LK","address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_2":"Mount Lavinia","postal_code":"10370"}}}}]
    Response Debug ID: f249655d06a16
    Response: Array
    (
    [code] => 204
    [message] => No Content
    )

    2025-02-11T10:14:47+00:00 DEBUG https://api-m.sandbox.paypal.com/v2/checkout/orders/2FY51822X9761494U
    Response Debug ID: f566132e311fc
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:14:49+00:00 DEBUG POST https://api-m.sandbox.paypal.com/v2/checkout/orders/2FY51822X9761494U/capture
    Response Debug ID: f5215666d7973
    Response: Array
    (
    [code] => 201
    [message] => Created
    )

    2025-02-11T10:14:50+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v2/vault/payment-tokens/?customer_id=efdaaa-18
    Response Debug ID: f427466c1016c
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:14:52+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v2/vault/payment-tokens/?customer_id=efdaaa-18
    Response Debug ID: f934814ffa0ee
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:15:05+00:00 DEBUG POST https://api-m.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"09eeee82-e861-11ef-9042-9f12b5bca363","transmission_time":"2025-02-11T10:14:54Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ab66f33d","auth_algo":"SHA256withRSA","transmission_sig":"hCfvMPYlPILABPw9hY2yW1mygUJ8bgnnuJtkrvubuuPTCGIG4y08jvOZJ1CY60XtppNwS\/5ZD9TwhbPvrSUX12jWse6kZkYO1uvpfBAm4qWgCRqMOED3j6CuX1Y24ANsh2722UXnoLUNidwi8\/zcGcS08F\/2Jv6fw88w6p0ho2HiMaCJVsMCklBLDSglHR0MxLEKHNC39vfZHWk\/4DpyzD5wudOC0mXlNiOzYfEwrOj3AvifBgXU0IjTe74gggRHgs70yVgxaZnEGUcI\/gG1OJafw3QQf+F5J0pXHzmCh8nbXgKMhLKtlhdHyZPAuhdNATeCWcAkU4G8YyubiZ+9GQ==","webhook_id":"28W02066DD3211229","webhook_event":{"id":"WH-92N13485VB721312B-35C51445G9046124J","event_version":"1.0","create_time":"2025-02-11T10:14:45.037Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2025-02-11T10:14:06Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"NZD","value":"1.00","breakdown":{"item_total":{"currency_code":"NZD","value":"1.00"},"shipping":{"currency_code":"NZD","value":"0.00"},"tax_total":{"currency_code":"NZD","value":"0.00"}}},"payee":{"email_address":"sb-vl0px37483743@business.example.com","merchant_id":"82YWJKQA4UUTG","display_data":{"brand_name":"Pixel-Slice"}},"description":"","custom_id":"pcp_customer_18","items":[{"name":"Starter","unit_amount":{"currency_code":"NZD","value":"1.00"},"quantity":"1","description":"[et_pb_section fb_built=\"1\" _builder_version=\"4.25.2\" background_enable_image=\"off\" custom_padding=\"0px||||false|false\" global_","url":"https:\/\/papayawhip-kangaroo-623022.hostingersite.com\/product\/starter\/","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"uthpala kamalsooriya"},"address":{"address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_2":"Mount Lavinia","postal_code":"10370","country_code":"LK"}}}],"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/2FY51822X9761494U","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/2FY51822X9761494U","rel":"update","method":"PATCH"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/2FY51822X9761494U\/capture","rel":"capture","method":"POST"}],"id":"2FY51822X9761494U","payment_source":{"paypal":{"email_address":"sb-bfx9u37664305@personal.example.com","account_id":"8PQL3UGEJK8BL","account_status":"VERIFIED","name":{"given_name":"John","surname":"Doe"},"address":{"address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_2":"Mount Lavinia","admin_area_1":"AUK","postal_code":"10370","country_code":"LK"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"John","surname":"Doe"},"email_address":"sb-bfx9u37664305@personal.example.com","payer_id":"8PQL3UGEJK8BL","address":{"address_line_1":"No33, Major Gunarathna Avenue, Off Templers Road","admin_area_2":"Mount Lavinia","admin_area_1":"AUK","postal_code":"10370","country_code":"LK"}},"status":"APPROVED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-92N13485VB721312B-35C51445G9046124J","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-92N13485VB721312B-35C51445G9046124J\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: f549542992056
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:15:05+00:00 DEBUG Webhook WH-92N13485VB721312B-35C51445G9046124J received of type CHECKOUT.ORDER.APPROVED and by resource "checkout-order"
    2025-02-11T10:15:05+00:00 DEBUG Webhook is going to be handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2025-02-11T10:15:06+00:00 DEBUG https://api-m.sandbox.paypal.com/v2/checkout/orders/2FY51822X9761494U
    Response Debug ID: f517342c2bd40
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:15:06+00:00 INFO Order 2FY51822X9761494U already completed.
    2025-02-11T10:15:06+00:00 INFO Webhook has been handled by CHECKOUT.ORDER.APPROVED on WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved
    2025-02-11T10:15:08+00:00 DEBUG POST https://api-m.sandbox.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"0f3025e3-e861-11ef-a395-b56ee819708c","transmission_time":"2025-02-11T10:15:03Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-ab66f33d","auth_algo":"SHA256withRSA","transmission_sig":"RocGjEWFi4n5PGDMCoh1UMFwuxeK7TlnX4DI1z4jLz7ZkQ+ZO1BNsLFLiHXIGRsSKTwevPWCi++4EQdq+YEsmH33Xu2Oz9z7G\/DuYflVLoLV6waDNgfDfmv2y6TU8jplfmUQIMokjdjOnTVoFmXZgpPk8YtscxifZXIBJ2amDljS\/gAZS3\/jCnMpTeEU5JU0QMDtU4GNRZmI7ehVwncshK6zRUs1jdKe92p7xAdS7gUmWWDHyEg8GQtheFwgDS7oMKoKaYCT9QIYZCFDkJMpB42i+GWREeKnvQhIRTKPi9evUtJ3A6bLFfXrv21dra2\/mqXpYP2QWFEjPH8Ahp7NnQ==","webhook_id":"28W02066DD3211229","webhook_event":{"id":"WH-1T272756LP410261J-8J306833D8746532Y","event_version":"1.0","create_time":"2025-02-11T10:14:53.554Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for NZ$ 1.0 NZD","resource":{"amount":{"value":"1.00","currency_code":"NZD"},"seller_protection":{"dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"],"status":"ELIGIBLE"},"create_time":"2025-02-11T10:14:49Z","custom_id":"1713","payee":{"email_address":"sb-vl0px37483743@business.example.com","merchant_id":"82YWJKQA4UUTG"},"supplementary_data":{"related_ids":{"order_id":"2FY51822X9761494U"}},"update_time":"2025-02-11T10:14:49Z","final_capture":true,"seller_receivable_breakdown":{"paypal_fee":{"value":"0.48","currency_code":"NZD"},"gross_amount":{"value":"1.00","currency_code":"NZD"},"net_amount":{"value":"0.52","currency_code":"NZD"}},"invoice_id":"efdaaa-1713","links":[{"method":"GET","rel":"self","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/0RR1900000179942P"},{"method":"POST","rel":"refund","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/0RR1900000179942P\/refund"},{"method":"GET","rel":"up","href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/2FY51822X9761494U"}],"id":"0RR1900000179942P","status":"COMPLETED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-1T272756LP410261J-8J306833D8746532Y","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-1T272756LP410261J-8J306833D8746532Y\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: f46815701b9bc
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:15:08+00:00 DEBUG Webhook WH-1T272756LP410261J-8J306833D8746532Y received of type PAYMENT.CAPTURE.COMPLETED and by resource "capture"
    2025-02-11T10:15:08+00:00 DEBUG Webhook is going to be handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
    2025-02-11T10:15:08+00:00 INFO Webhook has been handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
    2025-02-11T10:16:39+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    Response Debug ID: f766932bdae9e
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2025-02-11T10:16:40+00:00 DEBUG GET https://api-m.sandbox.paypal.com/v1/notifications/webhooks
    Response Debug ID: f5530407b3541
    Response: Array
    (
    [code] => 200
    [message] => OK
    )
    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @uthpalasim

    There is nothing specifically wrong with the logs, with one exception related to the error message: Unknown error while connecting to PayPal. Status code: 0. However, this appears to be a temporary issue that did not affect the order process.

    The last part of the logs shows that the order was completed successfully. I recommend trying to renew the subscription in question via the order action and sharing any further logs if the issue persists.

    Please let me know if you need further assistance.

    Kind Regards,

    Krystian

    Thread Starter uthpalasim

    (@uthpalasim)

    In my order action showing as below link.
    https://files.fm/u/buh7mskcpe#/view/fytpsnx742

    Do we need to enable Reference Transactions in PayPal ?

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @uthpalasim

    Just to clarify, are you currently onboarded with a sandbox account or a live account? The order logs you provided appear to be from a sandbox environment. With sandbox theres no need to enable anything, however with live account please take a look on this documenation.

    Regarding order actions, you can find them in the subscriptions area. Simply append the following slug to your WordPress URL: /wp-admin/edit.php?post_type=shop_subscription

    Let me know if you need further assistance.

    Kind Regards,

    Krystian

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @uthpalasim

    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.

    Kind regards,
    Krystian

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Vaulting for renewal’ is closed to new replies.