Skip to main content.

More E-commerce updates, including IPN support.


I've released another round of modifications to the E-commerce suite, including support for IPN through the Paypal Gateway.
Category: Modules

As sometimes happens when you do alot of development, you release a new version, and almost immediately somebody finds bugs.  This is usually due to something you didn't test, didn't test enough, or the result of a last minute change.   This is what happened with the last round of E-commerce stuff.

My changes to the Orders module were incomplete, particularly with relation to the payment gateways, also there were some primitive errors in the upgrade mechanism.  I hope I've got them all sorted out now.

The Paypal module didn't like the new discounts stuff, and had problems with only specifying item numbers for the products, so I had to do some silly work arounds to get this working.  These silly workarounds didn't take long to implement, but to narrow down the problems I was having, and then research their causes and a decent solution took alot more time than I wanted it to.

Additionally, I was contacted to implement IPN support into the Paypal gateway, which I originally thought would be simple.   Well, in principle it was simple, but it resulted in my having to do some significant modifications to the Orders module to make the asyncrhonous nature of IPN work properly.   But it is all for the better good.

Thirdly, I fixed some minor bugs in the Promotions module, and added autoloader support to the CGExtensions module.  This allows me to get rid of alot of require_once statements throughout the code, and also to get rid of alot of static methods for loading classes.   This should mean that the system runs a bit leaner as classes only get loaded as they're requested.

So enjoy this smarter, leaner, better, more stable e-commerce suite.

 

Thanks: Many thanks to Ken Griffith for sponsoring the inclusion of IPN into the E-commerce suite.