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.
1 Answer
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.
-
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 gateway Commented 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/… Commented Dec 23, 2015 at 11:39
-
-
@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/… Commented 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.0 Commented Dec 23, 2015 at 11:59