jrobles Posted January 4, 2010 Share Posted January 4, 2010 I have a paypal checkout form that I use to collect payments on my website. I am having a difficult time passing variables to paypal, and my question is how can I add form field data to a session before the paypal form takes the customer to the paypal site? Quote Link to comment https://forums.phpfreaks.com/topic/187173-session/ Share on other sites More sharing options...
mikesta707 Posted January 4, 2010 Share Posted January 4, 2010 session_start(); $_POST['whatever'] = $_SESSION['whatever']; thats the basic idea Quote Link to comment https://forums.phpfreaks.com/topic/187173-session/#findComment-988389 Share on other sites More sharing options...
jrobles Posted January 4, 2010 Author Share Posted January 4, 2010 thanks, so this will capture the form data before it goes to the paypal site? Quote Link to comment https://forums.phpfreaks.com/topic/187173-session/#findComment-988404 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.