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! 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? 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 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? 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. 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. 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! 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 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. 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? Link to comment https://forums.phpfreaks.com/topic/135081-php-paypal/#findComment-703663 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.