Jump to content

What Sshould I Do?


adam84

Recommended Posts

I have a site where a user logs in and can buy something. They click a link and the page goto to paypal to preform the transaction, after the transaction has been approved, they get redirected back to my site (Paypal sends the information back through GET). On the page where they get redirected, I preform some database work to store some information that was sent back to me from paypal, just to log what they bought and other information like that.

 

Where I get a little confused is after that page runs, they move onto the next page, but if they click the back button, I dont want the information to repeat itself again in the database. I am not sure what to do to prevent this from happening. Is there a special practice or idea stopping this from happening..? Thanks for your help.

Link to comment
https://forums.phpfreaks.com/topic/214102-what-sshould-i-do/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.