View Full Version : Credit Card with CVV2

04-24-2010, 04:00 PM
We use three different payment modules in our store (credit card with CVV, check/money order, and will call with credit card) and have been fighting a problem with customers entering credit card information but clicking the button for the wrong payment type, thus preventing the credit card information from being saved. First we tried reversing the columns in checkout_payment to place the radio buttons immediately in front of (and therefore much closer to) the name for the payment method. Then we tried reordering the payment methods so credit card was listed first, putting the radio button for it far away from the others. We even tried using CSS to highlight alternating payment methods with a somewhat different background color so that the radio buttons are even more clearly associated with the corresponding payment method. After all this we STILL have a problem with customers entering credit card information but selecting the wrong payment method button.

I am hoping this slightly revised version of CC with CVV solves the problem for good. It now inlcudes a short javascript that is activated any time any of the credit card information fields are changed by the customer. The script finds the radio button for the credit card payment method and turns it on thereby selecting credit card as the payment method.

To upgrade from a previous version of Credit Card with CVV simply replace the two cc.php files with the included files. The full install is enclosed for those that need it.

More... (http://addons.oscommerce.com/info/2954)