Possible bug with HikaShop Google Analytics plugin

  • Posts: 153
  • Thank you received: 7
  • Hikashop Business
12 years 7 months ago #45913

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 7 months ago #46123

Nice catch.

Please try to add the code:

function onAfterOrderCreate(&$order){
		return $this->onAfterOrderUpdate($order);
	}
before the line:
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.

  • Posts: 153
  • Thank you received: 7
  • Hikashop Business
12 years 7 months ago #46129

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.

  • Posts: 153
  • Thank you received: 7
  • Hikashop Business
12 years 7 months ago #46329

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 7 months ago #46408

Great. We'll add that to next release.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum