In this episode I restructure a bit in order to clean things up some. I also tweak the site to redo the routing - something I think that went a little awry on me :). Finally, I add PayPal as a checkout option.
Routing Can Be Tricky
The MVC team did an exceptional job with the Routing engine and I did a less than stellar job of implementing a good routing scheme. As you'll see in this episode, it got to the point where I had a bit of "route spaghetti" in an effort to make my URLs as pretty as possible. You'll see me fix this - something I should have done a while ago - and restore routing to its default state.
One of the very cool things about resetting the routing is that I didn't need to do *any* work to the Views - the ActionLink and Url.Action methods worked flawlessly and I didn't need to update any links. That's awesome :) and a hat-tip goes to Eilon and Phil for that!
PayPal
I want to be sure that implementing a "store for the masses" is bleedingly simple - and nothing is easier for a merchant to setup than accepting payments from PayPal. In this episode I add in PayPal Standard and show you how to setup a PayPal controller that works with PayPal's IPN and PDT. I also show you how to effectively send tax/shipping information to PayPal and catch it on the rebound.
Some Formatting Love
Finally - Rickey Rosario over at Razorfish/AvenueA sent me a patch for the HTML/CSS that both cleaned it up and made it look exceedingly pretty. He even included Yahoo's CSS Reset - which is very nice for resetting the default CSS settings. I can't thank him enough for his work!
This is a bit of a long one (about 50 minutes) - lots of information in here. After this I'm going to put my head down and crank out the rest of the site as I really would like to finish everything up.
Hope you enjoy!
