Miva
Install the Miva module for Credit Key
Installing the Module on your Domain
- The name of the module is creditkey.mvc. Extract it from the ZIP file provided, if necessary.
- Log into your Miva Merchant administration backend (for example, https://www.domain.com/mm5/admin.mvc)
- Navigate to Settings > Domain Settings.
- Click on the Modules tab
- Click the Add Module button
- On the next screen, labeled “Add Module”, click the “Upload” button.
- In the popup window, click the “Choose File” button (depending on your browser, the button label may be different.)
- Navigate to the creditkey.mvc file on your hard drive and select it.
- Click the “Upload” button on the popup window.
- The popup window will disappear, returning you to the Add Module screen. Click the “Add” button near the top right.
Assigning the Module to your Store
- Navigate to Settings > Payment Settings.
- Click the “…” button in the upper right, then choose “Add/Remove Modules”
- Locate the Credit Key module. Click the “Install” button inside the its box.
- If you have multiple stores on your domain, repeat steps 1-3 above for each store that you want to integrate with Credit Key.
Configuring the Module
- Go to Settings > Payment Settings and then click the Credit Key tab. It may be located under the “More” tab.
- Choose Staging or Production for the environment you want to use.
- Enter your public and private keys in the appropriate boxes.
- If desired, enter the minimum amounts at which promotional messaging will be displayed on the product detail page (PROD), the basket page (BASK) and during checkout (OSEL).
- Choose an alignment for the promotional messaging: right, left, or centered. This only affects the basket (BASK) page.
- Click the “Update” button in the top right to save your settings.
Create the User Interface Item
This should have been done for you when you installed the module. If not, perform the steps below.
- Click User Interface in the left column.
- Click on the Items tab.
- Click the “Add Item” button
- In the “Code” box, enter “creditkey”.
- Click the “Look Up” button to find the Credit Key module.
- Click the “Add” button to create the item.
Assign the Item to the Pages
This should have been done for you when you installed the module. If not, perform the steps below.
- Click User Interface in the left column.
- Click the Items tab
- Search the Items list for an item with the code “creditkey”
- Click that item to edit it (click under the “Module” column)
- Click the “Pages” tab
- Assign the item to the pages “PROD” and “BASK” using the toggles in the “Assigned” column.
- If you do not see these pages, click the Filters dropdown in the upper right and choose “Show All”.
Editing Placement of the Promotional Messaging
By default, the code for promotional messaging should have been added to the PROD and BASK pages on your store. These are controlled by placing the following tag in your store’s PROD and BASK page templates:
<mvt:item name="creditkey" param="container" />
To check whether this was added, or to move the tag to a new location on the page, perform the following steps:
- Click User Interface in the left column
- Search the page list for “PROD”
- Click “Product Display” – the page with “PROD” as its code
- Search the “Product Display Layout” template (not the main template) for the above tag
- If it’s not there, add it. The suggested location is above the add to cart button
- If you wish to move the tag, you can delete its original location and add it to a new location. The promotional graphic will appear wherever you have added the tag
Nearly identical steps are used for the basket page:
- Click User Interface in the left column
- Search the page list for “BASK”
- Click “Basket Contents” – the page with “BASK” as its code
- Search the “Basket Contents” template (not the main template) for the above tag
- If it’s not there, add it. The suggested location is above the checkout button
- If you wish to move the tag, you can delete its original location and add it to a new location. The promotional graphic will appear wherever you have added the tag
Upgrading the Module on your Domain
The process to upgrade the Credit Key module on your store is similar to the installation process.
- Extract creditkey.mvc from the ZIP file provided.
- og into your Miva Merchant administration backend (for example, https://www.domain.com/mm5/admin.mvc)
- Navigate to Settings > Domain Settings.
- Click on the Modules tab
- In the box labeled “Search Modules...”, type in Credit Key and then click the Enter button.
- Click the entry in the table, in the Name column, where it says “Credit Key”
- On the next screen, click the “Files” tab.
- Click the “Upload” button.
- In the popup window, click the “Choose File” button (depending on your browser, the button label may be different.)
- Navigate to the new version of creditkey.mvc file on your hard drive and select it.
- Check the “Overwrite” checkbox.
- Click the “Upload” button on the popup window.
- The popup window will disappear, returning you to the Edit Module screen. Click the “Update” button near the top right.
Uninstalling the Module from your Store/Domain
Before you can uninstall the module, you will need to archive or delete any orders that use it. See https://docs.miva.com/reference-guide/regular-archiving for more information about archiving orders.
Once that has been done, complete the following steps:
- Click User Interface
- Choose the Items tab
- Search for “creditkey”
- In the Module column, click “Credit Key”
- Click the Pages tab
- Unassign the item from all pages to which it’s assigned
- Click the Item tab
- Click the “…” button and choose Delete Item from the dropdown.
- Go to Settings > Payment Settings
- Click the “…” button and choose “Add/Remove Modules”
- Locate the “Credit Key” box, click the “…” button within its box, and choose “Uninstall”. If you receive any errors, make sure you have completed the steps above.
- Repeat above steps for additional stores, if you have more than one on your domain.
- Go to Settings > Domain Settings.
- Click the Modules tab.
- In the “Search Modules...” box, type in Credit Key and click the Enter button
- Click the entry in the table, in the Name column, where it says “Credit Key”
- In the upper right of the next screen, click the “...” button, and choose “Delete Module”
- If you wish to leave the creditkey.mvc file on your server, uncheck the “Delete module file /mm5/5.00/modules/payment/creditkey.mvc” checkbox. Otherwise, leave it checked.
- Click the orange “Delete” button in the upper right.
Questions? Contact Credit Key Support
Updated over 2 years ago