What the hell is my problem? - I have two serious bugs I need to fix, both are in checkout procedures. One in a system implemented in PHP and the other in one implemented in Perl.
The systems carry no resemblance to each other apart from them being checkout procedures.
What a crazy pattern, perhaps I should get them addressed shortly, since this pattern of bugs in these particular parts of the systems are bugging me.
The Perl one is the one I am the most confident in, I just need to be able to replicate it better. Then write a few tests and get it out of the way.
The PHP one however might have to do with session. I want to send some mails after payment has been processed externally - this works great for me, but a lot of the transactions loose their session and there for die. Perhaps I should play it safe and serialize and de-serialize the session in between the communication with the external payment gateway.