Configuring environment
For correct operation of the payment method you need to obtain the certificate WM Keeper WebPro (X.509). Execute the command to upload the certificate:
wget --no-check-certificate https://cert.wmtransfer.com/Cert/WebMoneyCA.crt | mv WebMoneyCA.crt wmcert
Working with certificates "WM Keeper WebPro (X.509)"
Export the certificate into PKCS12 with the following extension: *.pfx or *.p12.
Convert the certificate into PEM using the 'openssl' utility:
$ openssl pkcs12 -in 351237877840.pfx -nocerts | openssl rsa -des -out cert.key
$ openssl pkcs12 -in 351237877840.pfx -out cert.cer -clcerts -nokeys
You will get the '.key' and '.crt' file that will be used when accessing the XML-interfaces of the payment gateway. You may place the files into any directory. Provide the path to the files when configuring the integration steps in BLLmanager.
You will need the password specified when converting the key into PEM, for setting up the integration in BILLmanager.
The system adds the following cron job to check for new payments:
*/2 * * * * /usr/local/mgr5/paymethods/pmwebmoneyas --command checkpay
Configuring BILLmanager
Navigate to Provider → Payment method and complete the following fields:
- Step 1 — Select a payment method — choose "Webmoney".
- Step 2 — Integration settings. Enter the integration details.
- Step 3 — Payment method settings. Enter the payment method parameters.
Integration
Client — select the existing account or register a new one. If you choose "Use existing", enter the following details:
Shop purse number — WebMoney purse number. The currency of the selected purse must match the currency of the payment method.
Product delivery address — product delivery address or company name.
Date and time of the purse last check — date and time when the purse was checked for the last time in the following format: "YYYYMMDD HH:MM:SS". The system updates the information after checking the invoice.
Certificate password — enter the certificate password.
Directory with key and certificates — the directory on the servers containing the keys and certificate. It must include:
-
- 'cert.cer' — WebMoney purse certificate.
- 'cert.key' — WebMoney purse key.
- 'wmcert' — WebMoney certificate.
Billing IP — BILLmanager IP address that will send requests to WebMoney.
Recurring payments — select the check box to enable recurring payments. When setting up automatic payment for clients the system will automatically make a payment for 1 $ to ensure the credit card is valid. After the recurring payments are set up, the payment will be canceled.
Your WMID — unique sequence from 12 digits which allows to identify your WebMoney account.
Selecting Add new will redirect you to the Webmoney registration form.
Additional information
Refund
Refunds are not supported.
Logging
Webmoney has the following log files:
- '/usr/local/mgr5/var/pmwebmoney.log' — configuration details of the payment method.
- '/usr/local/mgr5/var/wmpayment.log' — payment log.
- '/usr/local/mgr5/var/wmresult.log' — responses from the payment gateway.