- Posts: 12
- Thank you received: 0
Please post all pre-sales questions of all products on this forum
Javascript conflict / error - MPRO 2.3.0
- Paulzero
- Topic Author
- Offline
- New Member
-
Less
More
6 years 7 months ago - 6 years 7 months ago #117660
by Paulzero
Javascript conflict / error - MPRO 2.3.0 was created by Paulzero
Hi !
Working on old J2.5 / PHP 5.3 site using Membership-Pro 2.3.0. The site was recently moved to new server (.zipped & restored)
Have possible Javascript error ( ? ) Or Conflict - Effecting 'Custom Fields' & 'Coupon Field' auto-recalculation of 'Gross Amount':
Used to work fine, now changing values does not force re-calc ;
Page Effected :
'index . p h p ?option=com_osmembership&view=register'
'< h e a d >< script s r c="/components/com_osmembership/assets/js/paymentmethods . j s" type="text/javascript"></script></h e a d>'
(Corresponding JS - 'components/com_osmembership/assets/js/paymentmethods . j s' - L179 - calculateSubscriptionFee)
In 'Chrome Console' :
'Uncaught ReferenceError: calculateSubscriptionFee is not defined'
'paymentmethods.js:106 Uncaught ReferenceError: OSM is not defined'
'jquery.validationEngine.js:13 Uncaught ReferenceError: OSM is not defined'
I'm suspecting a JS conflict (Or something to do with changing server)- any ideas on what to do.or how to isolate the problem ?
Thanks for a great product,
Cheers - Paulzero.
Working on old J2.5 / PHP 5.3 site using Membership-Pro 2.3.0. The site was recently moved to new server (.zipped & restored)
Have possible Javascript error ( ? ) Or Conflict - Effecting 'Custom Fields' & 'Coupon Field' auto-recalculation of 'Gross Amount':
Used to work fine, now changing values does not force re-calc ;
Page Effected :
'index . p h p ?option=com_osmembership&view=register'
'< h e a d >< script s r c="/components/com_osmembership/assets/js/paymentmethods . j s" type="text/javascript"></script></h e a d>'
(Corresponding JS - 'components/com_osmembership/assets/js/paymentmethods . j s' - L179 - calculateSubscriptionFee)
In 'Chrome Console' :
'Uncaught ReferenceError: calculateSubscriptionFee is not defined'
'paymentmethods.js:106 Uncaught ReferenceError: OSM is not defined'
'jquery.validationEngine.js:13 Uncaught ReferenceError: OSM is not defined'
I'm suspecting a JS conflict (Or something to do with changing server)- any ideas on what to do.or how to isolate the problem ?
Thanks for a great product,
Cheers - Paulzero.
Last edit: 6 years 7 months ago by Paulzero.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 7 months ago #117662
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Javascript conflict / error - MPRO 2.3.0
Hello Paulzero
Please submit a support ticket sending us super admin account of your site and link to the form
I will check to see what's the reason causing this conflict and get it sorted
However, since we stopped the development for Joomla 2.5 long time ago and your subscription was expired, we could not provide more support like this in the future
Tuan
Please submit a support ticket sending us super admin account of your site and link to the form
I will check to see what's the reason causing this conflict and get it sorted
However, since we stopped the development for Joomla 2.5 long time ago and your subscription was expired, we could not provide more support like this in the future
Tuan
Please Log in or Create an account to join the conversation.
- Paulzero
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
6 years 6 months ago #117777
by Paulzero
Replied by Paulzero on topic Javascript conflict / error - MPRO 2.3.0
Hi Tuan,
Thanks for reply - found conflict & solved problem.
Just one question regarding 'Coupons' : When entering a 'Coupon Code' should the User 'Tab' out of the field after entering 'Coupon Code' (To fire Ajax - onchange) or just wait ?
Could be my server, but sometimes the 'Wait' for fee re-calculation after entering a 'Coupon Code' can be feel very long (3 seconds +).
Thanks again - Cheers - Paulzero.
Thanks for reply - found conflict & solved problem.
Just one question regarding 'Coupons' : When entering a 'Coupon Code' should the User 'Tab' out of the field after entering 'Coupon Code' (To fire Ajax - onchange) or just wait ?
Could be my server, but sometimes the 'Wait' for fee re-calculation after entering a 'Coupon Code' can be feel very long (3 seconds +).
Thanks again - Cheers - Paulzero.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 6 months ago #117780
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Javascript conflict / error - MPRO 2.3.0
Hello Paulzero
Yes, they should move out the field to trigger onchange event for the field to trigger validation coupon process
If it takes that long, I would say that it's server issue. This should not take more than 0.5 seconds (just a simple ajax request to validate the coupon, so it's fast)
Tuan
Yes, they should move out the field to trigger onchange event for the field to trigger validation coupon process
If it takes that long, I would say that it's server issue. This should not take more than 0.5 seconds (just a simple ajax request to validate the coupon, so it's fast)
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc, Giang Dinh Truong, Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.