I'm a sysadmin and want to fix one callback script on our website made with CMS.
After many hours of research I clearly identified that the problem is in this code:
$invoiceId = (int) App::getFromRequest("invoiceid");
$postData = [];
$postData["VPSTxId"] = App::getFromRequest("threeDSSessionData");
if (App::getFromRequest("cres")) {
$postData["CRes"] = App::getFromRequest("cres");
} else {
if (App::getFromRequest("PaRes")) {
$postData["PARes"] = App::getFromRequest("PaRes");
$postData["MD"] = App::getFromRequest("MD");
} else {
callback3DSecureRedirect($invoiceId, false);
}
}
More specifically, I think this piece of code is not working as expected:
App::getFromRequest
Can someone explain to me what is App:: in PHP and how is defined?
I understand that "getFromRequest" is the name of this App::
I made the search about App::getFromRequest inside the CMS codes, and I found that many scripts use this, but I can not find where is its definition.
Thank you in advance!