risonav Posted June 4, 2003 Posted June 4, 2003 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
risonav Posted June 4, 2003 Author Posted June 4, 2003 oops. I spelled "confirmation" wrong in the subject line... how embarrassing :oops: Jen
risonav Posted June 4, 2003 Author Posted June 4, 2003 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
risonav Posted June 5, 2003 Author Posted June 5, 2003 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.