Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout_Conformation Refresh?


risonav

Recommended Posts

Posted

I have been having trouble with the checkout for PayPal. Unless the user hits "refresh" on the checkout_confirmation page, the "confirm order" button will only take them to www.paypal.com and not the paypal payment page.

 

Is there a way to do an automatic refresh on the checkout_confirmation page so they will be directed to the right place every time?

 

Thanks for your help.

 

www.airplanecamping.com

Jen

Posted

I added this code:

 

<?php

//  refresh / re-direct without delay

//  ---------------------------------

header

( 'location:https://host13.ipowerweb.com/~risonavc/catalog/checkout_confirmation.php' );

?>

 

and now the PayPal stuff works great. The only thing is I get an error on the checkout_confirmation page that says:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/risonavc/public_html/catalog/includes/modules/payment/paypal.php:138) in /home/risonavc/public_html/catalog/checkout_confirmation.php on line 103

 

Jen

 

www.airplanecamping.com

Jen

Posted

So after reading the other posts in this forum I saw that I needed to make sure there were no "white spaces" in those pages. After taking those spaces out, I now get the error:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/risonavc/public_html/catalog/checkout_confirmation.php:88) in /home/risonavc/public_html/catalog/checkout_confirmation.php on line 94

Anyone know what is wrong?

 

Thanks :)

Jen

Archived

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

×
×
  • Create New...