Magento 2 Extensions:Saved Credit Cards

From XTENTO Support Wiki
Jump to: navigation, search
This is a guide for Magento 2. This extension is a Magento 2 only extension, we don't offer a version for Magento 1 at this point.

Extension Logo

Contents

Overview

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

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.

Troubleshooting

Personal tools
Namespaces
Variants
Actions
General Information
Magento 1 Guides
Magento 1 Extensions
Magento 2 Guides
Magento 2 Extensions
Magento Integration Suite
Product Feed Guides
Toolbox