Default Payment Methods

  • Posts: 21
  • Thank you received: 0
11 years 6 months ago #99149

Hi, re www.biggerediamonds4less.co.uk ,

I'm trying to make Worldpay the dafault and auto selected payment method but if I leave the settings to AutoSelect it always selects Paypal. Is there a way to set the default method? I've looked everywqhere and can't find it. For the time being I've set it so that the shopper has to select one of the other. Ideally I'd like our preferred method autoselected.

Please Log in or Create an account to join the conversation.

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 6 months ago #99303

Hi,

You simply have to change the ordering of the payment plugins so that Worldpay is the first one via the joomla plugins manager.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
11 years 6 months ago #99312

Hi Nicolas, Thanks for this. I have already done this to change the order of the payment options. However if I let it auto select the default payment option it select Paypal and I need it to select Worldpay.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #99380

Hi,

You can edit the view "checkout / payment" to add a condition in the if:

				if(($this->payment_method==$method->payment_type && $this->payment_id==$method->payment_id)|| ($auto_select_default && empty($this->payment_id)&&!$done)){
					$checked = 'checked="checked"';
					$done = true;
				}
Something like:
$this->payment_name == 'paypal';

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
11 years 5 months ago #103974

Hi, Thanks but I don't get it. I tried adding what you suggested but not sure why I'm doing it. Does it not autoselect the default payment method anyway? I want to make the RBS Worldpay the default method is there an easier way? Before I added Paypal it did indeed autoselect the worldpay! I just need it autoselected and also give the option for PayPal.

Please Log in or Create an account to join the conversation.

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 5 months ago #104011

Hi,

The first one in the ordering will be selected automatically. There is no need to change any code.
Note that you will need to clear your browser cookies/cache to see the change.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
11 years 5 months ago #104083

Hi, as far as I can see Worldpay is the first one in the ordering in the 'payment methods' menu, although Worldpay is number one it has an ID of 10082 and PayPal at number two has an ID of 10014, does this matter?

Please Log in or Create an account to join the conversation.

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 5 months ago #104085

I'm talking about the ordering column of the plugins manager of Joomla, not in the payment methods menu.

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
11 years 5 months ago #104088

Hi Nicolas, please see the picture attached. Worldpay is indeed the first in the ordering!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #104139

Hi,

And have you tried to clear the cache ?

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
11 years 5 months ago #104143

Yes and I've done the same on several other PCs without success. I've just tried it on a fresh iPad and it still selects PayPal

Last edit: 11 years 5 months ago by Andreas.

Please Log in or Create an account to join the conversation.

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 5 months ago #104279

I checked your website and it seems that you turned off the option "Auto select default shipping and payment methods" of the configuration.

Please make sure that this option is on or the first payment method won't be automatically selected.

The following user(s) said Thank You: Andreas

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
11 years 5 months ago #104281

Hi Nicolas, I set "Auto select default shipping and payment methods" to YES and cleared the cache PayPal is still selected. Can you try at your end so you can see this yourself? You won't have to buy a Diamond ring!

Please Log in or Create an account to join the conversation.

  • Posts: 82728
  • Thank you received: 13343
  • MODERATOR
11 years 5 months ago #104289

On my end, Worldpay is now selected by default on your website.

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum