My company has a PCI compliant billing gateway and they expose a service for submitting credit card payment details.
I am writing a (Single Page Application/end-to-end javascript) website for them that is on a different domain than this billing gateway so naturally calling this service from javascript in the client (browser) violates the same-origin policy.
In the past, I have used proxies to get around same-origin policy issues. I would like to do something similar in this situation. However, I don't have access to the trusted internal network on which PCI compliant billing gateway resides so I can not put my proxy server there.
Is there such a thing as a reverse proxy that does SSL on both sides? Or how would I go about setting up a PCI compliant proxy solution?