Possible bug with HikaShop Google Analytics plugin

  • Posts: 150
  • Thank you received: 7
  • Hikashop Business
12 years 1 month 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: 81598
  • Thank you received: 13082
  • MODERATOR
12 years 4 weeks 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: 150
  • Thank you received: 7
  • Hikashop Business
12 years 4 weeks 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: 150
  • Thank you received: 7
  • Hikashop Business
12 years 3 weeks 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: 81598
  • Thank you received: 13082
  • MODERATOR
12 years 3 weeks 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.058 seconds
Powered by Kunena Forum