cancel
Showing results for 
Search instead for 
Did you mean: 

Building a Custom Payment Gateway

Building a Custom Payment Gateway

Hi all,

 

I'm just getting started on developing for Magento 2, and I've been tasked with building a custom payment gateway for a specific local payment processor. Unfortunately, through the research I've been doing the past week or two, I've come to the realization that there is very little documentation regarding building a custom payment gateway with the new, non-deprecated approach offered by Magento 2.

 

In fact, I believe that all the tutorials I've found, excluding the official devdocs (which seem to just skim through the process), still use the deprecated \Magento\Payment\Model\Method\AbstractMethod or the deprecated \Magento\Payment\Model\Method\Cc.

 

So I was wondering if anyone can point me to any tutorial or study material which I can use to properly build this module. I've checked the other posts that bring up the same issue, but most of them have been posted for a long time, and they all have deprecated answers. So thanks for reading and thanks in advance for any help I receive.