authorize.net getCustomerProfile example

Here’s an example of how to get use `getCustomerProfile()` with authorize.net:

// define your api key and do your include
define(‘AUTHORIZENET_API_LOGIN_ID’, ‘xxxxx’);
define(‘AUTHORIZENET_TRANSACTION_KEY’, ‘xxxxxxx’);

// include the sdk
require_once(‘/lib/AuthorizeNet.php’);

// now make the request
$request = new AuthorizeNetCIM;
$response = $request->getCustomerProfile($customerProfileId);

You will have a nice XML (or SOAP) response that you can parse and use the data from.

Posted in Tech Tips, Web Development | Tagged , , | Leave a comment

E00044 – Customer Information Manager is not enabled [solved]

E00044 – Customer Information Manager is not enabled [solved]If you are using the Authorize.net CIM API for web services and are ending up with a XML / SOAP response (SimpleXMLElement Object) with the error:

> E00044 – Customer Information Manager is not enabled

###If you have a production Authorize account

Authorize.Net requires you to agree to the CIM Terms of Service before the API can be enabled. Please perform the following steps below.

1. Log into your Authorize.Net Account
2. Click Account
3. Click “Merchant Profile”
4. Under “Additional Services” click the “sign-up” link where CIM is listed.
5. Agree to the Terms and Services

###If you have a Authorize.net / auth.net sandbox account and you do not have CIM enabled:

“Customer Information Manager (CIM) is not available within shared test accounts. If you need to process CIM transactions, please request a new test account at: http://developer.authorize.net/testaccount/.”

Posted in Security, Tech Tips, Web Development | Tagged , , , | Leave a comment

Stamps.com unable to print PDF anymore

Stamps.com has upgraded their website with a new plugin that only allows printing directly to your printer.

Why? Stamps.com says:

> USPS security regulations require Stamps.com to prevent anyone from printing postage to a PDF. For this reason, when you attempt to do so one of two things may happen:
> – You will receive a runtime error followed by the software closing without warning
> – You will receive error message 80004005

Stamps.com only supports select browsers like Firefox because of this security regulation. Many users were able to print with a system dialog before but now are altered that:

> To print or preview postage, you are required to install a small plugin. Click the install button and follow the instructions. After installation, you will be able to print postage.

> Note: During installation, if you are prompted for any settings or inputs, please leave the default values (including destination folder) unchanged, as this can prevent the plugin from working properly.

> If you do not see the installer window, it may be appearing behind your browser window. Please minimize your browser to see if the installer window is visible.

Stamps.com unable to print PDF anymore

Posted in Tech Tips, Web Development | Tagged , , , | Leave a comment

Zmodo 420TVL

The Zmodo 420TVL is an outdoor PTZ camera with a 1/4″ Sony Super HAD Color CCD, 22X optical zoom and 10X digital zoom, 420TV Lines, 4-88mm Vari-Focal Zoom Lens (Manual), 60 LEDs, Visible up to 260ft (80m) , and fully Weatherproof.

Product Features

  • Image Sensor: 1/4-Inch SONY Super HAD Color CCD
  • Lens: 4-88mm
  • Zoom: 22X Optical Zoom and 10X Digital Zoom
  • Dome Movement: Pan: 0 degree ~ 360 degree (Endless), Tilt: Auto Flip 180 degree
  • IR (Night Vision) Distance: Visible up to 260 (80m)

Zmodo 420TVL

Posted in Security, Tech Tips | Tagged , | Leave a comment

Connect to a Shared Folder with VirtualBox and Windows XP

Connecting to a Shared Folder with VirtualBox and Windows XP is easy. In the following example Windows XP (TinyXP) is being used to connect to VirtualBox on Mac OS X Mountain Lion.

Connect to a Shared Folder with VirtualBox and Windows XP

Connect to a Shared Folder with VirtualBox and Windows XP

Connect to a Shared Folder with VirtualBox and Windows XP

1. On your list of VirtualBox machines choose the windows XP machine you want to share a folder with and then click “Settings”
2. Choose the “Shared Folders” tab and then select the path on your host computer that you want to share with the Virtual Machine
3. Select the options “Auto mount” and “Make permanent” if you would like this connection to persist
4. If your Windows XP virtual machine is running you **may need to restart it**
5. Open “My Computer” and from the “Tools” menu choose “Map Network Drive”
6. When the “Map Network Drive” dialog box opens click on “Browse”
7. Choose “Virtualbox Shared Folders” and then “\\VBOXSVR” and then the name of your shared folder – (VBOXSVR is how virtualbox refers your host machine – opposed to Remote Desktop / Terminal services which refers to it as \\tsclient / tsclient )
8. Click OK and now you should have your new drive appearing in “My Computer”

Posted in Linux, Mac, Tech Tips | Tagged , , , | Leave a comment

HackRepair.com Blacklist

HackRepair.com Blacklist
Recently I was checking out the `Better WP Security` plugin for WordPress and noticed that the plugin comes with a cool blacklist of useragents from HackRepair.com (btw that website seems to have a lot of great info on fixing hacked wordpress sites). Anyhow I found that after installing the plugin my `.htaccess` file was updated and included a new section to block malicious IPs and user agents. The list looks like this:

Continue reading

Posted in Security, Server Admin, Tech Tips, Web Development | Tagged , | Leave a comment

How To Determine Flow Rate of a Gas Dryer

How To Determine Flow Rate of a Gas Dryer

If you are installing natural gas lines you will need to determine the flow rate of certain appliances, like Gas Dryers. The line size of the natural gas pipe (or propane / LP piping) needs to be big enough, larger with distance, to allow for the specified flow rate from the manufacturer.

Posted in Tech Tips | Tagged , | Leave a comment

Windows XP Cisco VPN Client Latest Version

If you’re wondering what the latest Version of the Cisco VPN Client for Windows XP, you’ve come to the right place.

You may want to heed notice from Cisco that this product is no longer supported…

Windows XP Cisco VPN Client Latest Version

But, according to the information I have found, the final version of the Cisco VPN client software for Windows XP was “5.0.07.0410” and the installation file was:

> vpnclient-win-msi-5.0.07.0410-k9.exe

Posted in Security, Software, Tech Tips | Tagged , , | Leave a comment

Apple Doesn’t Have Any Retail Stores In…

Apple has retail stores all over the place. In the United States, Apple doesn’t have retail stores in some smaller cities, but there is at least one Apple Store in every state.

Apple Doesn’t Have Any Retail Stores In…

For a full list of retail stores you can visit the apple store locator.

Posted in Uncategorized | Leave a comment

Google Domain Verifcation Url

To verify your website with Google Apps / Google Webmaster tools you can use the url below. Here is a screenshot of the verification:

Google Domain Verifcation Url

And here is the URL you can use – just replace the yoursite.com part:

> https://www.google.com/webmasters/verification/verification?siteUrl=http://yoursite.com&pli=1

Posted in Marketing | Tagged , , | Leave a comment