Magento 2 Extensions:Saved Credit Cards
Saved Credit Card functionality for Magento 2 is back! Do you need to process credit cards offline or using your card terminal manually? Need to save credit card numbers including the card validation code for orders placed by your customers? Then this is the extension you've been looking for - this is a payment method for Magento that saves credit card information entered in the checkout by your customers encrypted in the Magento database.
Interested in this Magento Extension?
Head over to our store to purchase this extension: Saved Credit Cards (Magento 2)
Got questions? Feel free to contact us! Contact Form
Setting up the extension
- Please refer to our general Extension Installation and Setup Guide for installation instructions.
The extensions configuration section is located at System > XTENTO > Saved Credit Cards. Make sure to enable the module there.
Then, go to Stores > Configuration > Sales > Payment Methods and open the "Saved Credit Cards" payment method. Enable the payment method, and configure the payment method title, as well as other settings such as whether card validation code is required, etc.
You can now use this payment method in the checkout/backend.
Using the extension
Credit card information entered by customers can be seen when viewing an order at Sales > Orders. From the orders details page, you can also wipe the credit card information.
Retrieving CC data programmatically
Credit card information is encrypted using Magentos encryption functions, specifically \Magento\Framework\Encryption\Encryptor::encrypt().
You can decrypt it using \Magento\Framework\Encryption\Encryptor::decrypt().
Credit card information is stored in the sales_order_payment table in the additional_information field, in a serialized manner.