M-Pesa you never have to check
Send the prompt to the customer's phone, or pick their payment from the checkout list the moment it lands. A code typed by hand is marked “Typed, not checked” until Safaricom confirms it, so a fake message gets nowhere.