Jump to content
Sign in to follow this  
SiteSniffer

[QUESTION] Paypal issues

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...