REQUEST A DEMO

Tag: web-oriented architecture

Credit Card Authorization via Clearbasic

May 27, 2011 I was recently asked if we could tie into a credit card authorization service from the Clarify Classic Client.   The particular service in question was Authorize.net, which allows merchants to accept credit card payments.   What’s nice about Authorize is that they expose web APIs that can be called via HTTP. Their developer site is pretty good – with lots of different options, and sample code in a variety of languages.   I’ve blogged in the past about making web requests and consuming result sets, so the approach here is similar – although in this instance it’s even easier. The results from Authorize are just a delimited string, which is much easier to parse in ClearBasic than JSON. Giddy Up   I signed up for a test account, grabbed some sample code from their site, and ported it to ClearBasic.   The API is pretty much what you expect…