Solve the The blank page of process_checkout problem in cre because of

some time there is a pull of buffer in php while doing the payment in
so checkout_process.php is not redirect the page to the checkout_success.php

so solve this problem at the end you find

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'order_id='. $insert_id.'&customer_id='.$_SESSION['customer_id'], 'SSL'));

To get the solution of this problem you have declare one variable before all the sessiojn unset in the file

$payment_type_authorize = $_SESSION['payment'];

and then redirect the page with javascript by applying the condition of if(

  if($payment_type_authorize == 'authorizenet') { ?>
<script language="javascript">
  window.location  = " <?php echo tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'order_id='. $insert_id.'&customer_id='.$_SESSION['customer_id'], 'SSL'); ?>";
   tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'order_id='. $insert_id.'&customer_id='.$_SESSION['customer_id'], 'SSL'));


Speak Your Mind

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: