Group: Forum Members
Last Active: Thu 26 Feb 2015
Posts: 45,
Visits: 103
|
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.
D.J. Johnson V.P. Development and Operations NTS Services Corp DataBackup.com
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
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.
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|