Partner
A global settlement system and environment for online business.
Integration of WebMoney Merchant Service with Post Affiliate Pro.
Activate and Configure of WebMoney plugin in Post Affiliate Pro
- Activate WebMoney plugin in Merchant Panel -> Plugins
- If you use WebMoney Secret Key for security(recommended), set your Secret Key in Merchant Panel -> Plugins -> Configure WebMoney plugin.
Configure WebMoney Merchant
- Go to WebMoney Merchant -> Settings -> Web Merchant Interface choose your purse from Purse List and click change.
- In Merchant Purse Settings set secret key(recommended) and check the checkbox.(Do not forget to set same secret key in PAP WebMoney plugin configuration!)
- Set Result URL to: https://URL_TO_PostAffiliatePro/plugins/WebMoney/webmoney_result.php
- Set Success URL to: https://URL_TO_PostAffiliatePro/plugins/WebMoney/webmoney_success.php
- Set Method of requesting Fail URL to: POST
- Set Fail URL to: https://URL_TO_PostAffiliatePro/plugins/WebMoney/webmoney_failed.php
- Set Method of requesting Fail URL to: POST
- Set Signature algorithm to: MD5
Add code to every WebMoney button form
Now add the following code into EVERY WebMoney button form:
<input type="hidden" name="PAP_COOKIE" value="" id="pap_9ns6b41z">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
Example
Example of uploaded WebMoney Form:
<!-- Begin WebMoney Button -->
<form method="POST" action="https://merchant.wmtransfer.com/lmi/payment.asp">
...
<input type="hidden" name="LMI_PAYMENT_AMOUNT" value="12.08">
<input type="hidden" name="LMI_PAYMENT_DESC" value="payment under the bill">
<input type="hidden" name="LMI_PAYMENT_NO" value="1234">
<input type="hidden" name="LMI_PAYEE_PURSE" value="Z145179295679">
...
<input type="hidden" name="LMI_SIM_MODE" value="0">
<input type="hidden" name="PAP_COOKIE" value="" id="pap_9ns6b41z">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript"></script>
<script type="text/javascript">PostAffTracker.setAccountId('Account_ID');
PostAffTracker.writeCookieToCustomField('pap_9ns6b41z');
</script>
...
</form>
<!-- End WebMoney Button -->