Saving Authorize.net data to Gravity Forms entry object

I won’t get into all of the details of why I needed this functionality, but I was working on developing an online payment process using Gravity Forms and Authorize.net and the accounting office requested a very, very specific reporting format.

After developing a convoluted system using Google App Scripts to combine, archive, package, and delivery this data on a daily basis from multiple forms on multiple sites – the accounting office requested the CSV data also be merged with transaction data from Authorize.net. It would save them significant amounts of time. (Also, Google App Scripts are REALLY amazing for managing and automating documents and spreadsheets.)

Unfortunately Gravity Forms payment add-ons store payment data in a separate table and then simply call it when you view and entry in the dashboard, but it’s not accessible from the regular GFAPI entry object. Sigh.

So here’s what I came up with. Hopefully another poor soul may find it useful…

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz