Mission critical systems generally have more testing than others, and PayPal is no different. In addition, PayPal has built-in redundancy and fault-tolerance to prevent bad code, a bad machine, network connection, router, data center, etc. from harming the service we provide to our customers. We have many layers of testing and alerting, so that if something goes wrong, we know almost immediately. If something does make it past all those layers, we have a Site Reliability Engineering (SRE) team and bug tracking system to ensure any customer issue gets the highest attention possible.