@ramezlone | Updated 18 Jul. 2018
@Milacurtis | Updated 10 Jan. 2019
I would recommend trying the solutions provided by the eCommerce platforms, in which it could save your human resources and time, and provide you with fast response in the payment procedure. In an eCommerce platform, it usually cooperates with multi-payment gateways and can make a flexible call to the available ones when one gateway is failed to respond during the payment process.
If you want to host and manage the payment gateways on your own website, you can try the API solutions provided by the eCommerce platforms too.
The eCommerce platforms are like Cleverbridge, Comecero, and Avangate.