0

I am creating a sample payment method to experiment with the new Payment Gateway structure magento provides but I have issues trying to render it in checkout. I can see that in Magento's checkout config it appears correctly as an option with the data I want to provide so my data provider seems to be working and I can see that my js file which extends the default component is loaded in the page and if I write console.log(renderList) in my component the array contains the info for my payment method.

However in the methods that get rendered I can not see anything appearing

I can't understand where I went wrong following this guide to render the payment method in checkout or what I am missing. If it was the normal way I'd assume there needs to be an isAvailable function to make it work but how could I do this here?

https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout_payment.html

Since the code is a lot to paste here I'm adding it in a repo in github

https://github.com/ioweb-gr/samplepaymentgateway

The lack of documentation on this is killing me so any help is appreciated.

Your Answer

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

Browse other questions tagged or ask your own question.