Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Default selection of payment method


64sp

Recommended Posts

Posted

Can somebody help me ?

I have 2 shipping methods available on the shop (economy and next day) and when the customer first arrives at the checkout_shipping.php page the economy method is selected by default. Obviously customer can hover over "next day" row and click to select it, but if they are happy with economy they just carry on.

 

I then have several payment methods available on the following page checkout_payment.php (credit card, cheque, fax cc info and paypal) but there is not one selected by default, the customer has to physically select one before they can move on.

 

I understand in some circumstances it may be preferable to require a positive select action from the customer when choosing payment but the problem i find is that as most customers pay by credit card, they fill in the cc fields but do not first select this as the payment method. When they try to continue they get thrown back to the page telling them they have not selected a payment method. As they have filled all of the fields out this confuses (some of) them. Worst still, having filled out the cc fields some customers on their way down the page to find the continue button accidentally click on the page, inadvertently selecting another payment option such as cheque and their order comes through to us without their cc details and we sit waiting for their cheque to arrive (which never comes!).

 

So the question after that long intro is.....does anyone know how to make cc payment a default pre-selected payment method as happens with the shipping modules ?

 

I'm OK with the PHP side of things but it looks like the pre-selection of the cc row to highlight it and check the radio button is done via the javascript......and i'm no good at javascript !

***************************************

I've been contemplating thinking about thinking

***************************************

Posted

Thanks for that really appreciate it......I have just tried it and it worked perfectly !

***************************************

I've been contemplating thinking about thinking

***************************************

Posted

Quite welcome... I added it as well and it works perfectly! Very easy fix and no more error message that cause customers to panic and go away. :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...