Guest Posted February 19, 2003 Share Posted February 19, 2003 hey all I am trying to add a start credit card date, cvv and issue no. to the credit card module 2.2 i add the above in the orders database all ok change catalog/includes/modules/payment/cc.php catalog/includes/classes/cc_validation.php catalog/includes/languages/english/modules/payment/cc.php and then i need to add these lines below in catalog/checkout_process.php 'cc_start' => $order->info['cc-start'], 'cc_cvv' => $order->info['cc_cvv'], 'cc_issue' => $order->info['cc_issue'], then in catalog/includes/classes/order.php $order_query = tep_db_query("select customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, cc_cvv, currency, currency_value, date_purchased, orders_status, last_modified from " . TABLE_ORDERS . " where orders_id = '" . tep_db_input($order_id) . "'"); also add the following lines 'cc_start' => $order['cc_start'], 'cc_issue' => $order['cc_issue'], 'cc_cvv' => $order['cc_cvv'], and then thesefollowing lines 'cc_start' => $GLOBALS['cc_start'], 'cc_issue' => $GLOBALS['cc_issue'], 'cc_cvv' => $GLOBALS['cc_cvv'], when i do i get the error below, even when i set it back still the same error :!: :!: Warning: Cannot add header information - headers already sent by (output started at /home/kit2gocom/public_html/catalog/includes/classes/order.php:523) in /home/kit2gocom/public_html/catalog/includes/functions/general.php on line 29 I am really struggling please help Mark Link to comment Share on other sites More sharing options...
rseigel Posted February 19, 2003 Share Posted February 19, 2003 Start here: http://www.oscommerce.com/community/faq,1-7/q,17 Check all the files that you've changed. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.