WordPress Affiliate Manager

Affiliates Management Plugin for WordPress

  • Home
  • Features
    • Screen Shots
  • Download
  • Documentation
  • Addons
  • Support
    • Support Forum
    • Forum Login
    • Forum Registration
    • Contact
    • Premium Addon/Plugin Support

[Resolved] Transaction is not tracked – because of payment service provider?

by

WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › Transaction is not tracked – because of payment service provider?

Tagged: payment service provider, Transaction is not tracked

  • This topic has 12 replies, 2 voices, and was last updated 6 years, 1 month ago by pixel-biz.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • February 25, 2020 at 11:58 pm #6579
    pixel-biz
    Participant

    Hello there,

    we just tested wp affiliate manager. But the transaction has not been tracked or recorded. What we do see is an impression.

    Our shop runs on Woocommerce. We have Klarna as payment service provider.

    Any suggestion?

    Thanks.

    Regards
    Frank

    February 26, 2020 at 5:13 am #6581
    Shadow Labs
    Keymaster

    @pixel-biz, Do you have the debug option enabled in the affiliates manager plugin? If not please enable debug and make a test affiliate purchase so we can check it.

    February 26, 2020 at 3:55 pm #6582
    pixel-biz
    Participant

    Thanks for your quick response. I cleared the log file. Made a new transaction – here is what the logfile saved:

    [02/26/2020 3:41 PM] – ——– Log File Reset ——–
    [02/26/2020 3:47 PM] – SUCCESS : WooCommerce Integration – Order processed. Order ID: 22047
    [02/26/2020 3:47 PM] – SUCCESS : WooCommerce Integration – Checking if affiliate commission needs to be awarded.
    [02/26/2020 3:47 PM] – SUCCESS : WooCommerce Integration – Order status: processing
    [02/26/2020 3:47 PM] – SUCCESS : WooCommerce Integration – Total amount: 12.85, Total shipping: 2.48, Total tax: 2.05, Fees: 0
    [02/26/2020 3:47 PM] – FAILURE : WooCommerce Integration – could not get wpam_id/wpam_refkey from cookie. This is not an affiliate sale
    [02/26/2020 3:50 PM] – SUCCESS : WooCommerce Integration – Order processed. Order ID: 22047
    [02/26/2020 3:50 PM] – SUCCESS : WooCommerce Integration – Checking if affiliate commission needs to be awarded.
    [02/26/2020 3:50 PM] – SUCCESS : WooCommerce Integration – Order status: completed
    [02/26/2020 3:50 PM] – SUCCESS : WooCommerce Integration – Total amount: 12.85, Total shipping: 2.48, Total tax: 2.05, Fees: 0
    [02/26/2020 3:50 PM] – FAILURE : WooCommerce Integration – could not get wpam_id/wpam_refkey from cookie. This is not an affiliate sale
    [02/26/2020 3:50 PM] – SUCCESS : WooCommerce Integration – Order processed. Order ID: 22047
    [02/26/2020 3:50 PM] – SUCCESS : WooCommerce Integration – Checking if affiliate commission needs to be awarded.
    [02/26/2020 3:50 PM] – SUCCESS : WooCommerce Integration – Order status: completed
    [02/26/2020 3:50 PM] – SUCCESS : WooCommerce Integration – Total amount: 12.85, Total shipping: 2.48, Total tax: 2.05, Fees: 0
    [02/26/2020 3:50 PM] – FAILURE : WooCommerce Integration – could not get wpam_id/wpam_refkey from cookie. This is not an affiliate sale

    —

    Kind regards

    Frank

    February 27, 2020 at 3:20 am #6583
    Shadow Labs
    Keymaster

    @pixel-biz, Thank you. Did you click on an affiliate link before making the purchase? The plugin was unable to retrieve the referral data from the order.

    February 27, 2020 at 4:40 pm #6585
    pixel-biz
    Participant

    Ups, here is teh code:

    <img src="https://www.belleso.com/wp-content/plugins/affiliates-manager/imp.php?wpam_refkey=mH0PWNQ1rRTXbN0wXXIa59JfQOr00000000000" width="0" height="0" /><a href="https://www.belleso.com/?wpam_id=1" title="">Belleso - Der LR online Shop für günstige LR Produkte.</a>

    February 28, 2020 at 12:46 pm #6588
    Shadow Labs
    Keymaster

    @pixel-biz, Thank you. I clicked on the link and cookie got tracked. So If I purchase something now a commission should be rewarded to affiliate 1.

    Can you please check your browser cookies to see if a cookie named “wpam_id” exists?

    February 28, 2020 at 4:56 pm #6589
    pixel-biz
    Participant

    Yes, the cookie “wpam_id” is there and was there. Since the tests started, Impressions are counted, under “impressions” I can see in the affiliate account that someone has clicked the link in this forum. So far so good. Still, transactions are not recognized.
    My standard browser is Firefox, latest version.

    If you take a look at the logfile (above) the failure comes up later. The file shows what item I wanted to purchase it even shows the total price. But then comes the first failure. It says: “Could not get wpam_id/wpam_refkey from cookie”. Shouldn’t we focus on that? What does that mean?

    Kind regards and thanks a lot so far
    Frank

    February 29, 2020 at 5:22 am #6591
    Shadow Labs
    Keymaster

    @pixel-biz, The plugin saves the affiliate ID to the WooCommerce order during checkout. Since the cookie is present in the browser it should be able save the value and retrieve it from the order after the purchase is confirmed.

    Are you using any third-party extension with WooCommerce? You can try deactivating all the plugin temporarily (except WooCommerce and affiliates manager) to see if it’s a plugin conflict.

    February 29, 2020 at 1:19 pm #6593
    pixel-biz
    Participant

    As I said at the very beginning we use Klarna. Their Plugins manage the checkout/payment process.

    So where are we: Cookie is set, it has the Affiliate ID, it collects the data i.e. order ID, price etc.. It also saves the oder status. But when the last step needs to be made the process fails: WP Affiliate Manager cannot read or get “wpam_id/wpam_refkey”. Is this right so far?

    March 1, 2020 at 4:55 am #6595
    Shadow Labs
    Keymaster

    @pixel-biz, Payment gateway is not the issue here. I’m just trying to know if the extension is developed by WooCommerce. Otherwise it may not follow the WooCommerce API and the integration will be broken.

    March 1, 2020 at 8:29 am #6596
    pixel-biz
    Participant

    Okay, you are the expert I am not. I do not understand the first part of your answer.

    Don’t get me wrong: Thank you very much so far for taking the time und trying to find a solution! I appreciate it.

    A description of the plugin can be found here:

    https://wordpress.org/plugins/klarna-checkout-for-woocommerce

    Author is a Swedish group named Krokedil, their website is here: https://krokedil.com/about-us/

    Meanwhile I will contact Klarna’s support. If they come up with a solution, I will post it here, if you are interested. Maybe you can leave this topic “open” for further questions.

    March 2, 2020 at 3:59 am #6600
    Shadow Labs
    Keymaster

    @pixel-biz, Thank you. It’s not from WooCommerce. That explains why it’s not working.

    March 4, 2020 at 4:28 pm #6605
    pixel-biz
    Participant

    @Shadow Labs I do not exactly understand what you are saying: Are we at the end of the road? If the support ends here, just let me know. Then you can close this case.

    Just to let you know: Meanwhile I setup a test-site where I de-activated the Klarna plugins. Your tracking worked then fine. Unfortunately we need the money 😉

    Our attempts to get more information and perhaps solutions from the payment service provider/author of the plugins did not bring up anything until today.

    Kind regards
    Frank

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Log In

Featured Addons

  • WooCommerce Coupon Tracking
  • WooCommerce Product Specific Commission

Copyright © 2026 | WordPress Affiliate Manager | Privacy Policy