Badminton on Rails
RSS icon Home icon
  • Patching Substruct

    Posted on February 5th, 2008 Raymond Law 3 comments

    A few weeks ago I found Substruct, a Ruby on Rails E-commerce framework. I checked it out, played around with it, and decided to fix a few things to the way I think it should work and improved a few things. I figure it may help some of the folks who’s using it to run stores as well. So I am releasing it as a patch. The patch includes:

    • Added order fulfillment code
    • Fix OrdersController#ship_orders
    • Fix Email settings
    • Correctly checking SMTP Authentication Type when saving in Admin’s Preferences page
    • Send emails to all customers whose orders have just been shipped
    • Add user account login
    • Show order details to customers
    • Require login before checkout
    • Use only password, not previous order # to login
    • Fill in product descriptions to look more authentic
    • https support for production
    • Fill in Authorize.net account info
    • Mask CC # except last 4 digits in db (cc_number validation needs to include ‘X’)
    • Encrypt password in DB
    • Add password confirmation
    • Calculate tax (StoreController#add_tax)
    • Add tax line to OrderMailer receipt view template
    • Add tax line to admin interface showing order items (admin/orders/edit.rhtml and show.rhtml)

    I started a Google Group discussion.

    You can grab it here. Enjoy!

     

    3 responses to “Patching Substruct”

    1. I’ve been involved in taxes for longer then I care to admit, both on the individualized side (all my working life story!!) and from a legal stand since passing the bar and following tax law. I’ve furnished a lot of advice and rectified a lot of wrongs, and I must say that what you’ve put up makes complete sense. Please continue the good work – the more individuals know the better they’ll be armed to handle with the tax man, and that’s what it’s all about.

    2. Your link doesn’t work any more – could you re-upload please Mr Raymond? Muchly appreciated.

    3. Woo,

      I’ve added the patch link back.

    Leave a reply