The Luottokunta module downloadable in the zencart add-ons is totally bugged.
If customer does an order, goes to luottokunta site and closes the browser after making payment but before continuing back to the shops checkout_process page the order obviously doesn't get saved to the database by zencart (not modules fault), but also because of this the customer CAN NOT make any more orders with luottokunta module...
This is because the module reads the database for a count of orders made with luottokunta and uses this as the order ID (needed by luottokunta API).
And since the previous order did not get saved to the database, the order ID will be the same as the last order, which is then refused by luottokunta API
It is kinda stupid way how it works now... why was the original coder so afraid to use a more reliable database approach to handle the order id and hack such an unreliable system which limits the amount of orders anyway...(?)
Also the recent security fix earlier this year by someone is kinda bugged!
Luottokunta API does not add the order ID to the success URL, the module has to do it ... due to this no orders go through with the current module (it seems to die in the order_process page)!
I'm working on a fix for a customer (who is paying me to do this work), so anyone who wants the fixed module at the moment should contact me (privat message)!
I'll submit the module to zencart downloads later on, when I have fully tested the module with my customer.


Reply With Quote
