Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Better Credit Card Module - Show those accepted


boss hoss

Recommended Posts

Posted

I'm looking for a better credit card method than provided stock. I have to edit the ccvalidation.php file to accept different credit cards, but why isn't it possible to toggle these through the admin GUI?

 

Also, I'd like under the credit card payment on the checkout process to show icons for those cards accepted based on the ccvalidation file, or a better credit module.

 

Has anyone hacked in a solution for this? A simple if then to show the VISA gif if accepted?

Posted

wow..this support site is busy.TOO BUSY. seems it might be time for a better break out of forums so folks can get responses versus having a new topic show up on page 3 in 8 hrs. You know like support forum for shipping separate from payment etc? These would be subforums of course.

 

for anyone who finds this..I've at least put in a payment icon in the credit card payment module:

 

Open checkout_payment.php

 

Find

 

<td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td>

 

and replace with

 

<td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b> <?php if( $selection[$i]['module'] == "Credit Card" ) {?> <img src="images/pixel_trans.gif" width="85" height="10"><img src="images/paymentcards.jpg" align="texttop"><?php }?> </td>

 

where

 

images/paymentcards.jpg is a 60 pixel high image of the credit cards accepted (eg Visa-MC-Discover)

 

its a code hack yes, but it serves the purpose. be much nicer if a contribution were created.

  • 1 year later...
Posted
wow..this support site is busy.TOO BUSY. seems it might be time for a better break out of forums so folks can get responses versus having a new topic show up on page 3 in 8 hrs. You know like support forum for shipping separate from payment etc? These would be subforums of course.

 

for anyone who finds this..I've at least put in a payment icon in the credit card payment module:

 

Open checkout_payment.php

 

Find

 

<td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td>

 

and replace with

 

<td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b> <?php if( $selection[$i]['module'] == "Credit Card" ) {?> <img src="images/pixel_trans.gif" width="85" height="10"><img src="images/paymentcards.jpg" align="texttop"><?php }?> </td>

 

where

 

images/paymentcards.jpg is a 60 pixel high image of the credit cards accepted (eg Visa-MC-Discover)

 

its a code hack yes, but it serves the purpose. be much nicer if a contribution were created.

Cheers, just what I was looking for :)

~bobsi18~

Posted

Hi same here..

This would be a nice contribution. One can improve it by adding radio buttons so that the client can choose the card required...

 

Is there already a contrib similar to this :rolleyes:

Archived

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

×
×
  • Create New...