diff --git a/functions-test.php b/functions-test.php index 10c950e..2301f71 100644 --- a/functions-test.php +++ b/functions-test.php @@ -259,8 +259,8 @@ function reject_kyc($IDkyc, $IDuser, $reason, $bToken, $Admin_UserId) $postfields = '{ "from_id":"' . $Admin_UserId . '", "to_id":"' . $IDuser . '", - "title":"KYC Denied!!", - "message":"Your KYC got Rejected because ' . $reason . '.", + "title":"KYC Application Denied.", + "message":"Your KYC Application was rejected due to the following reason/s: ' . $reason . '.", "status":"new" }'; @@ -335,8 +335,8 @@ function accept_kyc($IDkyc, $IDuser, $reason, $bToken, $Admin_UserId) $postfields = '{ "from_id":"' . $Admin_UserId . '", "to_id":"' . $IDuser . '", - "title":"KYC Accepted!!", - "message":"Greetings!! ' . $reason . '.", + "title":"KYC Application Accepted.", + "message":"Greetings! ' . $reason . '.", "status":"new" }'; diff --git a/users/update-kyc.php b/users/update-kyc.php index 147bc61..f759cc5 100644 --- a/users/update-kyc.php +++ b/users/update-kyc.php @@ -20,7 +20,7 @@ if (isset($_GET['kycID'], $_GET['userID'], $_GET['isAccepted'])) { $BearerToken = $_SESSION['token']; if ($isAccepted) { - $reason = 'Congratulations, Your KYC got accepted !!'; + $reason = 'Congratulations, Your KYC Application got approved'; // If isAccepted is true, call accept_kyc function if (accept_kyc($kycID, $userID, $reason, $BearerToken, $user_id)) { // If accept_kyc is successful, redirect to users-kyc.php