I am working on the Magento 2 payment gateway. The backend is completed but in frontend we stuck for getting the Magento 2 customer detail and post it to our 3rd party API. Please suggest.
asked Dec 23, 2015 at 10:46
Ayush Mittal
5352 gold badges8 silver badges16 bronze badges
1 Answer 1
To implement payment gateway on Magento 2, I would recommend you to use the following reference:
http://inchoo.net/magento-2/implementing-payment-gateway-magento-2/
This is simple in words and also a best solution to solve your problem.
answered Dec 23, 2015 at 11:02
Fayyaz Khattak
2,1103 gold badges19 silver badges26 bronze badges
-
1I already read it it is not working position and it is based on filling card details on magento end i want to make redirection based payment gatewayAyush Mittal– Ayush Mittal2015年12月23日 11:14:46 +00:00Commented Dec 23, 2015 at 11:14
-
@AyushMittal this is exactly what you need, POST the customer data by using hidden html form. Here is the complete reference: junaidbhura.com/…Fayyaz Khattak– Fayyaz Khattak2015年12月23日 11:39:30 +00:00Commented Dec 23, 2015 at 11:39
-
This solution is not for the magento 2 :(Ayush Mittal– Ayush Mittal2015年12月23日 11:46:40 +00:00Commented Dec 23, 2015 at 11:46
-
@AyushMittal then I would suggest using an API based method which POST customer data using CURL method in PHP. Follow the link as I tested this method personally in different areas of development: excellencemagentoblog.com/blog/2012/05/01/…Fayyaz Khattak– Fayyaz Khattak2015年12月23日 11:49:29 +00:00Commented Dec 23, 2015 at 11:49
-
@ Fayyaz i already implemented all magento 1.x methods but in magento 2.0 it doesn't works :( you share me doc of magento 1.x not for magento 2.0Ayush Mittal– Ayush Mittal2015年12月23日 11:59:34 +00:00Commented Dec 23, 2015 at 11:59
default