Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

checkout_conformation.php manual entry code?


Guest

Recommended Posts

I have this code after the end of footer in checkout_conformation.php.

Its visibale on my site (you can see the code on the checkout page) can I move or delete it?

I think I remember adding it as part of a contribution but it was a while ago and I cant remember which contribution!

 

 

//manual entry

<br>

 

<?php

$login_query = tep_db_query("select p.spg_man_key, p.spg_man_key3, p.status from " . TABLE_SPG_MANUAL_INFO . " p where p.spg_man_key3 = '" . $osCAdminsID . "' and p.status != '0' and p.spg_man_key = '" . $spg_man_key . "' ");

if (!tep_db_num_rows($login_query)) { // product not found in database

} else {

echo 'validkey OK : ' ;

if (isset($payment->form_action_url)) {

$form_action_url = $payment->form_action_url;

} else {

$form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS_ADMIN, '', 'SSL');

}

echo tep_draw_form('checkout_confirmation', $form_action_url, 'post');

if (is_array($payment_modules->modules)) {

echo $payment_modules->process_button();

}

echo tep_image_submit('button_admin_submit.gif', '') . '</form>' . "\n";

}

?>

 

//manual entry

Link to comment
Share on other sites

I have this code after the end of footer in checkout_conformation.php.

Its visibale on my site (you can see the code on the checkout page) can I move or delete it?

I think I remember adding it as part of a contribution but it was a while ago and I cant remember which contribution!

//manual entry

<br>

 

<?php   

  $login_query = tep_db_query("select p.spg_man_key, p.spg_man_key3, p.status from " . TABLE_SPG_MANUAL_INFO . " p where p.spg_man_key3 = '" . $osCAdminsID . "' and p.status != '0' and p.spg_man_key = '" . $spg_man_key . "' ");

  if (!tep_db_num_rows($login_query)) { // product not found in database

} else {

echo 'validkey OK : ' ;

if (isset($payment->form_action_url)) {

    $form_action_url = $payment->form_action_url;

  } else {

    $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS_ADMIN, '', 'SSL');

  }

  echo tep_draw_form('checkout_confirmation', $form_action_url, 'post');

  if (is_array($payment_modules->modules)) {

    echo $payment_modules->process_button();

  }

  echo tep_image_submit('button_admin_submit.gif', '') . '</form>' . "\n";

}

?>

 

//manual entry

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...