Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Questions on redirection


geo0428

Recommended Posts

The redirection in checkout_confirmation.php is confusing to me. I?m not sure what code is activated when the ?Confirm Order? button is clicked.

Code to set up button:

echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . '</form>' . "\n"

Link to comment
Share on other sites

that's just the code to display the image.

 

What exactly were you looking for?

 

Post a little more above and below that code... also, explain what you want to know exactly.

Link to comment
Share on other sites

that's just the code to display the image.

 

What exactly were you looking for?

 

Post a little more above and below that code... also, explain what you want to know exactly.

 

 

This code is the checkout_confirmation.php.

 

 

<?php

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

$form_action_url = $$payment->form_action_url;

} else {

$form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', '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_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . '</form>' . "\n";

?>

 

Part of my confusion was that I expected to find a link to ?checkout_success.php? because it is the next visible form if every thing goes ok. That is buried in ?checkout process?. I was also wondering what code kept sending me back to the checkout_payment page

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...