Webmoney. Check payments

From ISPWiki

Jump to: navigation, search
  • Delivery address - your company name. You may use random symbols (maximum number is 255); spaces at the beginning and at the end are not allowed.
  • Date and time of the last purse verification - current date and time. "YYYYMMDD HH:MM:SS".
  • Certificate password - key password.
  • Catalogue with keys and certificate, such as /usr/local/ispmgr/etc/wm

The following files must be present in the catalogue

cert.cer - your purse certificate

cert.key - your purse key

wmcert - WM certificate


A WM Keeper Light (X.509) certificate is required

Once the Light certificate has been received and installed , you need to export into the PKCS12 file with .pfx or .p12 extension. This file contains the private key and certificate.[1]

Then you need to convert it into PEM for using CURL. To do that use the openssl utility:

 $ openssl pkcs12 -in 351237877840.pfx -out 351237877840.key -nocerts
 $ openssl pkcs12 -in 351237877840.pfx -out 351237877840.cer -clcerts -nokeys

Thus, we have the files .key and .cer, that will be used when sending requests to w3s.

Please, keep in mind the password that you provided when converting the key into the PEM format.

  • The file with the .key extension needs to be renamed into cert.key
  • The file with the .cer needs to be renamed into cert.cer

Locate the files cert.key, cert.cer and wmcert into the directory specified in the settings. Do not forget to specify the password in the settings.


Add the cron job:

 */2 * * * * /usr/local/ispmgr/sbin/wmbillpayment

If an error occurs, you view the log /usr/local/ispmgr/var/wmbillpayment.log


Notes

  1. Web merchant interface
Was this helpful? Yes | No