micahaills Posted February 21, 2007 Share Posted February 21, 2007 Does anyone know how to get a drop down menu to display so customers can select their Credit Card Type? Link to comment Share on other sites More sharing options...
Velveeta Posted February 21, 2007 Share Posted February 21, 2007 Does anyone know how to get a drop down menu to display so customers can select their Credit Card Type? You'll have to set this up in the payment module's file itself, for example, authorizenet.php in the includes/modules/payment directory... There's a function in there that draws the payment form, and if there's say, a text input field for their credit card name, you would substitute that for your dropdown menu of credit card names... Make sure that if there's no current way of inputting the card type, and this is a brand new field (rather than swapping out a text input field for a dropdown), that you put the rest of the code necessary to carry that value through the rest of the payment module... Just pick a field that exists, and search for the rest of the instances of it, where it harvests the value from the post variables, etc, and copy them for your new field... Richard. Richard Lindsey Link to comment Share on other sites More sharing options...
micahaills Posted February 21, 2007 Author Share Posted February 21, 2007 You'll have to set this up in the payment module's file itself, for example, authorizenet.php in the includes/modules/payment directory... There's a function in there that draws the payment form, and if there's say, a text input field for their credit card name, you would substitute that for your dropdown menu of credit card names... Make sure that if there's no current way of inputting the card type, and this is a brand new field (rather than swapping out a text input field for a dropdown), that you put the rest of the code necessary to carry that value through the rest of the payment module... Just pick a field that exists, and search for the rest of the instances of it, where it harvests the value from the post variables, etc, and copy them for your new field... Richard. I really appreciate the reply, but sadly that's probably too complicated for my current knowledge of PHP. Thanks Richard, -Micah Link to comment Share on other sites More sharing options...
Guest Posted February 21, 2007 Share Posted February 21, 2007 Does anyone know how to get a drop down menu to display so customers can select their Credit Card Type? what's the point of selecting cc types since the cc number is processed automatically and determines the type? Because you get longer forms and more clicks for the customer. Link to comment Share on other sites More sharing options...
Guest Posted May 1, 2008 Share Posted May 1, 2008 what's the point of selecting cc types since the cc number is processed automatically and determines the type? Because you get longer forms and more clicks for the customer. The point is becuase having a customer "actually having to select" the card type protects against fraud and charge backs etc... I managed to get issue number and CVV2 working on cc mod but cannot figure out how to do the card type drop down, anyone had any luck with this? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.