Author: rtpHarry | Posted on: 7/13/2009 2:04:02 PM | Views : 492

Does anyone have a sample of SagePay forms integration?
I got the asp.net sample from the dev site today and its an absolute joke.


It was in vb.net to start off with so I converted everything to c#
The whole thing is a thinly converted classic-asp sample which has all sorts of convoluted old style tricks like instead of using a dropdownlist they use a <select> tag and put javascript in the middle to generate the <option>'s!
Its rife with references to methods in the Microsoft.VisualBasic namespace (a vb6 compatibility module).
It has some very strange manual approach to base64 encoding and decoding.
It doesnt have any proper wrappers for containing the stuff it stores and accesses at its leisure from the session.
It doesnt use any kind of adt for collecting any of the cart information together.
It -sucks-!



Oh well maybe I should look at it as a great refactoring opportunity but time ...

Go to the complete details ...