My application is a website for online purchase. I (php server) will collect client's requests and send them to the processing gateway. The gateway cannot directly talk to the clients, and it requires my authentication details to have communication with me. Because clients need to get immediate response from the gateway while online, so I have to put my authentication details in my server-side php script. I know that's not safe. So how can I make it secure?
Thanks!