Magento headless | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Magento headless

Is there someone experiences here who can help me with the magento 2 api. I am trying to checkout a shopping-cart but it dosnt seem to provide support for any other method besides banktransfer. How do i redirect a user to the paymant gateway and tell magento to look for its completion. I am following the tutorial in the documentation of magento 2 but they never show the way if you want to use a online payment gateway. If anyone could help me i would be really thankfull.

5th May 2019, 7:40 AM
Dragonxiv
Dragonxiv - avatar
2 Answers
+ 1
Are you using Order Management? https://magento.com/products/order-management What does your online payment gateway documentation say about its API?
5th May 2019, 7:44 AM
Gordon
Gordon - avatar
0
Im using this tutorial and im stuck at step 7. https://devdocs.magento.com/guides/v2.3/rest/tutorials/orders/order-create-order.html They are using banktransfer but i want to use pay-pal and other gateways. Their pages just say they can be integrated with magento directly. But than the magento frontend would handle it. But i want to do it headless and build my own frontend. And nearly everything is suported. Except the step for how to add a paymant gateway.
5th May 2019, 11:17 AM
Dragonxiv
Dragonxiv - avatar