Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

payment problem with credit card option


Recommended Posts

Hi, I am having a problem with some customers paying by credit card. They tell me they selected the payment by credit card option yet the order comes through as check/money order with no credit card information included. It has been that way for quite a while every few orders. Now this week- it is defaulting to paypal randomly too. I was thinking maybe they don't click the cc button and that check/money order was the default. Now I am not sure. Is it a customer issue or a OsCommerce issue? Anyone else have this problem?


Many thanks in advance.


Link to comment
Share on other sites

After making some orders myself I see that you must select a payment option- there is no default. Can someone please help me figure out why when a customer enters their credit card info and clicks the credit card button sometimes the orders are processing as paypal or check/money order instead of payment by credit card? Anyone?

Link to comment
Share on other sites

Try google


site:www.oscommerce.com/forums "default payment method"


In checkout_payment.php around line 240 find this code:


for ($i=0, $n=sizeof($selection); $i<$n; $i++) {



Just before it enter this line:


$payment = (!$payment) ? 'cc' : $payment;



where "cc" is the name of the payment module

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile


Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.


For links mentioned in old answers that are no longer here follow this link Useful Threads.


If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites


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

  • Create New...