Magento2 Custom Payment Gateway Extension – How to Add

magento2payment-gateway

  1. Redirect to Payment Gateway and process payment
  2. Return Back to store success page

Any help will be appreciated. I have followed the Inchoo implementing a payment gateway tutorial But no luck.

Best Answer

The common tutorial for adding custom payment integration is still in process, but you can use sample-module-payment-gateway as an example.

Also, the off dev doc describes how to add a custom payment to the checkout page.

And a new implementation of the Braintree payment method is a good example of best practices for payment integrations.

UPD: Magento team has published payments methods documentation.

Related Topic