Setting PayPal return URL to localhost
I'm trying to integrate Paypal and I'm using sandbox in the process. I follow the step of the accepted answer in the below question. Setting PayPal return URL and making it auto return? But when I try to enter the URL, Paypal return the below error. We were unable to validate the URL you have entered. Please check your entry and try again. URL I'm trying to set is http://localhost:8888/paypal/success.php . Also I tried sending the return url with the form as below. <input type="hidden" name="return" value="http://localhost:8888/paypal/success.php"> Both methods does not work for me. Full Form