How to make Payment Gateway in Magento 2?












2















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.










share|improve this question

























  • Any Updates At least Provide any official doc from magento side?

    – Ayush Mittal
    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

    – Ayush Mittal
    Dec 17 '15 at 8:42
















2















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.










share|improve this question

























  • Any Updates At least Provide any official doc from magento side?

    – Ayush Mittal
    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

    – Ayush Mittal
    Dec 17 '15 at 8:42














2












2








2


3






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.










share|improve this question
















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.







php magento2 payment






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 30 '16 at 7:21









Tine

4617




4617










asked Dec 17 '15 at 7:01









Ayush MittalAyush Mittal

1951416




1951416













  • Any Updates At least Provide any official doc from magento side?

    – Ayush Mittal
    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

    – Ayush Mittal
    Dec 17 '15 at 8:42



















  • Any Updates At least Provide any official doc from magento side?

    – Ayush Mittal
    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

    – Ayush Mittal
    Dec 17 '15 at 8:42

















Any Updates At least Provide any official doc from magento side?

– Ayush Mittal
Dec 17 '15 at 7:20





Any Updates At least Provide any official doc from magento side?

– Ayush Mittal
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







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

– Ayush Mittal
Dec 17 '15 at 8:42





I want to make both Third party redirection based or also Credit Card form based

– Ayush Mittal
Dec 17 '15 at 8:42










2 Answers
2






active

oldest

votes


















1














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



https://cedcommerce.com/magento-2-module-creator/payment-module






share|improve this answer


























  • 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

    – Ayush Mittal
    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 binmagento setup:upgrade) and then run binmagento setup:static-content:deploy to move need js to pub/static folder

    – Pradeep Kumar
    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?

    – Ayush Mittal
    Dec 17 '15 at 13:05











  • That link is not available. Could you fix this?

    – Purushotam Sangroula
    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.

    – Cyclonecode
    Apr 30 '18 at 8:18



















2














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.






share|improve this answer


























  • :- 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

    – Pradeep Kumar
    Dec 21 '15 at 3:37











  • i got it to redirect payment gateway website url follow this link stackoverflow.com/questions/33416686/…

    – Pradeep Kumar
    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 ?

    – Ayush Mittal
    Dec 21 '15 at 6:27











  • magento.stackexchange.com/questions/94297/…

    – Ayush Mittal
    Dec 21 '15 at 6:28











  • how to Get redirected to our payment gateway page in magento 2?

    – Ayush Mittal
    Dec 22 '15 at 11:18











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f94086%2fhow-to-make-payment-gateway-in-magento-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














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



https://cedcommerce.com/magento-2-module-creator/payment-module






share|improve this answer


























  • 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

    – Ayush Mittal
    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 binmagento setup:upgrade) and then run binmagento setup:static-content:deploy to move need js to pub/static folder

    – Pradeep Kumar
    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?

    – Ayush Mittal
    Dec 17 '15 at 13:05











  • That link is not available. Could you fix this?

    – Purushotam Sangroula
    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.

    – Cyclonecode
    Apr 30 '18 at 8:18
















1














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



https://cedcommerce.com/magento-2-module-creator/payment-module






share|improve this answer


























  • 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

    – Ayush Mittal
    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 binmagento setup:upgrade) and then run binmagento setup:static-content:deploy to move need js to pub/static folder

    – Pradeep Kumar
    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?

    – Ayush Mittal
    Dec 17 '15 at 13:05











  • That link is not available. Could you fix this?

    – Purushotam Sangroula
    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.

    – Cyclonecode
    Apr 30 '18 at 8:18














1












1








1







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



https://cedcommerce.com/magento-2-module-creator/payment-module






share|improve this answer















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



https://cedcommerce.com/magento-2-module-creator/payment-module







share|improve this answer














share|improve this answer



share|improve this answer








edited 30 mins ago









revo

22112




22112










answered Dec 17 '15 at 7:19









Pradeep KumarPradeep Kumar

5,50174377




5,50174377













  • 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

    – Ayush Mittal
    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 binmagento setup:upgrade) and then run binmagento setup:static-content:deploy to move need js to pub/static folder

    – Pradeep Kumar
    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?

    – Ayush Mittal
    Dec 17 '15 at 13:05











  • That link is not available. Could you fix this?

    – Purushotam Sangroula
    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.

    – Cyclonecode
    Apr 30 '18 at 8:18



















  • 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

    – Ayush Mittal
    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 binmagento setup:upgrade) and then run binmagento setup:static-content:deploy to move need js to pub/static folder

    – Pradeep Kumar
    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?

    – Ayush Mittal
    Dec 17 '15 at 13:05











  • That link is not available. Could you fix this?

    – Purushotam Sangroula
    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.

    – Cyclonecode
    Apr 30 '18 at 8:18

















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

– Ayush Mittal
Dec 17 '15 at 9:01





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

– Ayush Mittal
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 binmagento setup:upgrade) and then run binmagento setup:static-content:deploy to move need js to pub/static folder

– Pradeep Kumar
Dec 17 '15 at 10:19





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 binmagento setup:upgrade) and then run binmagento setup:static-content:deploy to move need js to pub/static folder

– Pradeep Kumar
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?

– Ayush Mittal
Dec 17 '15 at 13:05





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?

– Ayush Mittal
Dec 17 '15 at 13:05













That link is not available. Could you fix this?

– Purushotam Sangroula
Nov 20 '17 at 5:52





That link is not available. Could you fix this?

– Purushotam Sangroula
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.

– Cyclonecode
Apr 30 '18 at 8:18





@PradeepKumar - The above link is dead. This is the main reason why we should not post link only answers.

– Cyclonecode
Apr 30 '18 at 8:18













2














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.






share|improve this answer


























  • :- 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

    – Pradeep Kumar
    Dec 21 '15 at 3:37











  • i got it to redirect payment gateway website url follow this link stackoverflow.com/questions/33416686/…

    – Pradeep Kumar
    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 ?

    – Ayush Mittal
    Dec 21 '15 at 6:27











  • magento.stackexchange.com/questions/94297/…

    – Ayush Mittal
    Dec 21 '15 at 6:28











  • how to Get redirected to our payment gateway page in magento 2?

    – Ayush Mittal
    Dec 22 '15 at 11:18
















2














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.






share|improve this answer


























  • :- 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

    – Pradeep Kumar
    Dec 21 '15 at 3:37











  • i got it to redirect payment gateway website url follow this link stackoverflow.com/questions/33416686/…

    – Pradeep Kumar
    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 ?

    – Ayush Mittal
    Dec 21 '15 at 6:27











  • magento.stackexchange.com/questions/94297/…

    – Ayush Mittal
    Dec 21 '15 at 6:28











  • how to Get redirected to our payment gateway page in magento 2?

    – Ayush Mittal
    Dec 22 '15 at 11:18














2












2








2







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.






share|improve this answer















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.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 14 '16 at 10:12









Tine

4617




4617










answered Dec 19 '15 at 16:44









Max PronkoMax Pronko

1,476817




1,476817













  • :- 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

    – Pradeep Kumar
    Dec 21 '15 at 3:37











  • i got it to redirect payment gateway website url follow this link stackoverflow.com/questions/33416686/…

    – Pradeep Kumar
    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 ?

    – Ayush Mittal
    Dec 21 '15 at 6:27











  • magento.stackexchange.com/questions/94297/…

    – Ayush Mittal
    Dec 21 '15 at 6:28











  • how to Get redirected to our payment gateway page in magento 2?

    – Ayush Mittal
    Dec 22 '15 at 11:18



















  • :- 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

    – Pradeep Kumar
    Dec 21 '15 at 3:37











  • i got it to redirect payment gateway website url follow this link stackoverflow.com/questions/33416686/…

    – Pradeep Kumar
    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 ?

    – Ayush Mittal
    Dec 21 '15 at 6:27











  • magento.stackexchange.com/questions/94297/…

    – Ayush Mittal
    Dec 21 '15 at 6:28











  • how to Get redirected to our payment gateway page in magento 2?

    – Ayush Mittal
    Dec 22 '15 at 11:18

















:- 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

– Pradeep Kumar
Dec 21 '15 at 3:37





:- 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

– Pradeep Kumar
Dec 21 '15 at 3:37













i got it to redirect payment gateway website url follow this link stackoverflow.com/questions/33416686/…

– Pradeep Kumar
Dec 21 '15 at 5:00







i got it to redirect payment gateway website url follow this link stackoverflow.com/questions/33416686/…

– Pradeep Kumar
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 ?

– Ayush Mittal
Dec 21 '15 at 6:27





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 ?

– Ayush Mittal
Dec 21 '15 at 6:27













magento.stackexchange.com/questions/94297/…

– Ayush Mittal
Dec 21 '15 at 6:28





magento.stackexchange.com/questions/94297/…

– Ayush Mittal
Dec 21 '15 at 6:28













how to Get redirected to our payment gateway page in magento 2?

– Ayush Mittal
Dec 22 '15 at 11:18





how to Get redirected to our payment gateway page in magento 2?

– Ayush Mittal
Dec 22 '15 at 11:18


















draft saved

draft discarded




















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f94086%2fhow-to-make-payment-gateway-in-magento-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

What other Star Trek series did the main TNG cast show up in?

Berlina muro

Berlina aerponto