Does default Magento2 authorize.net payment method save the credit card details?
If yes, then How can we retrieve the credit card details used by authorize.net?
If not, please suggest the best way to achieve so.
authorize.netcredit-cardmagento2
Does default Magento2 authorize.net payment method save the credit card details?
If yes, then How can we retrieve the credit card details used by authorize.net?
If not, please suggest the best way to achieve so.
Best Answer
Yes, you can retrieve credit card details from order.
$order
is of typeMagento\Sales\Model\Order
The following methods get the credit card details: