API provides a way to register sales using PHP. This is an alternative to the General solution you can find in Integration methods.
Please make sure that you include the PapApi.class.php before you use this code. In case you have click tracking code on different domain then sale tracking code, then make sure you pass the PAPVisitorId cookie content to the sale tracking code. Use then _setVisitorId($visitorId)_ in such case.
Example of registering sale:...