The last segment of my C# Shopping Cart series has just been published over at ASPFree, here are all three:
For now I’m working on other ideas but I might add some more to the series later on. I’ve developed several online shopping systems so I’m just using things I’ve been through in the past. Some things I probably wouldn’t actually do in any of the systems now such as storing the shop in a session like the articles do. That was just an easy way to hold the data for the example shop. Another article could be how to setup and use a database for your shop which is definitely something I would do personally.
An other article could cover things such as handling the payments yourself. I steered away from that for now as it leads into what I dub “The iffy grey area”. The easiest way to handle the payments yourself, such as if you have a POS system at your end that you manually tap details into is to simply store the customers credit card details in your database and then when you sit down to process the orders you read that info and manually type it in. The iffy part is where you store the credit card details. In some places this is against the law and since I cant find a list of those places to put in the article I just skipped it all. The best solution would be to have the orders placed instantly by linking your system directly to the POS. Then you could take the details, verify them and then pass them to the POS straight away. Then there would be no need to store the details. If you went down this route even though it was perfectly legal to store the details in your country/region then you can always store them anyway for customer ease of use i.e. letting them store cards so they can easily use them for future orders “Please pick a card you’ve used in the past for this new order”. You see this feature in most of the big shops like amazon.
The other great method is to just let paypal or worldpay deal with it all. I just sent the user straight over to paypal and let that handle everything but this isn’t the only option. You can head over to paypal and look up the other options yourself, there’s no point in me regurgitating what they say, well at least not until I cover it in an article ?