Design a secure and scalable online payment system that can handle millions of transactions daily. Focus on the architecture for processing transactions, implementing robust security measures, and fraud detection mechanisms. Address challenges like ensuring data consistency across distributed systems and handling currency conversions.