I am unable to implement the PCI Compliant third Party Gateway

I am unable to implement the PCI Compliant third Party Gateway in the my app. As there is nothing mentioned in the documentation how we can start the implementation ( What codes we have to code, what routes we have to develop).Please help me in this problem as due to this I am not being able to live my app.
Waiting for earliest response.