MoneyBookers IPN
for osCommerce Online Merchant v2.2
The MoneyBookers payment processing module was altered and enhanced by a facility to have MoneyBookers gateway submit confirmation of payment back to an osCommerce-based online store.
The module is certified by MoneyBookers. Detailed installation manual can be found at:
http://www.moneybookers.com/haendler/HowtosetupMoneybookersinHolbi.pdf
Legend: 
Download

Report
Geez, this contribution was so buggy that I have no idea how anyone could have used it at all.
I can't even start to explain how many bugs it had in it, which I believe I fixed them all.
The only possible reason I can think of that anyone would release such a buggy contribution in the first place is if he can get money (errm, something like 50 pounds per hour for 3 hours work for example) on support requests...
This new version 2 is based on the latest version and includes all the fixes listed below plus many more.
I changed the way the stock is updated to the way the Paypal IPN works.
From now stock is updated only when the customer completes the payment.
The order is first saved in the DB and can be seen in admin/orders.php but no stock is updated at this stage.
I also added a safety check to the IPN to see if stock was already updated and it only update if it hasn't been updated yet.
I only tested this with 1 of the modules - amoneybookers_ipn.php which is the credit cards module, that's all I need, and it works perfectly.
I did not test it to work with any of the other included modules because I don't need any of them, but if you try and find any bug with the other modules and you can fix it, please remember to post the fix here.
This is a FULL PACKAGE. Enjoy!
P.S.
If you already installed the previous version, you should not update the SQL again.
The only SQL change, if you already installed previous versions is:
ALTER TABLE orders ADD stock_updated TINYINT(1);
Please remember to run this SQL command to add the new column stock_updated to your database.
The package had a bug where orders with total value greater than 999.99 (regardless the currency) could not be
processeed. Error shown: 'Invalid amount'. This was a small issue regarding the "," used as thousands seperator.
To solve it you need to change the code in
catalog/checkout_amoneybookersipn.php (if you use other modules besides checkout_amoneybookersipn.php you also need
to change them)
FIND
'&amount=' . number_format($order->info['total'] * $currencies->get_value($moneybookers_currency), $currencies-
>get_decimal_places($moneybookers_currency)) .
'&amount2=' . number_format($order->info['shipping_cost'] * $currencies->get_value($moneybookers_currency),
$currencies->get_decimal_places($moneybookers_currency), '.', '') .
'&amount2_description=' . urlencode($order->info['shipping_method']) .
'&amount3=' . number_format($order->info['tax'] * $currencies->get_value($moneybookers_currency), $currencies-
>get_decimal_places($moneybookers_currency)) .
and REPLACE by:
'&amount=' . number_format($order->info['total'] * $currencies->get_value($moneybookers_currency), $currencies-
>get_decimal_places($moneybookers_currency), '.', '') .
'&amount2=' . number_format($order->info['shipping_cost'] * $currencies->get_value($moneybookers_currency),
$currencies->get_decimal_places($moneybookers_currency), '.', '') .
'&amount2_description=' . urlencode($order->info['shipping_method']) .
'&amount3=' . number_format($order->info['tax'] * $currencies->get_value($moneybookers_currency), $currencies-
>get_decimal_places($moneybookers_currency), '.', '') .
This is the updated module with the new product of Moneybookers called Quick Checkout and IFRAME support. Moneybookers Quick Checkout enables you to take payments from credit cards, debit cards and local payment options in over 200 countries without the need for direct registration.
A few bugfixes and a status report finally working.
Just fixed minor sql. Full Package.
Credit goes to the Author.
For osCommerce v2.2 ms2 (ie earlier than ms3)
Two contributors have solved the problem of the following error message: "PHP Fatal error: Call to a member function isLoggedOn() on a non-object in C:Domainsdhammabooks.org.zawwwrootcheckout_moneybookersipn.php on line 19". This was attributed to the fact that the latest Moneybookers payment module was written for versions of osCommerce later than v2.2 ms2 and four files had incompatibilities with the earlier versions.
This present .zip file contains the complete Moneybookers payment module, but this time incorporating all the necessary changes to the four files concerned. That is, it is the whole thing in one, including the original installation instructions. This works nicely on my store. Thanks to those who resolved the original problem.
The MoneyBookers payment processing module was altered and enhanced by a facility to have MoneyBookers gateway submit confirmation of payment back to an osCommerce-based online store.
The module is certified by MoneyBookers. Detailed installation manual can be found at:
http://www.moneybookers.com/haendler/HowtosetupMoneybookersinHolbi.pdf