Cart Payment option - auto select set, unchecked radio button showing 2.0.21C

Started by rayge, May 30, 2013, 20:35:56 PM

Previous topic - Next topic

maxispin

It didn't work for me either, before I inserted the code in the very beginning of the the select_payment.php.

@ 2.0.22c
VM 3.0.17.6 | VM 2.0.24c | VM 1.1.9

AH

Enable Automatic Selected Payment set to Y

VM now asks for input when only one payment method (paypal) exists

2.0.22e  and 2.0.24 worked fine on 2.0.22c (did not check on D)
Regards
A

Joomla 3.10.11
php 8.0

alatak

Hello

Yes it is a problem with the new payments. If you do not use them, unpublish the sofort payment plugins in the list  joomla plugins.

AH

Alatak

Thanks for the super quick reply

Yes disbaling the (newly enabled by default) sofort payment plugins has fixed it!

Many thanks for the update.

Not sure that these plugins  should have been enabled by default though  ;)
Regards
A

Joomla 3.10.11
php 8.0

jenkinhill

If they aren't enabled new users complain that there are no payment options.........
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

alatak

hello
QuoteIf they aren't enabled new users complain that there are no payment options.........
Yes exactly
QuoteNot sure that these plugins  should have been enabled by default though
and all payment methods should be disabled when not used for performance reasons

For version 2.1 we are going to think about about a better way to do that

AH

LOL

2 replies  8)

I agree with the prob of no plugins enabled. 

However this will be an upgrade for many people and we will (no doubt) get lots of people noticing that the auto select fails (if they only have one payment method) and that will be directly because the upgrade enabled the 2 new sofort payment methods in addition to whatever other plugin was enabled. 

Upgraders will be unlikely to utilise these new methods immediately, but they will notice auto select failing.

Then Jenkin will be constantly pointing posts to this thread for the solution.   ;)
Regards
A

Joomla 3.10.11
php 8.0

alatak

Hello

It is a bug in the Sofort Ideal Payment plugin, that can be solved by unpublishing the payment in joomla.
I have myself more than 20 payment methods on my test site. i did not notice that problem.

hotrod

THis worked  for my by Commenting out..  But it created this email error You must provide at least one recipient email address

And The buyer will not get invoices or confirmations.
Bronze Member
VirtueMart 4.2.4 10922
Joomla!  ‎4.3.4
PHP 8.0

rayge

Wow its been over a year and i installed a new version of the cart TODAY and we still have the SAME ISSUE?
WHY??
My hack doesn't seem to work now either so really we are going backwards?

thanks for any help as to how to resolve this issue yet again. :(


VirtueMart 2.6.6

**UPDATE - 2014-06-02
Here is what i had to do UNTIL there is a more Permanent FIX.
Open the file: plugins/vmpayment/authorizenet/authorizenet.php

after the line
foreach ($this->methods as $this->_currentMethod) {
add
$selected = $this->_currentMethod->virtuemart_paymentmethod_id;

This will set selected to the ID of Auth.net payment method and make the radio be selected.
I Use: Joomla 3.4.1 & VM 3.0.9

cylord

Ok i found a solution.

in virtuemart 2.6.6 using the jquery method to auto check the payment method,

the line

$('input:radio:#payment_id_3').attr('checked','true');

remove

input:radio:

I should look like this :

$document = JFactory::getDocument();
$document->addScriptDeclaration("
   jQuery(document).ready(function($) {
    $('#payment_id_11').attr('checked',true);
   });
");

SCJberry

I know I just resurrected a year old post but I had to thank RAYGE! This worked for me..

Running latest VM3 with OnePage Checkout by PV and using Authorize.net as my only payment option. I was banging my head for hours over this. I couldn't get the radio button checked for anything.

THANK YOU

Quote from: rayge on June 03, 2014, 00:53:11 AM
Wow its been over a year and i installed a new version of the cart TODAY and we still have the SAME ISSUE?
WHY??
My hack doesn't seem to work now either so really we are going backwards?

thanks for any help as to how to resolve this issue yet again. :(


VirtueMart 2.6.6

**UPDATE - 2014-06-02
Here is what i had to do UNTIL there is a more Permanent FIX.
Open the file: plugins/vmpayment/authorizenet/authorizenet.php

after the line
foreach ($this->methods as $this->_currentMethod) {
add
$selected = $this->_currentMethod->virtuemart_paymentmethod_id;

This will set selected to the ID of Auth.net payment method and make the radio be selected.

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/