N
N
nepster-web2014-01-15 01:37:07
PHP
nepster-web, 2014-01-15 01:37:07

How to check where the request came from?

Please tell me this moment:
I work with the interkassa and after the operation with the payment, the interkassa sends a request to the interaction url, How can I check if this interkassa really sent the data.
That is, how to check from where (from which ip or domain) did the post or get request come from?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Sokolov, 2014-01-15
@nepster-web

support.interkassa.com
«
When sending a payment notification, the Interkassa Payment Interface service transmits the payment details and a control signature, which allows checking the invariance of the transmitted data. The merchant can perform a data integrity check using a verification signature.
»

N
nepster-web, 2014-01-15
@nepster-web

God saves man, who save himself. I also thought to check where the request came from, you never know. Thank you all very much.

M
MaxNeo, 2016-06-14
@MaxNeo

$_SERVER['HTTP_REFERER'], more details here: php.net/manual/en/reserved.variables.server.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question