Table of Content
- Extension Installation Guide
- Configuration
- Cardsave Direct Payments in Frontend
- Cardsave Payment Details in Order View Backend
- Cardsave Payment Method for Backend Order
- Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
- Login to your SSH and run below commands step by step:
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
- php bin/magento cache:flush
- That’s it.
- Configuration
For configuring the extension, log in to Magento 2, move to Stores > Configuration > Sales > Payment Methods, find the Cardsave Direct Payments to configure.
- Enabled: Enable or disable Cardsave Direct Payments extension from here.
- Title: Enter title for the Cardsave Direct Payments to show in frontend.
- Show Cardsave Logo: Select YES to show Worldpay logo on the checkout page in the frontend.
- Payment Gateway URL Domain: Enter payment gateway URL domain provided by Cardsave payment gateway while registration.
- Sandbox Mode: Set YES to enable sandbox mode for the payment gateway.
- Merchant ID: Enter the merchant ID you have got while registration.
- Password: Enter the password you have got while registration.
- Payment Action: Select one of the payment actions for the payment capture.
- New Order Status: Select the order status to assign to the new orders placed through this payment method.
- Vendor Reference Prefix String: Enter prefix or the orders for the vendor reference of the transactions.
- Credit Card Types: Select the credit cards to allow make payment while using this payment method.
- Payment from Applicable Countries: Select countries to allow use of payment method.
- Debug: Select YES to enable debug.
- Instructions: Enter additional instructions to show on the checkout page in frontend.
- Sort Order: Enter sort order of the payment method.
- Cardsave Direct Payments in Frontend
Once the extension is configured, it can be seen enabled on the frontend. Simply add products to cart and at checkout, you can see payment method enabled. Select it, add card details and click to finish payment and place order.
- Cardsave Payment Details in My Account Section
Immediately after the order is placed, the Cardsave payment details can be seen in order view under My Account section.
- Cardsave Payment Details in Order View Backend
Apart from My Account section, Cardsave payment details can be found in Sales > Orders > Order View section.
- Cardsave Payment Method for Backend Order
Just as the frontend, Cardsave payment method also works with backend orders. Admin needs to create a new order and select Cardsave payment method, add card details and click submit the order to place an order from backend using Cardsave payment method.