Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: Auto select payment method when you have only one.

Auto select payment method when you have only one. 10 years 6 months ago #7001

Hello,
I'm wondering how can I make the payment to be selected automatically in step 4 of the checkout process. I only have one shipping and payment option in my store at www.pyny.ro the shipping gets selected automatically but the payment is not and i need to wait for the ajax to load the option

Attachment payment.png not found



Thanks.
The administrator has disabled public write access.

Auto select payment method when you have only one. 10 years 6 months ago #7006

Are you sure this option is enabled in virtuemart configuration?

VM Backend >> Configuration >> Checkout >> Enable Automatic Selected Payment?

Also open SHOP >> Payment Method , make sure you actually have one payment method. There might be one more that doesn't show up in the frontend because of the country limitation.

Regards,
Support.
The administrator has disabled public write access.

Auto select payment method when you have only one. 10 years 5 months ago #7314

Hello,
I have only one payment defined and it's published.
I can't find the Enable Automatic Selected Payment in VM ... uploaded 2 pictures with my vm checkout config and payment config.
Thanks
Attachments:
The administrator has disabled public write access.

Auto select payment method when you have only one. 10 years 5 months ago #7331

Hi,

You did the configuration correctly so the 1 payment option should be selected automatically. Just like how it is with the shipping method.

Then i did the same thing in my local machine for testing, weirdly the result was the same. Then i was curious and test it with the original Virtuemart, and guess what?... the result was the same. The 1 single payment method never gets selected automatically. (in my case it was PayPal method without any country restriction)

You can test it by yourself in your website by disabling CleanMart temporarily with renaming this folder:
/templates/YOUR_TEMPLATE/html/com_virtuemart/
to
/templates/YOUR_TEMPLATE/html/com_virtuemart2/

To see if the same situation happens in original Virtuemart without template overriding (CleanMart works based on template overriding).

I don't know if it is a bug or VM developers have decided to eliminate the "automatic payment selection" because it might be against the law in some countries (i don't know if this is the case but some countries are very weird laws for eCommerce websites. this might be the reason.)

People have already been complaining about it on these topics:
forum.virtuemart.net/index.php?topic=96417.0
forum.virtuemart.net/index.php?topic=116066.0

Unfortunately there is not much thing to do in terms of template overriding, because choosing the method and processing the payment calculations are all handled by the VM Core files. Templates show what Virtuemart Core provides.

My suggestion to you to get always the latest VM version. For instance, from your screenshot, i am seeing you are using VM2.0.22c which is a very old version. (but having the latest version also won't solve this current auto selection problem though, because i tested it with the latest VM version in my local machine)

Regards,
Support
Last Edit: 10 years 5 months ago by Support.
The administrator has disabled public write access.

Auto select payment method when you have only one. 10 years 5 months ago #7362

Hi ! I just jumped in to the topic in order to inform you that the trick is to disable the other virtuemart payment options in the plugin manager and keep only the one you use (e.g. Paypal) .
The administrator has disabled public write access.

Auto select payment method when you have only one. 10 years 5 months ago #7377

Hi Alex, i don't understand you meant.
The administrator has disabled public write access.
Time to create page: 0.099 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo