How do I configure gift card settings for Magento 2?

Note: For guidance on how you configure your gift card settings for Magento 1, visit How do I configure gift card settings for Magento 1?

Using our Payment extension, your customers can use gift cards to pay for the goods and services they buy from your Magento store.

When you configure the gift card settings, you can apply the following:

  • Title – This is the title of your gift card section, which your Magento store displays to the customer in the shopping cart. You can change the title to suit your business.
    Example title - Gift Card Code
  • Max Length – This is the maximum number of characters that your customers can type in the gift card section in the shopping cart.
  • Cache lifetime – This is the interval at which Magento sends balance inquiries to our Payment Platform. When a customer enters a gift card number and clicks Add Gift Card, Magento does the following:
    • Checks with our Payment Platform if the gift card has sufficient funds to pay for part of, or all of the transaction.
    • Stores the response in its cache.
    • When the cache lifetime resets, Magento checks again with our Payment Platform if the gift card has sufficient funds to pay for part of, or all of the transaction.
  • When the customer completes their order, Magento checks again with our Payment Platform before capturing the funds, this is part of Magento’s fraud protection.
  • PIN – Enable this option to accept gift cards with a PIN. When using a gift card without a PIN, customers leave the PIN (if available) field empty.
    Example of Gift Card entry with PIN enabled

How to configure gift card settings

  1. Log on to Magento Admin.
  2. From the side menu, select STORES.
  3. Magento Admin dashboard
  4. From the Stores menu, select Configuration.
  5. Stores menu
  6. From the Configuration page, navigate to Cayan (Gift Card) settings:
    1. Select SALES to expand the SALES submenu.

    2. Configuration menu
    3. Select Cayan Gift Card.
    4. SALES menu
  7. Configure your gift card settings:
    1. From the Enable drop-down menu, select Yes.
    2. Type the Title to display in the gift card section of the checkout.
    3. Type the Max Length of the gift card numbers you want to accept in your Magento store.
    4. Type the Cache Lifetime. Magento Admin measures the cache lifetime in seconds, for example, if you want a cache lifetime of 15 minutes, type 900.
    5. (Optional) From the PIN drop-down menu, select Yes to accept gift cards with PINs.
    6. Cayan (Gift Card) settings
    7. Click Save Config.
  8. Note: Magento Admin completes the API URL by default. Do not edit or delete the API URL.

Modified on: Mon, 7 Jan, 2019 at 8:18 AM