MOBI.money

From ISPWiki

Jump to: navigation, search

Billing settings

Before starting to use MOBI.money (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:

<VirtualHost 11.11.11.11:443>
        ServerName mobim.domain.com
        DocumentRoot /home/billing/data/www/server.com
        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
        ServerAdmin admin@server.com
        Alias /mobim/ /usr/local/ispmgr/mobim/
        <Directory /usr/local/ispmgr/mobim/>
                Options +FollowSymLinks
                SetHandler directcgi-handler
                AddDefaultCharset utf-8
        </Directory>
</VirtualHost>

A separate IP address should be assigned to this VirtualHost.

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

Execute:
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.

MOBI.money settings

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

Was this helpful? Yes | No
Views
Personal tools