SiteSniffer Posted January 20, 2011 Share Posted January 20, 2011 I've already got a Paypal form, works like a charm. Here's my problem:- People order their products, everything stored in $_SESSION's.- Payment page: people click the paypal button- Payed by paypal- Paypal returns to my website (button)I want to store all the data (order products, name, shipping address etc) in a database but I want to do it after payment has been made. Is it possible to check if people actually payed with paypal instead of being a smart guy and go directly to the confirmation pages of my website (so skipping the paypal)? If so, how? Link to comment Share on other sites More sharing options...
chokk Posted January 20, 2011 Share Posted January 20, 2011 Have you used the paypal integration wizard? Link to comment Share on other sites More sharing options...
SiteSniffer Posted January 21, 2011 Author Share Posted January 21, 2011 No I did not. I'm using non-default descriptions for the payment, IE: invoice-number (generated from own database) + selected product + price (generated from own database) + tax (read from own database). The Paypal wizzard doesn't give me such/simular option. Link to comment Share on other sites More sharing options...
chokk Posted January 21, 2011 Share Posted January 21, 2011 Well if you scan through the files generated by the wizard you will notice that paypal generates a token when the payment is complete. If you can access this token, then the user has been forwarded to your site by paypal. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.