feat: refactor callback

This commit is contained in:
2026-05-19 18:21:39 +03:00
committed by Git Moneta
parent 23f73da573
commit 36838d136a
5 changed files with 63 additions and 63 deletions
@@ -66,7 +66,7 @@ trait PayAnyWay
if (!isset($_REQUEST['MNT_TRANSACTION_ID'])) {
return null;
}
$transactionIdData = explode($this->transactionIdDelimiter, $_REQUEST['MNT_TRANSACTION_ID']);
$transactionIdData = explode($this->transactionIdDelimiter, $_REQUEST['MNT_TRANSACTION_ID'], 2);
return isset($transactionIdData[0]) ? (int)$transactionIdData[0] : null;
}