WebMoney Gateway Module

webmoneyIf you want to offer WebMoney as a payment option to your Whmcs cart you need a gateway module that integrates with the merchant.webmoney.ru website. The integration is not quite obvious due the various purses that a merchant may have in the WebMoney account. You may take a look to the module that I build and that it working fine for Whmcs version 5.2.x.

Important! Please note that:
1. The plugin is based on http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=227
2. This is only a sample and you are using it on your own risk.
3. The code is not written by a PHP programmer so it may not be optimal. Feel free to modify it as you like.

How to setup:
1. Modify the webmoney.php file and enter the API URL, API Username and API Password
2. Upload the files to the /your_whmcs_folder/modules/gateways
3. Go to Whmcs Admin -> Setup -> Payments -> Payment Gateways and activate Webmoney module
4. Fill in the required fields
5. When you are ready testing check Show on Order Form and Save Changes.

Download Webmoney Gateway Module.

13 thoughts on “WebMoney Gateway Module

        1. adminwhmcs Post author

          The link does not load. Are you sure you entered the correct API username and password?

          Reply
          1. adminwhmcs Post author

            Make sure the user has API Access rights. If the user is not Full Administrator no API access is allowed. Go to Setup -> Staff Management-> Administrator Users and grant admin rights to the user. Let me know the result.

  1. john thomas

    It can’t work. My account full admin, i creat new accunt but it don’t work.
    @ my ver is more 5

    Reply
    1. Admin Post author

      I’m using this module on Whmcs v5.2.x. Unfortunately, I don’t know why it does not work for you. If the API credentials are correct it should show to the Payment Gateways page.

      Reply
      1. john thomas

        Can you send me your file webmoney.php to my email ? you can change user and pass.
        I use ver 5.2.5 – i want use webmoney
        EX: my whcms have link: abc.com/members
        User: admin – pass: test (Full admin)
        I had set:
        $url = “http://abc.com/members/includes/api.php”; # URL to WHMCS API file
        $username = “admin”; # Admin username goes here
        $password = “test”; # Admin password goes here

        Reply
        1. Admin Post author

          I double checked and the file on the blog is exactly the same as in my Whmcs install with the exception of the $url, $username, $password vars. My guess is still that the API info is not correct or the user has not enough rights. In order to test this, go to hurl.it, enter the API url, choose POST, add one param “username” -> “admin”, another one “password” -> “098f6bcd4621d373cade4e832627b4f6” (md5 of “test” -> http://www.miraclesalad.com/webtools/md5.php) and one more empty param (there is a bug in hurl.it and it does not work without the empty param). If the result is “result=error;message=Command Not Found;” then the API info is correct. If you get “result=error;message=Authentication Failed;” then there is something wrong. Let me know the result.

          Reply
          1. Admin Post author

            Firstly, you should have the “username” param (first cell) with the value “admin” (second cell). The next param is “password” with value “098f6bcd4621d373cade4e832627b4f6”. The last one is empty. I forgot to mention: you need to add the hurl.it IP 23.20.114.54 to the allowed IPs (Setup -> General Settings -> Security API IP Access Restriction -> Add IP). After you finish the test you should remove it.

Leave a Reply

Your email address will not be published. Required fields are marked *