integration for payment getaway

How to integrate a payment gateway for a dispatch software?

I understand how complicated it is whenever you need to complete a transaction with some technical problems. I hope we can find a system that can do it with one click. Like what I usually play on my desktop/pc, the poptropica app in chrome lets me play with just a click away and it’s for free.