paypal api php return url help
Hi
I have created a site that when users are logged in, they click a link which takes them to PayPal to pay and then returned to a form page to fill out a job advert, it all works perfect apart from one little issue I have
after they submitted the job advert form and is added to the db, they close the page after logging out and then open that page again, they can add another job advert again without paying so was seeing if there is any coding that checks if they have not paid and it redirects them to a error page if they not paid and try accessing the job advert form page
Hope that makes sense
This is the script I am using that works apart from the return url issue where they can access the return url again without paying so need a way of checking if the user has paid or not
http://www.sanwebe.com/2012/07/paypa...ckout-with-php
Thank you in advance
Ian