Graveyard666 Posted May 10, 2007 Share Posted May 10, 2007 Here's my problem, I'm using the original OSC MS2.2 cc.php payment module, with small changes to allow for cvv2 When a customer goes thru checkout on the store, everything is fine but once they hit "confirm" the store saves this info into the orders[payment_method] table and I don't know why or where its coming from... Credit Card<br><img src="images/ I can't find any "images" reference like that in any of my checkout pages or class pages. I was thinking the error might be in my classes/order.php page, because of line 177 which is 'payment_method' => $payment, : $this->info = array('order_status' => DEFAULT_ORDERS_STATUS_ID, 'currency' => $currency, 'currency_value' => $currencies->currencies[$currency]['value'], 'payment_method' => $payment, 'cc_type' => (isset($GLOBALS['cc_type']) ? $GLOBALS['cc_type'] : ''), 'cc_owner' => (isset($GLOBALS['cc_owner']) ? $GLOBALS['cc_owner'] : ''), 'cc_number' => (isset($GLOBALS['cc_number']) ? $GLOBALS['cc_number'] : ''), 'cc_expires' => (isset($GLOBALS['cc_expires']) ? $GLOBALS['cc_expires'] : ''), 'cc_cvv2' => (isset($GLOBALS['cc_cvv2']) ? $GLOBALS['cc_cvv2'] : ''), 'shipping_method' => $shipping['title'], 'shipping_cost' => $shipping['cost'], 'subtotal' => 0, 'tax' => 0, 'tax_groups' => array(), 'backorders' => (isset($GLOBALS['backorders']) ? $GLOBALS['backorders'] : ''), 'comments' => (isset($GLOBALS['comments']) ? $GLOBALS['comments'] : '')); any ideas?? what the result of this record in the db, is when I am pulling an order on the admin side, its trying to show the image and makes my admin/orders and admin/invoice pages all out of whack the email sent to the customer after hitting "confirm" is also messed up with a broken image because of this any help would be greatly appreciated jeff Quote Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2007 Share Posted May 10, 2007 In your modified cc.php class file what does the line $this->title = look like? I suspect it's related to this Quote Link to comment Share on other sites More sharing options...
Graveyard666 Posted May 10, 2007 Author Share Posted May 10, 2007 I do not have a /catalog/includes/classes/cc.php file I only have: /catalog/includes/classes/cc_validation.php /catalog/includes/classes/order.php /catalog/includes/classes/payment.php those aren't the ONLY classes I have but the only ones besides paypal that checkout uses In your modified cc.php class file what does the line $this->title = look like? I suspect it's related to this Quote Link to comment Share on other sites More sharing options...
Graveyard666 Posted May 10, 2007 Author Share Posted May 10, 2007 I found it now in my includes/modules/payment/cc.php the line is: $this->title = MODULE_PAYMENT_CC_TEXT_TITLE; and in my english/modules/payment/cc.php file i found a whole line of html image tags, I removed em and viola it works! thanks tom! In your modified cc.php class file what does the line $this->title = look like? I suspect it's related to this Quote Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2007 Share Posted May 10, 2007 no probs - glad it got sorted Tom Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.