Hi,
I have created custom payment gateways, and activated standard gateways. I have extensive experience with Javascript and PHP, and I am confident I can fix your problem.
I would love the opportunity to look at your code, and get your payment gateway working!