Payment gateways are designed to be highly secure in order to protect both the customer and the merchant. However, no system is perfect and there are always risks associated with using any type of online payment system. Some of the risks associated with payment gateways include fraud, data breaches, and phishing attacks.