1

I want to create a Magento 2 Payment extension. But the thing is which is the best method to create a Payment extension out of below two methods.

  1. Magento 2 Payment Gateway API
  2. Default Magento\Payment\Model\Method\Cc

Magento says Magento\Payment\Model\Method\Cc class is depreciated in Magento 2.2.X versions, but still, Authorize.Net direct payment is using it.

So, please help me to find out the best method.

Thanks

2
  • Magento 2 payment gateway API provides abstract payment gateway. I would recomme d to implement Magento 2 Payment Gateway API. Jan 3, 2018 at 2:41
  • Can i get help magento.stackexchange.com/q/302345/57334 @Meetanshi Thanks
    – zus
    Jan 28, 2020 at 10:08

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.