From ISPWiki

Jump to: navigation, search

Billing settings

Before starting to use (MOBI.деньги) you need to provide some parameters. We do not recommend that you adjust settings unless you are an experienced administrator. Following are the settings for the Apache web-server:

Add into the Apache configuration file:

        DocumentRoot /home/billing/data/www/
        SuexecUserGroup billing billing
        CustomLog /home/httpd-logs/mobim.access.log combined
        ErrorLog /home/httpd-logs/mobim.error.log
        SSLEngine on
        SSLCertificateFile /usr/local/ispmgr/etc/mobim/comerce.crt
        SSLCertificateKeyFile /usr/local/ispmgr/etc/mobim/comerce.key
        SSLVerifyClient require
        SSLVerifyDepth 1
        SSLCACertificateFile /usr/local/ispmgr/etc/mobim/ca.crt
        Alias /mobim/ /usr/local/ispmgr/mobim/
        <Directory /usr/local/ispmgr/mobim/>
                Options +FollowSymLinks
                SetHandler directcgi-handler
                AddDefaultCharset utf-8

A separate IP address should be assigned to this VirtualHost.

DocumentRoot, SuexecUserGroup, CustomLog, ErrorLog should have values according to your server settings.

mkdir /usr/local/ispmgr/mobim
ln -s /usr/local/ispmgr/mobim/mobimresult /usr/local/ispmgr/sbin/mobimresult
chmod 4555 /usr/local/ispmgr/mobim/mobimresult
mkdir /usr/local/ispmgr/etc/mobim

Add the certificate and public key into the /usr/local/ispmgr/etc/mobim/ directory.

Make sure to specify the records on your name servers so that ServerName points to your IP address.

Once you have specified all the settings, restart Apache. If you did everything correctly, you will be prompted for a client certificate when trying to open https://ServerName/mobim/mobimresult. settings

The payment application URL in the merchant form - https://ServerName/mobim/mobimresult

Was this helpful? Yes | No
Personal tools