News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

redirect to paypal - Uncaught TypeError: Cannot call method 'submit' of undefine

Started by ZeroKewl, September 12, 2013, 15:43:44 PM

Previous topic - Next topic

ZeroKewl

hi there,
I have an error with the redirect to paypal after confirmation the order by clicking the buy button. The page, that appears has a damage layout and shows the standard-button ,,please wait for redirect".
but nothing happens. (By clicking on that button, the procedure works.)

After checking the sourcecode I have found:
- the html-code ist damage
- the code exists two times
- the following error-message:
Uncaught TypeError: Cannot call method 'submit' of undefined mein-warenkorb:115
Uncaught TypeError: Cannot call method 'submit' of undefined mein-warenkorb: 597

Any Ideas?

Thanks in advance

(system: j2.5.14 / vm 2.0.22b)

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

ZeroKewl

hi maxim

an url does'nt exists. for that your have to make an order. the site url is: innerwise.com.
please type in the cards customfield "admin test order"

I have attached an textfile with the source of the redirecting-page.

standard vm payment method? I believe so, but I am not sure.

[attachment cleanup by admin]

alatak

Hello
I think your problem comes from your template.
When i open the console i see the error Uncaught TypeError: Cannot call method 'submit' of undefined mein-warenkorb:115
comes from that code:
                 
                 _kwicks_proto_init('#kwicks-menu');
                 
                 
          });</script>


and as you said that code is loaded twice.

And it looks like that the code to autosubmit the form has been removed

Check your template.