External API


https://forum.kartris.com/Topic3025.aspx
Print Topic | Close Window

By djjohnson - Tue 6 May 2014
I have to call an external API after a completed successful order. What is the best way to implement this. The order object has everthing in it I need to populate everything I need to send to the external API.
By Paul - Wed 7 May 2014
Is the external API a web service? Kartris uses a web service for the EU VAT number validation (the EU's own web service), so you can crib code from that as well as Microsoft's own docs on consuming web services.

If you need to build a form post from within a page, checkout the source code of the AIM plugin (I think you have source code for this)... this posts order data to AuthorizeNet in this way.