Giter Site home page Giter Site logo

alma-authorizenet-payment-reporting's Introduction

Alma Authorize.net Payment Reporting

This is a C# console app that pulls transaction data from Authorize.net and fee payment data from Alma, matches them together, and inputs the data into a database. It also records payments made from Aeon.

This app has 2 modes: the default run mode, and the migrate mode which can be used to update a pre-existing table to an new schema.

Configuration

Configuration values are set via environment variables, or using a .env file. See the example .env file for what values are expected to be present.

run

alma-authorizenet-payment-reporting 0.4.0
Copyright (C) 2022 University of Pittsburgh

-f, --from              Get transactions starting from this date. If not supplied, defaults to the most recent transaction date in the database. If the table is empty, defaults to one
                        month before today.

-t, --to                Get transactions up to this date. Defaults to today.

-l, --log               Log messages to stdout when set.

-d, --dryrun            Will not connect to database when set.

-s, --schema-version    (Default: V3) Which version of the reporting table schema to use.

--help                  Display this help screen.

--version               Display version information.

When the program runs, it will pull all Authorize.net transaction batches that have been settled within the dates provided. For each transaction in those batches, it will match it to its corresponding fee payment in Alma, and then write the results to the table. If the dryrun option is set, it will still do this matching and will report any errors, but will not read from or update the database.

By default, the most recent schema will be used.

migrate

alma-authorizenet-payment-reporting 0.4.0
Copyright (C) 2022 University of Pittsburgh

-l, --log       Log messages to stdout when set.

--help          Display this help screen.

--version       Display version information.

value pos. 0    Required.

value pos. 1    (Default: V3)

The migrate command can be used to update existing tables if their structure changes between updates to this program. Table definitions for these schemas as well as the SQL commands for performing the migrations can be found here.

Building

To build this as a self-contained Linux executable: dotnet publish -r linux-x64 -p:PublishSingleFile=true --self-contained true

License

Copyright University of Pittsburgh.

Freely licensed for reuse under the MIT License.

alma-authorizenet-payment-reporting's People

Contributors

chryslovelace avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.