we cannot receive the money,but there is order number be created。 why can it create an order number without succeed of payment?
we cannot receive the money,but there is order number be created。 why can it create an order number without succeed of payment?
Changed to "DB_PREFIX . mbookers_ok"
Somehow deleted the function.You added a new table column "mbookers_gway_tid" into "orders", the column is very important to process the order status, but the data is none after the buyer made a order, I checked the all files, you never inserted any data into the column.
You should rewrite the following functions:
function before_process() {
return false;
}
function after_order_create($insert_id) {
return false;
}
function after_process() {
return false;
}
You should think over "user session", "mb_tid", "mbookers_gway_tid" the 3 informations.
Should be....
As in previous versions.Code:function before_process() { return false; } function after_order_create($insert_id) { global $db; if (is_numeric(MODULE_PAYMENT_MBOOKERS_GWAY_INITIAL_KEY) && (MODULE_PAYMENT_MBOOKERS_GWAY_INITIAL_KEY > 0) ) { $initial_status = MODULE_PAYMENT_MBOOKERS_GWAY_INITIAL_KEY; } else { $initial_status = DEFAULT_ORDERS_STATUS_ID; } $db->Execute("UPDATE " . TABLE_ORDERS . " SET mbookers_gway_tid = '" . $_SESSION['mb_gway_tid'] . "', orders_status = '" . $initial_status . "' WHERE orders_id = '" . $insert_id . "'"); unset($_SESSION['mb_gway_tid']); return false; } function after_process() { return false; }
Thanks for the feedback.
I will load up 1.0.3 now
william_c
I have got it up and running again.
Trying to be a bit too clever and being a bit careless resulted in the issues you found.
I am changing a few things to streamline the back end and will put that up shortly as V1.1.0
Cheers
the customers may fail in panment. However, there is a order number be created on my website. I don't know why. there might be two possibilities:
the customers have paid indeed and we didn't received money in facr,but the order number was created;
the customers were failling in the payment process, but the order number was created all the same
fjsun
I can only answer your queries if they involve specifics on issues you face with the module.
What you have put up there is so general and woolly and has several explanations within the normal working of Moneybookers that I can't even begin to get into it.
If the buyer made the payment successfully on Moneybookers, the Moneybookers will notify "moneybookers_gateway_ipn_handler.php" with order status and other information(amount, transaction_id and more ...) before the buyer return to Zen Cart, you should process the order before buyer return to Zen Cart from Moneybookers.
Thanks!
william_c
This is not possible which is why a delay in executing the script has been added.
It is 30 seconds on the released version by error as it should be 300 seconds (5 minutes) but I dropped it to 30 for testing and forgot to raise it back. It has been raised further to 15 minutes in V1.1.0 to make sure people have returned to Zen Cart and the order has been created before the script attempts to update.
Anyway, V1.1.0 with major changes is ready for release. Anyone wanting to help test it before it is submitted can send me their email address by PM.
Anyone apart from fjsun that is.
I installed zenmagick modules,whether moneybooker modules can be compatible with zenmagick modules or not .I an looking for worward V1.1.0
huh::
my website do have problem
our website received the order,but my moneybooker account didn't get the payment indeed
SOS!!!SOS!!SOS!!!SOS!!SOS!!!SOS!!SOS!!!SOS!!SOS!!!SOS!!SOS!!!SOS!!SOS!!!SOS!!SOS !!!SOS!!SOS!!!SOS!!
Bookmarks