[TYPO3-shop] Lost orders
Franz Holzinger
franz at ttproducts.de
Tue Nov 29 07:29:49 CET 2011
Hello Christian,
the order is already stored as hidden in the database before the user
leaves to the gateway.
A backend module is more complicated, because many functions are
available only in the frontend. So a lot of code needs to be rewritten
in order to make it working also for the backend.
You must do the same as in the tracking where also all orders are read
from the database.
Regards,
Franz
On 24/11/11 04:09, Christian Lerrahn (Cerebrum) wrote:
> Hi,
> I've repeatedly had the problem that orders were lost because they
> were paid for but did not reach the confirmation step. As there is
> lots of people out there who shop online but are not too internet
> savvy, it is not too rare an experience that people process payments
> and then close the browser or navigate away before returning to
> tt_products.
>
> The problem now is that no confirmation email is sent, even though the
> order was paid for and the shop administrator cannot find out all
> details from neither backend nor order tracking because the
> confirmation page has never been rendered.
>
> My idea now was to write a backend module which allows the shop
> administrator to force order confirmation on an order he has seen
> payment for but which was not finalised.
>
> I had a quick look at the code and am now a bit unsure if this is easy
> to do. While doProcessing() will probably do most of what I need it
> seems quite a challenging task to preload all the parameters for that
> method correctly from the database without going through a basket
> object, filling the marker array, loading templates, etc..
>
> Am I going about this problem the right way? Do I really have to
> manually pull out the order data from the database and preload the
> objects and arrays or is there and easier way?
>
> Cheers,
> Christian
More information about the TYPO3-project-tt-products
mailing list