Knowledgebase: Miva Empresa VM
How do I add a Commerce Library on my Miva Empresa Enabled Web Server?
Posted by - NA -, Last modified by Wayne Smith on 16 December 2014 01:22 PM

How do I add a Commerce Library on my Miva Empresa Enabled Web Server?


A Commerce Library is a file that is stored on the server which allows for secure transactions with other website using Miva. Now, because these files are generally shared and stored in a central location on the server, individual merchants usually don't have access to them. They can only be enabled and modified by someone with administrative access to the server. Usually, this would be one of Miva's Hosting Partners (or your host provider). It is a good idea to contact your host provider and ask them to install the commerce library on your server for you.

If your Host Provider needs information on where to get the commerce library files for Miva, they should contact Miva Technical Support directly.


How do I add a Commerce Library on my Miva Empresa Enabled Web Server?


A Commerce Library is a file that is stored on the server which allows for secure transactions with other website using Miva. Now, because these files are generally shared and stored in a central location on the server, individual merchants usually don't have access to them. They can only be enabled and modified by someone with administrative access to the server. Usually, this would be one of Miva's Hosting Partners (or your host provider). It is a good idea to contact your host provider and ask them to install the commerce library on your server for you.

If your Host Provider needs information on where to get the commerce library files for Miva, they should contact Miva Technical Support directly.

For UNIX/Linux Host Providers: Here are some basic instructions for installing commerce libraries. Make sure that you have the commerce libraries available before starting. To get the FTP site, login, and password for the Miva Commerce Libraries, contact Miva Technical Support.

1. Download the Miva Commerce Libraries from FTP.

2. Edit the configuration file for Miva Empresa, mivavm.conf, httpd.conf, httpd-include, file in a text editor. VI is what most people use. The mivavm.conf file is located parallel to the Miva Empresa binary inside the site's CGI-Bin. -note- If Empresa is intstalled globally (Server Safe Mode) the Empresa configuration will be in the apache config file httpd.conf or httpd-include 3. Add the following line to the config file METHOD = Commerce Method Supplied by Miva Corporation. This is CASE SENSITIVE. See METHODs above: COMMLIBNAME.so = The actual name of the Commerce Library file that you have uploaded to the server. mivavm.conf entry example:

<COMMERCE-LIB METHOD = "AuthorizeNet" LIBRARY = "/var/www/site1/cgi-bin/mivavm-v5.06/lib/commerce/authnet-v5.06-linux_glibc2.so"

<COMMERCE-LIB METHOD = "Cybercash" LIBRARY = "/var/www/site1/cgi-bin/mivavm-v5.06/lib/commerce/cybercash-v5.06-linux_glibc2.so"

<COMMERCE-LIB METHOD = "ICS2" LIBRARY = "/var/www/site1/cgi-bin/mivavm-v5.06/lib/commerce/ics2-v5.06-linux_glibc2.so"

<COMMERCE-LIB METHOD = "LinkPoint" LIBRARY = "/var/www/site1/cgi-bin/mivavm-v5.06/lib/commerce/linkpoint-v5.06-linux_glibc2.so

-note- The paths to the files are only an example!

httpd.conf/httpd-include

entry example

SetEnv MvCONFIG_COMMERCE_AuthorizeNet /mivavm-v5.06/lib/commerce/authnet-v5.06-linux_glibc2.so SetEnv MvCONFIG_COMMERCE_CyberCash /mivavm-v5.06/lib/commerce/cybercash-v5.06-linux_glibc2.so SetEnv MvCONFIG_COMMERCE_LinkPoint /mivavm-v5.06/lib/commerce/linkpoint-v5.06-linux_glibc2.so SetEnv MvCONFIG_COMMERCE_ICS2 /mivavm-v5.06/lib/commerce/ics2-v5.06-linux_glibc2.so 4. Save the .conf. (press ESC then shift+: then wq Enter). If you had to edit the apache config file you will have to restart Apache. Those are the steps necessary to complete the installation of a Miva Commerce Library on UNIX/Linux based systems. For Windows Host Providers: Installing commerce libraries on a Miva-Enabled Windows web server tends to be less difficult than on a UNIX/Linux server.

1. The commerce libraries come bundled with Miva Empresa and are located in the Commerce directory. Default location: C:\Program Files\Miva\Miva Empresa

2. Access the Miva VM Tab for the site that needs the commerce library installed. To do this, open the IIS Control Area, right-click on the site that you are working with, click "Properties". 3. In the window that appears, click the tab labeled "Miva VM". There will be a "Libraries" button; click it.

4. In the window that pops-up, click "Add..."

5. In the "Method" field, type the appropriate Method from the list above, then click the browse button next to the field labeled "Library".

6. Browse to the *.dll file that you downloaded to the location specified in step 1, select it, and click "Open".

7. Click "OK," "OK" again, and one more time. Close IIS, and that will comeplete the installation of any Miva Commerce Library on the Windows platform server.


Commerce Library Methods

Payment Gateway/Service
Authorize.net
CertiTax
CyberCash
CyberSource
Global Commerce
First Data Global Gateway (LinkPoint)
Moneris
Paradata
QuickCommerce
VeriSign Payflow Pro

Method
AuthorizeNet
CertiTAX
CyberCash
ICS2
GlobalCommerce
LinkPoint
e-SELECT
Paradata
QuickCommerce
PNTransact
(932 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?