WebMoney post the account statement
From ISPWiki
- Delivery address - your company name (you may provide any information). The line can contain 0 to 255 symbols; no spaces in the beginning and at the end.
- Date and time when the purse was last checked - enter the current date and time: "YYYYMMDD HH:MM:SS".
- Certificate password - key password.
- Directory with keys and certificates, such as /usr/local/ispmgr/etc/wm
The directory must contain the following files:
cert.cer - your purse certificate
cert.key - your purse key
wmcert - WM certificate
You need to have a WM Keeper Light (X.509) certificate
- Root certificate https://www.wmcert.com/Cert/WebMoneyCA.crt. Rename it into wmcert.
- Work with the WM Keeper Light (X.509) certificates
Once received and installed the Light certificate into the browser, you need to export it into a file in the PKCS12 format with .pfx or.p12. extension. This file contains the private key and the certificate.
Then you need to convert it into the PEM format to work with CURL. To do that, use an openssl utility from the package with the same name:
$ openssl pkcs12 -in 351237877840.pfx -out 351237877840.key -nocerts $ openssl pkcs12 -in 351237877840.pfx -out 351237877840.cer -clcerts -nokeys
We get the .key and .cer files, that will be used when accessing w3s.[1]
Remember the password that you have provided when converting the key into the PEM format.
- .key file should be renamed into cert.key
- .cer file should be renamed into cert.cer
Place the cert.key, cert.cer and wmcert files into the directory specified in settings. Do not forget to specify the password.
Add the following line into cron:
*/2 * * * * /usr/local/ispmgr/sbin/wmbillpayment
In case of problems, see /usr/local/ispmgr/var/wmbillpayment.log
