Skip to main content

Possible bug with HikaShop Google Analytics plugin

More
14 years 5 months ago #45913 by vanboke
Joomla 1.5.26
HikaShop 1.5.7

I have two payment methods enabled:
HikaShop PayPal Pro payment plugin
HikaShop Paypal payment plugin

Both payment plugins are working and payments are processing successfully with each of them. However if a purchase is made with PayPal Pro (credit card directly on website), the purchase is not reported to Google Analytics. Only the payments made with regular PayPal payments are being reported.

Has anyone else seen this behavior?

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #46123 by nicolas
Nice catch.

Please try to add the code:
Code:
function onAfterOrderCreate(&$order){ return $this->onAfterOrderUpdate($order); }
before the line:
Code:
function onAfterOrderUpdate(&$order){
in the file plugins/system/hikashopanalytics/hikashopanalytics.php

That should allow GA to be notified for orders made with PayPal Pro too.

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #46129 by vanboke
Nicolas,
Thank you! I have added that code, and will need to wait for another order. As soon as I know it works I will report back here.

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #46329 by vanboke
Meant to post yesterday. I wanted to let you know that fix works like a charm. Thanks for everything.

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #46408 by nicolas
Great. We'll add that to next release.

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum