News:

Support the VirtueMart project and become a member

Main Menu

Handoff to paypal never completes

Started by maestroc, March 19, 2019, 23:58:31 PM

Previous topic - Next topic

maestroc

Just updated the site to Joomla 3.9.4 and VM current version (as of March 19- can't remember the version number).  Everything is fine except when the user fills out their information and submits to continue to paypal we get a notice on the page of Please wait while redirecting to paypal and a spinning blue wheel that never finishes connecting (just spins forever).  Any idea what I need to check for this?  Paypal debug info below:

Quote

plgVmConfirmedOrder:
order   number:   WPRK019575

plgVmConfirmedOrder:
Amount/Currency   stored   142.49   paymentcurrency   144   orderusercurrency144

PayPal request::
Array
(
        [cmd]   ⇒   _ext-enter
        [redirect_cmd]   ⇒   _xclick
        [paymentaction]   ⇒   sale
        [upload]   ⇒   1
        [business]   ⇒   XXX
        [receiver_email]   ⇒   XXX
        [order_number]   ⇒   WPRK019575
        [invoice]   ⇒   WPRK019575
        [custom]   ⇒   mkhc5f0jhs0f91qs9nrolk36o3
        [currency_code]   ⇒   USD
        [address_override]   ⇒   1
        [first_name]   ⇒   XXX
        [last_name]   ⇒   XXX
        [address1]   ⇒   616   222nd
        [address2]   ⇒   
        [zip]   ⇒   50060
        [city]   ⇒   Nowhere
        [state]   ⇒   IA
        [country]   ⇒   US
        [email]   ⇒   me@gmail.com
        [night_phone_b]   ⇒   
        [return]   ⇒   https://xyz.com/index.php?option=com_virtuemart&view=vmplg&task=pluginresponsereceived&on=WPRK019575&pm=5&Itemid=202
        [notify_url]   ⇒   https://xyz.com/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=
        [cancel_return]   ⇒   https://xyz.com/index.php?option=com_virtuemart&view=vmplg&task=pluginUserPaymentCancel&on=WPRK019575&pm=5&Itemid=202&lang=
        [rm]   ⇒   2
        [bn]   ⇒   VirtueMart_Cart_PPA
        [no_shipping]   ⇒   0
        [no_note]   ⇒   1
        [image_url]   ⇒   https://xyz.com/images/stories/virtuemart/vendor/
        [item_name]   ⇒   Order   Number:   WPRK019575
        [amount]   ⇒   142.49
)




In the console I get information like this when I attempt it.  The first two appear on page load, the rest after I hit the submit button:

Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
index.php:1 Refused to apply style from 'https://xyz.com/templates/jsn_nuru_pro/ext/vm/jsn_ext_vm.css'; because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
jquery-migrate.min.js?2ac1c1bb696fbecfe50bba98a501e6e9:2 JQMIGRATE: Migrate is installed, version 1.4.1
--------------------------------------

index.php?option=com_virtuemart&view=cart&Itemid=202:487 A parser-blocking, cross site (i.e. different eTLD+1) script, https://ssl.google-analytics.com/ga.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
(anonymous) @ index.php?option=com_virtuemart&view=cart&Itemid=202:487

index.php?option=com_virtuemart&view=cart&Itemid=202:1 [DOM] Found 2 elements with non-unique id #customer_note_field: (More info: https://goo.gl/9p2vKq) <textarea onblur=​"javascript:​updatecustomernote(this)​;​" id=​"customer_note_field" name=​"customer_note" cols=​"60" rows=​"1" class=​"inputbox" maxlength=​"2500">​</textarea>​ <textarea id=​"customer_note_field" name=​"customer_note" cols=​"60" rows=​"1" class=​"inputbox" maxlength=​"2500">​</textarea>​

index.php?option=com_virtuemart&view=cart&Itemid=202:1 [DOM] Found 2 elements with non-unique id #payment_id_5: (More info: https://goo.gl/9p2vKq) <input type=​"radio" class=​"opg-hidden" onclick=​"javascript:​updateaddress(5)​;​" data-dynamic-update=​"1" name=​"virtuemart_paymentmethod_id" id=​"payment_id_5" value=​"5" checked=​"checked">​ <input type=​"radio" data-dynamic-update=​"1" name=​"virtuemart_paymentmethod_id" id=​"payment_id_5" value=​"5" checked=​"checked">​

index.php:1 GET https://xyz.com/index.php?option=com_aworewards&task=cronjs&time=1553036013 500

AH

This has nothing to do with VM imho

It may be due to your template or plugins you are running

Have you tried switching to the default protostar template and testing again?


Regards
A

Joomla 4.4.5
php 8.1

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum