- Posts: 157
- Thank you received: 8
Possible bug with HikaShop Google Analytics plugin
14 years 5 months ago #45913
by vanboke
Possible bug with HikaShop Google Analytics plugin was created 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?
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.
14 years 5 months ago #46123
by nicolas
Replied by nicolas on topic Re: Possible bug with HikaShop Google Analytics plugin
Nice catch.
Please try to add the code:
before the line:
in the file plugins/system/hikashopanalytics/hikashopanalytics.php
That should allow GA to be notified for orders made with PayPal Pro too.
Please try to add the code:
Code:
function onAfterOrderCreate(&$order){
return $this->onAfterOrderUpdate($order);
}
Code:
function onAfterOrderUpdate(&$order){
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.
14 years 5 months ago #46129
by vanboke
Replied by vanboke on topic Re: Possible bug with HikaShop Google Analytics plugin
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.
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.
14 years 5 months ago #46329
by vanboke
Replied by vanboke on topic Re: Possible bug with HikaShop Google Analytics plugin
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.
14 years 5 months ago #46408
by nicolas
Replied by nicolas on topic Re: Possible bug with HikaShop Google Analytics plugin
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