Cookie Not Setting in User’s Browser
-
Hi,
I am facing the issue of cookie not setting up in user’s browser. If user clicks on the affiliate link and checkout right away without closing the tab then commission gets recorded but user close the tab and get back after some time or within the cookie set period, the affiliate not getting any commission.
I tried to find cookie in wpam in chrome but don’t found it. Following things I have done to troubleshoot:
1. disabling cache and performance plugins
2. disabling server level cache and performance optimization
3. disabling redis
4. disabling all other plugins except woocommerce and wp affiliate manager.
But the issue still persist and not setting wpam cookie. I also enabled log and found following pattern in each sales.[09/27/2023 4:02 PM] - NOTICE : WooCommerce Integration - Commission for this transaction will be awarded when you set the order status to completed or processing. [09/27/2023 4:43 PM] - SUCCESS : WooCommerce Integration - Order processed. Order ID: 18583 [09/27/2023 4:43 PM] - SUCCESS : WooCommerce Integration - Checking if affiliate commission needs to be awarded. [09/27/2023 4:43 PM] - SUCCESS : WooCommerce Integration - Order status: processing [09/27/2023 4:43 PM] - SUCCESS : WooCommerce Integration - Total amount: 629.00, Total shipping: 0, Total tax: 0, Fees: 0 [09/27/2023 4:43 PM] - FAILURE : WooCommerce Integration - could not get wpam_id/wpam_refkey from cookie. This is not an affiliate sale [09/27/2023 11:46 PM] - SUCCESS : WooCommerce Integration - Order processed. Order ID: 18584 [09/27/2023 11:46 PM] - SUCCESS : WooCommerce Integration - Checking if affiliate commission needs to be awarded. [09/27/2023 11:46 PM] - SUCCESS : WooCommerce Integration - Order status: pending [09/27/2023 11:46 PM] - NOTICE : WooCommerce Integration - Order status for this transaction is not in a 'completed' or 'processing' state. Commission will not be awarded at this stage.
I have also posted affiliate website link in link field if you need to check that.
Thanks
The page I need help with: [log in to see the link]
- The topic ‘Cookie Not Setting in User’s Browser’ is closed to new replies.