Magento – Magento 2: In which database table are the payment methods stored

databasemagento2PHP

I'm working on a custom module that uses a database table that have the foreign key of both the payment methods and customer groups. I don't know which database table stores all the payment methods.

My Googling skills couldn't find it.

Best Answer

Payment methods are not stored in the database. Also, customer payment information is not stored in the database. The only exception to this is the Magento Vault but that doesn't sound like what you are asking for and it stores very limited info.

After an order is placed, you can find information regarding transactions in the sales_order_payment table.

Related Topic