PHP Classes

PHP Interface to Webmoney: Submit payment requests to Webmoney

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 1,664 All time: 2,362 This week: 119Up
Version License Categories
webmoney 1.0.0GNU General Publi...E-Commerce
Description 

Author

This package can be used to submit payment requests to the Webmoney.ru or wmtransfer.com sites.

It can setup a Web form with all the details to submit a payment request.

It can also validate and handle responses to payment pre-requests, notifications and results.

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 22 packages by
Country: United States United States
Age: 44
All time rank: 61 in United States United States
Week rank: 312 Down38 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

Details

Before starting to work with this class you need: 1) reqister a Webmoney account at http://www.webmoney.ru or http://www.wmtransfer.com; 2) set up a number of parameters at https://merchant.webmoney.ru or https://merchant.wmtransfer.com regulating the receipt of payments and notification about payments. For detailed information about Webmoney merchant system, please reffer the Detailed Guide at https://merchant.wmtransfer.com/conf/guide.asp webpage. class WM_Request var $payee_purse = ''; var $payment_amount = 0.0; var $payment_no = -1; var $payment_desc = ''; var $sim_mode = -1; var $result_url = ''; var $success_url = ''; var $success_method = -1; var $fail_url = ''; var $fail_method = -1; var $payment_creditdays = -1; var $extra_fields = array(); var $action = 'https://merchant.wmtransfer.com/lmi/payment.asp'; var $btn_label = 'Pay Webmoney'; function SetForm($output = true) class WM_Prerequest var $payee_purse = ''; var $payment_amount = ''; var $payment_no = ''; var $mode = ''; var $payer_wm = ''; var $paymer_number = ''; var $paymer_email = ''; var $telepat_phonenumber = ''; var $telepat_orderid = ''; var $payment_creditdays = ''; var $extra_fields = array(); function GetForm() class WM_Notification var $payee_purse = ''; var $payment_amount = ''; var $payment_no = ''; var $mode = ''; var $sys_invs_no = ''; var $sys_trans_no = ''; var $payer_purse = ''; var $payer_wm = ''; var $paymer_number = ''; var $paymer_email = ''; var $telepat_phonenumber = ''; var $telepat_orderid = ''; var $payment_creditdays = ''; var $hash = ''; var $sys_trans_date = ''; var $secret_key = ''; function GetForm() function CheckMD5($payee_purse, $payment_amount, $payment_no, $secret_key) class WM_Result var $payment_no = ''; var $sys_invs_no = ''; var $sys_trans_no = ''; var $sys_trans_date = ''; var $method = WM_POST; function GetForm()

  Files folder image Files  
File Role Description
Files folder imagesample (4 files)
Plain text file webmoney.inc.php Class Source code
Accessible without login Plain text file readme.txt Doc. Readme file

  Files folder image Files  /  sample  
File Role Description
  Accessible without login Plain text file fail.php Example Example
  Accessible without login Plain text file request.php Example Example
  Accessible without login Plain text file result.php Example Example
  Accessible without login Plain text file success.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,664
This week:0
All time:2,362
This week:119Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:50%StarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1693