Tidbit #4: How to verify and hide credit card numbers with PHP

2 #

At my current job I was recently assigned the task of creating a shopping cart and auction system to sell furniture and antiques online. After getting most of the legwork done it was decided that customers would have to pay by credit card online. This brings up a load of questions and requirements of course such as SSL certificates, Real Time processings vs. simple verification, which cards do we want to accept from customers etc. etc. After a meeting or two it was decided that customers would enter a credit card number that would be verified with our online shopping cart, but they would be charged locally at a terminal when the item was actually shipped. After all it’s illegal to charge a credit card for something that has not been shipped. I recommend checking out the laws in your state before jumping headfirst into e-commerce.

I began the endless search on the net for a simple credit card verification class written in PHP and found several that were were very helpful and descriptive, but they generally required lots of modification. Generally, a quick Google search turns up exactly what I want, but low and behold there was no such script. I used what I could find on the net and combined them into my own little script.

A little disclaimer: This is not the actual script we ended up using, but it gives you a good head start on being able to verify credit card numbers through an online form. I HIGHLY RECOMMEND using test numbers and not real numbers when testing your scripts out. DO NOT USE THIS SCRIPT unless you are behind an SSL encrypted https connection, or unless you know what you are doing. That being said…….
Read More »

Tidbit in Progress: My attempt to install Xgl and Compiz on my Dell Inspiron 600m running Ubuntu Dapper Drake

10 #

Seems to me like all the Linux cool kids are running Ubuntu Linux, and if you’re the coolest if cool…you have the even cooler Compiz/Xgl running. I personally love my Ubuntu Dapper Drake, and I have been running Linux on my laptop for several years now. Thinking I was smart enough to get Xgl and Compiz working I set out to find the easiest tutorial making this transition possible for me.
Read More »

Tags: | |

Tidbit #3: How to convert Youtube and Google Videos to iPod Videos using OSX

0 #

Ever wanted to download one of those mentos in diet coke videos from Youtube onto your iPod Video? Not easy is it? I’ll walk you through a tutorial on how to get those pesky .flv files converted into nice .mp4 files for syncing to your iPod. Best part: It won’t cost you a cent. (OS X specific for now)
Read More »

Tidbit # 2: How to make users Agree to Terms using Javascript on your forms

0 #

I discovered a quick snippet on how to make users agree to your Terms and Conditions before allowing them to submit your forms using a simple javascript. I modified the original code I found to make it simpler, but to be fair I found the code at this site.

Read More »

Tidbit #1: Wordpress initial setup: plugins, widgets, Firefox Addons

0 #

This being the fourth or fifth blog that I have started I have become quite familiar with the administration and overall installation process of plugins and themes. Everytime I do a blog install either for myself or a friend I have a tendency to install the same plugins and themes so I have decided to finally list them, as well as why I use them. Another thing I like to get setup for blogging is Firefox–I’ve come to notice I have a tendency to update my blog more if it is easily accessible direct from my browser.

Read More »

Are first blog posts ever read by anyone?

4 #

Are they? I’m working on a first tidbit, it’s going to be about setting up this blog–unfortunately I’m using a damn touchpad on a laptop and I can’t stand trying to do screenshots and crap with it, so I’m saving it for…THE FUTURE!