Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP ME!! NO RECORDS OF ORDERS


quomo

Recommended Posts

It seems that there is no records whatsoever of new orders after adding a new module. Can somebody please let me know what instruction carries the info of the shopping cart contents (and how is updated) and to which page should I link after the transaction with CLIKPAY has been made? (currently linked to checkout_success.php)

 

This is the info Im carrying:

$sequence = rand(1, 1000);

$process_button_string = tep_draw_hidden_field('clikpay_id', MODULE_PAYMENT_EUROCONEX_LOGIN) .

tep_draw_hidden_field('card_number', $this->cc_card_number) .

tep_draw_hidden_field('card_exp_date', $this->cc_expiry_month . substr($this->cc_expiry_year, -2)) .

tep_draw_hidden_field('amount', number_format($order->info['total'], 2)) .

tep_draw_hidden_field('customer_id', $customer_id) .

tep_draw_hidden_field('tep_session_name', $osCsid) .

tep_draw_hidden_field('billto_firstname', $order->customer['firstname']) .

tep_draw_hidden_field('billto_lastname', $order->customer['lastname']) .

tep_draw_hidden_field('billto_address', $order->customer['street_address']) .

tep_draw_hidden_field('billto_city', $order->customer['city']) .

tep_draw_hidden_field('billto_postalcode', $order->customer['postcode']) .

tep_draw_hidden_field('billto_country', $order->customer['country']['title']) .

tep_draw_hidden_field('billto_phone', $order->customer['telephone']) .

tep_draw_hidden_field('billto_email', $order->customer['email_address']) .

tep_draw_hidden_field('shipto_first_name', $order->delivery['firstname']) .

tep_draw_hidden_field('shipto_last_name', $order->delivery['lastname']) .

tep_draw_hidden_field('shipto_address', $order->delivery['street_address']) .

tep_draw_hidden_field('shipto_city', $order->delivery['city']) .

tep_draw_hidden_field('shipto_postalcode', $order->delivery['postcode']) .

tep_draw_hidden_field('shipto_country', $order->delivery['country']['title']) .

tep_draw_hidden_field('order_status', $order->info['order_status']) .

tep_draw_hidden_field('cart_id', $cartID) .

tep_draw_hidden_field('customer_ip', $HTTP_SERVER_VARS['REMOTE_ADDR']) .

$this->InsertFP(MODULE_PAYMENT_EUROCONEX_CLIKPAY_ID, number_format($order->info['total'], 2), $sequence);

if (MODULE_PAYMENT_EUROCONEX_TESTMODE == 'on') $process_button_string .= tep_draw_hidden_field('x_Test_Request', 'TRUE')

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...