[Skip to main content](#vessel-content)

#   Possible bug with HikaShop Google Analytics plugin

##

- **[vanboke](/forum/user/4873-vanboke "View vanboke's Profile")**
- [![vanboke's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4873-vanboke "View vanboke's Profile") Topic Author
- [ Offline](/forum/user/4873-vanboke)

Less More

- Posts: 157
- Thank you received: 8
-
-

14 years 7 months ago [\#45913](#45913) by [vanboke](/forum/user/4873-vanboke "View vanboke's Profile")  *[Possible bug with HikaShop Google Analytics plugin](/forum/3-bug-report/45913-possible-bug-with-hikashop-google-analytics-plugin#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?")* was created by *[vanboke](/forum/user/4873-vanboke "View vanboke's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NTkxMy1wb3NzaWJsZS1idWctd2l0aC1oaWthc2hvcC1nb29nbGUtYW5hbHl0aWNzLXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 7 months ago [\#46123](#46123) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Possible bug with HikaShop Google Analytics plugin](/forum/3-bug-report/45913-possible-bug-with-hikashop-google-analytics-plugin#46123 "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?")*

Nice catch.

Please try to add the code: Code:

function onAfterOrderCreate(&amp;$order){ return $this-&gt;onAfterOrderUpdate($order); }

before the line: Code:

function onAfterOrderUpdate(&amp;$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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NTkxMy1wb3NzaWJsZS1idWctd2l0aC1oaWthc2hvcC1nb29nbGUtYW5hbHl0aWNzLXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vanboke](/forum/user/4873-vanboke "View vanboke's Profile")**
- [![vanboke's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4873-vanboke "View vanboke's Profile") Topic Author
- [ Offline](/forum/user/4873-vanboke)

Less More

- Posts: 157
- Thank you received: 8
-
-

14 years 7 months ago [\#46129](#46129) by [vanboke](/forum/user/4873-vanboke "View vanboke's Profile")  Replied by *[vanboke](/forum/user/4873-vanboke "View vanboke's Profile")* on topic *[Re: Possible bug with HikaShop Google Analytics plugin](/forum/3-bug-report/45913-possible-bug-with-hikashop-google-analytics-plugin#46129 "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?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NTkxMy1wb3NzaWJsZS1idWctd2l0aC1oaWthc2hvcC1nb29nbGUtYW5hbHl0aWNzLXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vanboke](/forum/user/4873-vanboke "View vanboke's Profile")**
- [![vanboke's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4873-vanboke "View vanboke's Profile") Topic Author
- [ Offline](/forum/user/4873-vanboke)

Less More

- Posts: 157
- Thank you received: 8
-
-

14 years 7 months ago [\#46329](#46329) by [vanboke](/forum/user/4873-vanboke "View vanboke's Profile")  Replied by *[vanboke](/forum/user/4873-vanboke "View vanboke's Profile")* on topic *[Re: Possible bug with HikaShop Google Analytics plugin](/forum/3-bug-report/45913-possible-bug-with-hikashop-google-analytics-plugin#46329 "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?")*

Meant to post yesterday. I wanted to let you know that fix works like a charm. Thanks for everything.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NTkxMy1wb3NzaWJsZS1idWctd2l0aC1oaWthc2hvcC1nb29nbGUtYW5hbHl0aWNzLXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 7 months ago [\#46408](#46408) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Possible bug with HikaShop Google Analytics plugin](/forum/3-bug-report/45913-possible-bug-with-hikashop-google-analytics-plugin#46408 "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?")*

Great. We'll add that to next release.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NTkxMy1wb3NzaWJsZS1idWctd2l0aC1oaWthc2hvcC1nb29nbGUtYW5hbHl0aWNzLXBsdWdpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
