It looks like you're new here. If you want to get involved, click one of these buttons!
You won't be able to test in local host easily, as paypal has to be able to notify you.
Consider using something like localtunnel:
It works pretty well.
grep is your friend.