Fix My Bug

After wrestling with a stupid syntax error for several days, I got sick of staring at the same code for ages and started working on this.

Fix my bug!

Sometimes it’s more fun to help someone else with their code than work on your own. That’s what fixmybug is for. Put your syntax error up, and while you wait for someone to figure it out, knock one out  for someone else.

I’m amazed at how quickly and easily this thing came together. It’s pretty bare bones, but it still required a couple of years to learn the css, html, javascript, php, and mysql that went into it. 2 years ago I wrote my first Hello World in Python, and it took months of half-hearted stabbing at the command line to even get that far. Now I’ve got 98% of a diploma in Computer Systems Technology, I can build stuff like this, I think I’m ready to start working for a living. I look forward to reviewing my source code a year from now and being ashamed of it. But right now, I’m pretty proud.

Go to http://www.rocketships.ca/fixmybug and start squishing.

dasboot

 

Would you like to receive updates by email?

Getting a little further with Stripe

Edit: I had some success getting it running with C#, read it about it here.

 

Ok, so now I’ve got the code for the payment form and the action for it on my server and running, and I can at least tell whether stuff is working or not (it’s not). Check it out at rocketships.ca/stripe/payment.php if you want.

A typical use case:

For this to happen I need:

A product page that contains:

  1. An item
  2. An “add to cart” button
  3. A “checkout” button

A checkout page that contains:

  1. A list of the customer’s items
  2. A “pay now” button

For these pages to work I need

  1. A database of items
  2. A method to get an item from the database
  3. A method to handle the “add to cart” button
  4. A way to list the customers items on the checkout page

And the last ingredient, of course, is someone who knows way more than I do, cause I feel super lost, and pretty sure that most people reading this from HackerNews or Proggit are just gonna laugh at me. Oh well, soldier on. You only learn the hard way.

 

Would you like to receive updates by email?