If you were tasked with integrating a new payment gateway, what steps would you take to ensure a smooth implementation?

Situational