// Payout this amount
-function WERNIS_EXECUTE_PAYOUT ($wdsId, $userMd5, $amount) {
+function WERNIS_EXECUTE_PAYOUT ($wdsId, $amount) {
global $_CONFIG;
// Default is failed attempt
// Prepare the request data
$requestData = array(
'sub_request' => "send",
- 't_uid' => bigintval($wdsId),
- 't_md5' => $userMd5,
- 'r_uid' => $_CONFIG['wernis_refid'],
+ 't_uid' => $_CONFIG['wernis_refid'],
+ 't_md5' => $_CONFIG['wernis_pass_md5'],
+ 'r_uid' => bigintval($wdsId),
'amount' => bigintval($amount),
'purpose' => urlencode(base64_encode($purpose))
);