Fundraising tech/audit parser

From MediaWiki.org
Jump to navigation Jump to search

Overview[edit]

This documents the workflow to process audit files from payment processors and import missing messages into CiviCRM.

For all payment processors, except PayPal, the parse-audit drush command processes the audit files.

Audit files are located on civi1001 in /srv/archive/civi1001/audit/[payment-processor] and divided into two directories: incoming and completed.

Payment Processor Specific Information[edit]

Ingenico (new integration)[edit]

The new api sends the transactions in the same file as the old api, but these transactions can be identified because they have the tag EmailTypeIndicator.

GlobalCollect[edit]

The files are located in

/srv/archive/civi1001/audit/globalcollect. While there are multiple files in this directory, the ones we parse begin with wx1 and are in a xml.gz format.

PayPal[edit]

PayPal uses a separate python script.