dezkit Posted December 2, 2008 Share Posted December 2, 2008 Is it possible so that after a person clicks "donate" on paypal.com and then gets redirected to my thanks page, how do i get the username of the person that donated, his address, etc... Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/ Share on other sites More sharing options...
DeanWhitehouse Posted December 2, 2008 Share Posted December 2, 2008 It would be best to use $_GET and transfer there ID if possible? Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703618 Share on other sites More sharing options...
dezkit Posted December 2, 2008 Author Share Posted December 2, 2008 from paypal.com, not my website Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703627 Share on other sites More sharing options...
DeanWhitehouse Posted December 2, 2008 Share Posted December 2, 2008 Sessions or cookies then? Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703628 Share on other sites More sharing options...
dezkit Posted December 2, 2008 Author Share Posted December 2, 2008 i don't think i can do that with paypal.com, if i tried, i would get sued. Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703632 Share on other sites More sharing options...
DeanWhitehouse Posted December 2, 2008 Share Posted December 2, 2008 I can't think of any other ways. Surely the user will already be logged in, so just check where he came from when he got to that page. Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703635 Share on other sites More sharing options...
dezkit Posted December 2, 2008 Author Share Posted December 2, 2008 I have this technique: 1. Form page 2. Confirmation page (sets sessions) 3. Person buys from paypal 4. Redirected to my thanks page and the sessions get inserted into the database But, i want to know what email the user used to buy! Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703642 Share on other sites More sharing options...
DeanWhitehouse Posted December 2, 2008 Share Posted December 2, 2008 Then save there email in a session, surely that will be fine Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703645 Share on other sites More sharing options...
dezkit Posted December 2, 2008 Author Share Posted December 2, 2008 But i want their email directly from paypal.com, not the form, just to be sure they are using their real one. Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703660 Share on other sites More sharing options...
DeanWhitehouse Posted December 2, 2008 Share Posted December 2, 2008 Not sure if you can get that, have you asked paypal? Quote Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703663 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.