If any of you out there use Convio for your non-profit’s on-line presence, ie website, donations, email campaigns, I’ve created a PHP library for connecting to their Open API.

I say it’s a “Library”… it’s really just a single wrapper file that aids in connecting to, making call to, and handling responses from, the Convio Open APIs.
There’s no documentation to speak of, but the two files included in the zip archive are pretty solidly commented, so you will probably be able to get a lot from them. The two files included in the zip are the library file itself and an example of how to implement it.
If you end up using it, let me know what you think!

October 13th, 2009 at 12:42 pm
[...] This post was mentioned on Twitter by Nick Bartkowiak. Nick Bartkowiak said: PHP Libary for Convio Open API – http://bit.ly/3RQ4bC @convio [...]
January 11th, 2010 at 1:11 pm
thanks. Do you have a work request for Donate?
January 11th, 2010 at 1:26 pm
You know, I don’t think there should be any technical reason the library couldn’t make calls to the CRDonationAPI servlet. Your main worry would be staying PCI compliant:
http://www.pcicomplianceguide.org/
At very least you’d have to make sure that all parts of your server that were dealing with Credit Card info were behind an SSL certificate.
I think there is also a bug dealing with parameter names that have periods (.) in them. eg. “donor.first_name.” So, that might be an issue when trying to use the CRDonationAPI.
Is there anything you are specifically unable to do with the PHP Convio library?
April 29th, 2010 at 10:50 am
Any word on the periods in parameter names bug? My code seemed to be going well until I got to billing.address.street1
April 29th, 2010 at 1:42 pm
Hey axiomx11,
I haven’t dug in to fix it. I can though, I don’t think it’ll be too hard. Simply a mater of converting the underscores back to dots after PHP messes with them. What sort of time frame are you looking at? I probably won’t be able to get to this until the weekend.
April 29th, 2010 at 4:38 pm
Thanks for the reply, I’ll look at it again. I’d love to see an example donate page with custom css+html that uses the api to submit.
June 29th, 2010 at 5:52 pm
thanks for the code. really helpful.