Secure electronic payment system and method for implementing the system