Moneybookers auto topup issue

scenario: user has successfully sing up at moneybookers with pay-ondemand feature. and moneybookers has submited following parameters at our status monitoring script.

note= moneybookers has enabled reoccurring payments and pay-ondemand feature for this account
       = client has sufficient balance in his account

    [status] => 2
    [md5sig] => 12345678901234567890123456789012
    [pay_to_email] =>
    [topup_amount] => 10.00
    [mb_transaction_id] => 111111111
    [currency] => EUR
    [customer_id] => 22222222
    [payment_type] => WLT
    [mb_currency] => USD
    [plan] => myPackage 30
    [rec_payment_type] => recurring
    [merchant_id] => 33333333
    [rec_payment_id] => 555555555
    [mb_amount] => 41.28
    [amount] => 30.00
    [transaction_id] => 66666666
    [pay_from_email] =>

according to above info I have submitted following request to moneybookers but received PAYMEND DENIED error¤cy=EUR&rec_payment_id=555555555

any help


$mb_payment = array();

$mb_payment['email']          = ''; 
$mb_payment['password']       = MD5('mypass'); 

$mb_payment['amount']         = '10.00';
$mb_payment['currency']       = 'EUR';
$mb_payment['rec_payment_id'] = '555555555';
//$mb_payment['frn_trn_id']     = '66666666';  // I also have tried it

$url = '';
foreach ($mb_payment as $key => $value) {
    if ($value != '') {
        $url .= '&'.$key.'='.urlencode($value);

$oCURL = curl_init($url);
curl_setopt($oCURL, CURLOPT_HEADER, 0);
curl_setopt($oCURL, CURLOPT_COOKIEFILE, "/tmp/cookiefile");
curl_setopt($oCURL, CURLOPT_COOKIEJAR, "/tmp/cookiefile"); 
curl_setopt($oCURL, CURLOPT_HTTPGET, true);

$strResponse = curl_exec($oCURL); 

echo "<br />\n";

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nasirbestAuthor Commented:
I have solved it by myself.

in moneybookers -> profile -> merchant tools

change ip restrictions to some static ip address instead of

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.