Answer the question
In order to leave comments, you need to log in
Is it possible to get an IP address from following a link?
Is it possible to track the click on the payment link and get the person's IP address? If a person learned about the link from the bot. I think this question belongs to the science fiction section.
Answer the question
In order to leave comments, you need to log in
Yes.
To do this, it is enough to make a layer in the form of your own redirect site.
From simple - send a link to the GET payment as a parameter in the request. Do the necessary actions with the script (log the IP or something else) and redirect to the payment. You can screw something like encoding the URL in base64 so that the average user does not realize that you can go to the URL directly.
From the complex - create an order in the database and pass its ID as a GET parameter. It may be stupidly his id. As well as in the first option, we log user actions. Next, we take the payment URL for this order ID from the database and redirect.
PHP is the easiest way to do this. We take the standard nginx-php-mysql bundle
If you need it in Python, then everything is not difficult here either. We write a simple flask and attach it to battle. It would be best to place it behind nginx as well.
=============
IP of the server is best not to shine. A free domain like tk or ml will help here.
To prevent the IP from being recognized by the domain, you need to put the server behind cloudflare.
=============
All this, not including writing the application, will take literally 15 minutes. The longest of this is waiting for the information about the new domain to appear in cloudflare.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question