Uncaught TypeError: Object payment_form has no method 'submit'

20.11.2012 22:32
#1
rob499
Joomshopping forum user no avatar
Name: rob
19.01.2012
Сообщения: 4
Quote
Uncaught TypeError: Object payment_form has no method 'submit'

I have a strangs problem, we have installed joomshopping (latest version) and when i buy something and want to pay with paypal, i get the message "Uncaught TypeError: Object payment_form has no method 'submit' "

This is only with paypal, all other pay options not !!

Can someone help me ?

Thanks, Rob


Joomla: 2.58
JoomShopping: latest
 
21.11.2012 07:59
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25922
Quote
Aw: Uncaught TypeError: Object payment_form has no method 'submit'

URL?
login?

 
21.11.2012 20:34
#3
rob499
Joomshopping forum user no avatar
Name: rob
19.01.2012
Сообщения: 4
Quote
Aw: Uncaught TypeError: Object payment_form has no method 'submit'

Hi this is the URL, http://demo4.pcsupport-ijsselstein.nl


Website Url: demo4.pcsupport-ijsselstein.nl
 
21.11.2012 21:30
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25922
Quote
Aw: Uncaught TypeError: Object payment_form has no method 'submit'

Was change in code.
components\com_jshopping\payments\pm_paypal\paymentform.php


original:

<script type="text/javascript">
function check_pm_paypal(){
$_('payment_form').submit();
}
</script>


 
21.11.2012 21:45
#5
rob499
Joomshopping forum user no avatar
Name: rob
19.01.2012
Сообщения: 4
Quote
Aw: Uncaught TypeError: Object payment_form has no method 'submit'

Hi admin,

Nothing is changed in the paymentform.php, still orginal !

Rob

 
21.11.2012 21:55
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25922
Quote
Aw: Uncaught TypeError: Object payment_form has no method 'submit'

Your code

<script type="text/javascript">
function check_pm_paypal(){
('payment_form').submit();
}
</script>

 
21.11.2012 23:59
#7
rob499
Joomshopping forum user no avatar
Name: rob
19.01.2012
Сообщения: 4
Quote
Aw: Uncaught TypeError: Object payment_form has no method 'submit'

Yes, i see !!!!

for some reasson, the $_ is removed by executing !!

any suggestions ?

Rob

 
22.11.2012 08:11
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25922
Quote
Aw: Uncaught TypeError: Object payment_form has no method 'submit'

See other module / plugin / javascript

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.