Please provide any official documents or any demo/tutorials mode for this (How to make Payment Gateway in Magento 2).

I was referring to http://inchoo.net/magento-2/implementing-payment-gateway-magento-2/ but no success yet.

  • Any Updates At least Provide any official doc from magento side? Dec 17 '15 at 7:20
  • What kind of Payment Gateway you want? Credit Card based? Third party redirection based? or just the payment method as a name(offline)?
    – MagePsycho
    Dec 17 '15 at 8:21
  • I want to make both Third party redirection based or also Credit Card form based Dec 17 '15 at 8:42
  • using Adapter Class, rakeshjesadiya.com/… Jun 5 '20 at 12:14

Below is the URL of a module creator. I hope this will help you.


  • After making zip by this creater and integrate in magento 2 after that clear cache there is no effect not shown in admin panel or not in frontend please suggest Dec 17 '15 at 9:01
  • 1 thing cross check in etc/config your module entry i there or not if not then may be register,php i mised add that fine 2nd point if entry is there then it mean module i installed (to intall module run bin\magento setup:upgrade) and then run bin\magento setup:static-content:deploy to move need js to pub/static folder Dec 17 '15 at 10:19
  • After doing all this there is no reflection i am checked apache error log there is not any error please tell me how to check magento 2 error log? Dec 17 '15 at 13:05
  • That link is not available. Could you fix this? Nov 20 '17 at 5:52
  • @PradeepKumar - The above link is dead. This is the main reason why we should not post link only answers. Apr 30 '18 at 8:18

In order to create Payment integration, it is expected to follow and use API which is located in the Magento/Payment module. There is a Gateway API inside the module which has interfaces and some common implementations.

By using this API, you might be able to implement Remote or Direct Payment integration. In addition to this API, there is a set of UI elements which have to be used to show your custom Payment method under Checkout payment step.

You may also want to check examples and detailed explanation on how to use Payment Gateway API in the Magento 2 Payment Gateway API article. Also, please have a look on how to properly configure Payment Method adapter class in the Magento 2 Payment Gateway Configuration.

Please do not hesitate to contact me or leave a comment with any questions related to Payment implementations.

  • :- this will helps to call api call internally if we need to redirect to other website that is payment gate way website then how to do it , in m1 we use getOrderPlaceRedirectUrl() in M2 its not working , then how to do it in m2 Dec 21 '15 at 3:37
  • i got it to redirect payment gateway website url follow this link stackoverflow.com/questions/33416686/… Dec 21 '15 at 5:00
  • Hi Max pronko, At this time i am stuck in making parameter in magento 2 admin panel i want a dropdown list in magento 2 admin panel in our payment gateway section can you help me ? Dec 21 '15 at 6:27
  • how to Get redirected to our payment gateway page in magento 2? Dec 22 '15 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.