contra10 Posted March 2, 2009 Share Posted March 2, 2009 hi im testng my website using paypal sandbox in order to accept payments, does anyon know of a way in which after an amount has been submitted a user could be redrected to another page? Quote Link to comment Share on other sites More sharing options...
br0ken Posted March 2, 2009 Share Posted March 2, 2009 If you haven't already sent any content to the browser use: header("Location: payment-complete.php");[code] Just change payment-complete.php to which ever page you would like to redirect too. If you've already sent some content out you'll have to consider either Javascript or meta redirection. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.