Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout_Success > Continue Switch it to non-ssl


xearoth

Recommended Posts

Posted

I have seen the problem with after checkout_success hitting continue it takes you back to the index.php and it has the SSL nonsecure displayed? Anybody know how to make that button redirect in non-ssl http please?

Posted

the checkout_success.php has this in the body passing the SSL to the update link

 

<td width="100%" valign="top"><?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?>

 

when it reloads the page at the beginning of the same file will redirect to the index with this

tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string));

 

So you could pass nonssl on the last redirect

tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, NONSSL));

 

but I am not sure how your shop is setup as some stores maintain secure connection as long as the customer is logged in. So be careful what you're changing there.

Archived

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

×
×
  • Create New...