Pap_Api_SaleTracker
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.
$saleTracker->setVisitorId($visitorId);
Example of registering sal...