We're using the subscription xml data feed to send data to an external system. We have noticed that certain Foxycart administrative actions create a zero-dollar transaction. For example, when a user updates the credit card expiration date on a subscription, we receive a zero-dollar transaction due to the authorization.
We also allow customers to order free items and thus there is possibility of a product transaction with a zero-dollar total.
How can we distinguish administrative zero-dollar transactions from free-item order transactions? Do we have to look at cc_number_masked, so that a free order has no credit card but an administrative transaction does have one?
But what if a customer makes a free item order and enters their Foxycart password on the checkout screen? Won't that pull the masked cc number into the transaction?