VM does not redirect to Paypal after checkout confirmation (V.2)

Started by neo314, August 31, 2016, 00:41:50 AM

Previous topic - Next topic

neo314

I posted in an old thread on this, but I am not sure if it is related to the similar previous issue.

I am using the latest VM and OnePage Checkout plugins on Joomla! 2.5.28.

After confirming purchase I get a blank page with PayPal Standard as the payment method

If I disable OnePage, I get a page that says redirecting to PayPal, but the page does not redirect. There is a functioning PayPal link on the page when OnePage is turned off, but the page still does not forward which I suspect is also why OnePage is failing.

Any advice on fixing this?

I have determined that the vmPaymentForm is being generated but there is absolutely no javascript being generated to submit the form.

GJC Web Design

QuoteI am using the latest VM

How many times have I read that?

from memory.. the redirect is JS so any JS errors
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

neo314


GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

neo314

Joomla! 2.5.28, VM 3.0.16, Using custom template, OnePage and Catproduct. Sorry for the reference failure. I was using virtuemart 3.0.06 and upgraded that and OnePage before posting.

I cannot see any generated JS in source, but I do see JS errors popping up. It uses a local copy of jQuery and it would appear that there is some conflict that arose after upgrading, but that is a guess.

The script section, pre-checkout page is coming out:

<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/media/system/js/core.js" type="text/javascript"></script>
  <script src="/media/system/js/modal.js" type="text/javascript"></script>
  <script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
  <script src="/components/com_onepage/themes/extra/mootools/mootools.noconflict.js" type="text/javascript"></script>
  <script src="/components/com_onepage/themes/extra/jquery-ui/jquery-1.11.2.min.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
  <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js?defer=true" type="text/javascript" defer="defer"></script>
  <script src="/components/com_onepage/themes/extra/jquery-ui/jquery-ui.min.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="http://store_domain.com/components/com_virtuemart/assets/js/jquery.noConflict.js" type="text/javascript"></script>
  <script src="/media/offlajn/jquery.noconflict.js" type="text/javascript"></script>
  <script src="/inc/jQuery/jquery.min.js" type="text/javascript"></script>
  <script src="/plugins/system/jqueryeasy/jquerynoconflict.js" type="text/javascript"></script>
  <script src="/inc/jQuery/jquery-ui.min.js" type="text/javascript"></script>
  <script src="/inc/jQuery/jquery-migrate-1.2.1.js" type="text/javascript"></script>
  <script src="/components/com_onepage/assets/js/onepage.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="/components/com_onepage/assets/js/sync.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="/components/com_onepage/assets/js/vmcreditcard.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="/components/com_onepage/ext/doublemail/js/doublemail.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="/cache/com_onepage/opc_dynamic_en-GB_d65e8b6f90a42b201ad8bbc2091474c0.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="/components/com_onepage/config/dynamic_scripts/opc_states_en_gb_699.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="/components/com_onepage/themes/band_box_custom/tabcontent.js?opcversion=2_0_317_100816" type="text/javascript"></script>
  <script src="/components/com_virtuemart/assets/js/vmsite.js?vmver=9204" type="text/javascript"></script>
  <script src="/plugins/system/jcemediabox/js/jcemediabox.js?version=119" type="text/javascript"></script>
  <script src="/modules/mod_virtuemart_cart/assets/js/update_cart.js?vmver=9204" type="text/javascript"></script>
  <script src="/modules/mod_improved_ajax_login/script/improved_ajax_login.js" type="text/javascript"></script>
  <script src="/modules/mod_improved_ajax_login/themes/elegant/theme.js" type="text/javascript"></script>
  <script src="data:text/javascript;base64,Oyh3aW5kb3cuanExODN8fGpRdWVyeSkoZnVuY3Rpb24oJCl7bmV3IEltcHJvdmVkQUpBWExvZ2luKHsNCmlkOiAxMDMsDQppc0d1ZXN0OiAwLA0Kb2F1dGg6IHt9LA0KYmdPcGFjaXR5OiAwLjQsDQpyZXR1cm5Vcmw6ICcvJywNCmJvcmRlcjogcGFyc2VJbnQoJ2ZmZTJjMnwqfDN8KnxkNWI3N2J8Knw3fCp8Jy5zcGxpdCgnfCp8JylbMV0pLA0KcGFkZGluZzogNCwNCnVzZUFKQVg6IDAsDQpvcGVuRXZlbnQ6ICdvbmNsaWNrJywNCnduZENlbnRlcjogMCwNCnJlZ1BvcHVwOiAxLA0KZHVyOiAzMDAsDQp0aW1lb3V0OiA1MDAwLA0KYmFzZTogJy8nLA0KdGhlbWU6ICdlbGVnYW50JywNCnNvY2lhbFByb2ZpbGU6ICcnLA0Kc29jaWFsVHlwZTogJ3NvY2lhbEljbycsDQpjc3NQYXRoOiAnL21vZHVsZXMvbW9kX2ltcHJvdmVkX2FqYXhfbG9naW4vY2FjaGUvMTAzLWxhbmdlbi1HQi9lMWU0MDM5MGRkMDc2OWMyYzRmMTdlOTQxOWVjMjFhMS5jc3MnLA0KcmVnUGFnZTogJ2pvb21sYScsDQpjYXB0Y2hhOiAnNkxkaXBPVVNBQUFBQUlNQlZqWE44RmJUaDFPY0VjNVJHc1FxT0U0bScsDQpzaG93SGludDogMCwNCmdlb2xvY2F0aW9uOiB0cnVlLA0Kd2luZG93QW5pbTogJycNCn0pfSk7" type="text/javascript"></script>
  <script src="/components/com_onepage/themes/extra/mootools/mootools.noconflict.load.dollar.js" type="text/javascript"></script>
  <script src="/components/com_onepage/themes/extra/mootools/mootools.noconflict.load.dollar.js?defer=true" type="text/javascript" defer="defer"></script>

The checkout page console shows:

ReferenceError: reference to undefined property x.cache[e[x.expando]]jquery.min.js:5:927
ReferenceError: assignment to undeclared variable soonepage.js:4843:8
ReferenceError: assignment to undeclared variable msgonepage.js:953:7
ReferenceError: assignment to undeclared variable w

GJC Web Design

better.. but if you want some help JS debugging you have to supply a url.. JS is browser.. so unless we can open your page there is little more that can be done..

If you suspect it is Rupostel OPC problem then I know Stan provides excellent support
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

fanigliuloa

Good Morning
i have the some problem, someone can reply ?
Thanks