Call REST API

guillome 20 Mar, 2015
Hello,

I have an ecommerce site where I need to connect my chronoforms to my billing system.
This is the billing api: http://api.getbillingo.com/
Doc here: http://doc.billingo.hu/api
Examples: https://github.com/voov/BillingoAPI

Do I need to access this via curl or custom code?

I tried to do it for hours, but still nothing is working for me.
Any help would be appreciated.

thanks,
Guillome
GreyHead 20 Mar, 2015
Hi Guillome,

If you want to use their API then you will need to add the lib folder to your site and then use Custom PHP to access the service.

If you search the FAQs here on 'API' you will find some other examples.

Bob
guillome 20 Mar, 2015
Hi GreyHead,

thanks a lot. I will look for the FAQ. Just one more thing I couldn't find: where should I copy the lib? Under components chronoforms, or where? What would be the exact location reference from chrono?

thanks
GreyHead 20 Mar, 2015
Hi Guillome,

Wherever you like, but i create a /components/com_chronoforms5/extras/ folder and put any APIs in sub-folders in there e,g, /components/com_chronoforms5/extras/billingo/. That way I know where to look for them.

Bob
guillome 20 Mar, 2015
Thanks GreyHead!
This topic is locked and no more replies can be posted.