Tag Archives: api

Authorize.Net API: billToCountry Format

With the Authorize.Net API if you are setting up a customer payment profile or just setting a billing address you need to make sure the format of the country is set correctly. Here is an example: $paymentProfile->billToCountry = ‘USA’; And another variation: $paymentProfile->billToCountry = ‘United States of America’; Authorize.net (auth net) will allow multiple formats of country names for billToCountry and shipToCountry

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

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]

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. Log into your Authorize.Net Account Click Account Click “Merchant Profile” Under “Additional Services” click the “sign-up” link where CIM is listed. 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

new HootSuite API

Hello! Since you recently expressed interest in HootSuite’s Ow.ly API, we thought you’d enjoy hearing about the new HootSuite API. This news hasn’t been publicly announced yet so you are one of the first to hear about it before our CEO Ryan Holmes shares the news later today at TWTRCON. The HootSuite App Exchange will launch December 15 and we’re inviting developers with an idea and resources to request access to the API to begin coding their ideas. To apply, simply fill out the form at:http://ow.ly/3btrl and the program coordinator will follow-up. HootSuite currently has close to 1 million SME users, 1.9 million social networks, and has recently climbed into the Alexa 200. As such, the HootSuite App Exchange will provide a significant way to build visibility for the brands and developers we partner with – including the potential for revenue sharing. This new API creates an opportunity for unique mash-ups and extensions which users can add-in to customize their HootSuite dashboard experience. We designed the API to be easy to work with – if you have a working knowledge of Javascript and HTML, you should be good to go. In fact, some compelling apps have been created in under 4 hours. Last Saturday, HootSuite hosted a hackathon at which we opened up the API to a few developers to a great reaction and great coding session. Additionally, noteworthy partners have already built out applications with several more currently in development. We look forward to seeing the ideas and apps … Continue reading

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

Google QR code on goo.gl

Here’s a new trick that hasn’t been blogged yet! Google’s url shortener at goo.gl can generate QR codes (which are 2D barcodes) just by appending “.qr” after the goo.gl url. So the url http://goo.gl/727X does a redirect to http://www.mattcutts.com/blog/ and the url http://goo.gl/727X.qr will generate a QR code that also goes to http://www.mattcutts.com/blog/ . Pretty cool, huh? Please share this trick widely. :) Via Buzz

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

“What Exactly is a ‘Mashup’?”

clipped from netforbeginners.about.com You hear this “mashup” expression being used by techie friends of yours. They talk about “oh, that is such an awesome mashup”. But what exactly does “mashup” mean? “Mashup” comes from the term “mashed potatoes”, but is much more sophisticated. A “mashup” combines services from different websites into a single website. The intent is to give exceptional customer service to the reader by combining the best of two or more online software products. Mashups are not new, by any means. The idea of combining multiple software API services (“application programming interfaces”) is decades old. In fact, your Microsoft Windows operating system is a perfect everyday example of mashup programming. But in the last few years, web site mashups have become a serious business for web programmers.

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

Google’s Zip Code Lookup

So, I was using one of Google’s sign up forms, and I noticed that it gave me a nice tip – The valid zip codes for my state! Along with some sample zip codes for my country (usa). I opened up the firebug console and checked out the ajax call – it was this: https://www.google.com/adsense/addrform/resources?kind=country&code=US That’s really cool. It returned an XML document with all the state’s valid zipcodes. While it may be unreliable to make this same AJAX call from within your own web application every time, the XML document itself is quite valuable with the zip code validation. Download that XML document here.

Posted in Tech Tips, Web Development | Tagged , , , | 1 Comment

I <3 API's

Tinyurl has an API Wednesday, June 27, 2007 by Dave Winer. Of course I’d like to do what Twitter does, and generate a Tinyurl in place of a longish URL for each TwitterGram. I had assumed all along that Twitter had a special deal with the TInyurl folks, but apparently not so. They have an open API that is simplicity itself. It’s so simple it’s almost hard to describe.  Try clicking on this link:   http://tinyurl.com/api-create.php?url=http://scripting.com/ It returns a Tinyurl. Copy it to the clipboard, and paste it into the address bar of your browser. it should take you to the home page of my weblog. Apparently it works for any URL you give it. And of course you can call it from a script just as easily as you click a link in a browser. Very nice!

Posted in Web Development | Tagged | Leave a comment