Hi Drake,
It depends on the billing software & payment gateway you use. Many billing softwares come with a plugin to verify if the order placed is Genuine OR Fraud. There are different parameters which are used to analyze the status of any order. The same way every Payment Gateway has it's own algorithm to check the authenticity of payment made.
If the order placed OR payment made passes all the checks, the order/payment is processed further.