TycheSoftwares / woocommerce-abandoned-cart

This is repository for Abandon cart lite version.
13 stars 10 forks source link

Webhooks not working with the latest version of WooCommerce #984

Open oluisrael11 opened 4 months ago

oluisrael11 commented 4 months ago

Describe the bug There has been a report from one of our users about being unable to send abandoned cart data via webhooks. This happened to the affected user after updating the WooCommerce plugin to the latest version.

At the moment, we need to fix this and then test webhooks with the latest WooCommerce release.

Expected behavior Abandoned cart data should be properly and correctly sent via webhooks.

Additional context https://wordpress.org/support/topic/webhook-not-working-5/

oluisrael11 commented 4 months ago

GitHub issue - 984

ilovefreesw commented 4 months ago

I am having this issue as well. I am able to receive the product data but not the user data in the webhook. The user detail fields are blank. image

WordPress Version: 6.5.2 WoOCommerce Version: 8.8.2 Abandoned Cart Pro version: 9.6.0

oluisrael11 commented 4 months ago

@ilovefreesw I have retested this on my end and with v9.6.0 and I can confirm that the user data was added to the webhook alongside the the product data.

image

Can you update the WP, Woo, and Abandoned Cart Pro plugins to the following highlighted below and retry the entire process?

WordPress Version: 6.5.3 WooCommerce Version: 8.8.3 Abandoned Cart Pro version: 9.7.1

ilovefreesw commented 2 weeks ago

Sorry coming late but still doesn't work for me. I have pro version by the way. The webhook payload doesn't include user information. The billing and shipping fields are empty.

image

We also use cartflows .. is there any compatibility issues ?

Details:

WordPress version: 6.6.1 WooCommerce Version: 9.2.3 Abandon Cart Pro Version: 9.10.0

oluisrael11 commented 2 weeks ago

@ilovefreesw can you confirm if the user information were entered on the checkout page before the cart was abandoned? The test on my end showed the user information added to the webhook payload. See the image below for reference:

image

Some parts of the information were blurred out but the first two to three characters are visible.

ilovefreesw commented 2 weeks ago

The abandoned cart mails are going just fine....it's just that the data is missing in the webhooks. I can see the user information on the dashboard. We are also using the add to cart popup forms offered by the plugin to capture the user email and phone number beforehand. That is also not being added to the webhook payload.