Update: 2026-06-11 19:26:42
This commit is contained in:
@@ -9,7 +9,7 @@ $tipAmount = filterRequest("tipAmount");
|
||||
$countryCode = filterRequest("country_code"); // sent from flutter
|
||||
|
||||
// تحقق من صحة قيمة البقشيش
|
||||
if (!is_numeric($tipAmount) || $tipAmount <= 0 || $tipAmount > 99999999.99) {
|
||||
if (!is_numeric($tipAmount) || $tipAmount <= 0 || $tipAmount > 599.99) {
|
||||
echo json_encode(["status" => "failure", "message" => "Invalid tip amount."]);
|
||||
exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user