Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Vend::Payment::GatewayLog
* New module facilitates adding logging support for all transactions through any of the standard gateway modules. * Introduce logging support to Vend::Payment::PayflowPro. * Fully sever database connections in Vend::Payment when global timeout is invoked. Code operating in production proved to behave unpredictably when parent and child shared the same database server. * Add gateway_log table to standard in expected format for each DBI database type. * Adjusted Vend::Table::DBI to support SQLite's AUTOINCREMENT in parallel to same support of MySQL's feature.
- Loading branch information
Showing
8 changed files
with
491 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Database gateway_log gateway_log.txt __SQLDSN__ | ||
|
||
Database gateway_log DEFAULT_TYPE text not null default '' | ||
Database gateway_log AUTO_SEQUENCE 1 | ||
Database gateway_log KEY gateway_log_id | ||
Database gateway_log COLUMN_DEF "order_md5=varchar(32) not null default ''" | ||
Database gateway_log COLUMN_DEF "request_date=varchar(32) not null default ''" | ||
Database gateway_log COLUMN_DEF "request_id=varchar(255) not null default ''" | ||
Database gateway_log COLUMN_DEF "order_number=varchar(32) not null default ''" | ||
Database gateway_log COLUMN_DEF "email=varchar(128) not null default ''" | ||
Database gateway_log INDEX request_date | ||
Database gateway_log INDEX request_id | ||
Database gateway_log INDEX order_number | ||
Database gateway_log INDEX email | ||
Database gateway_log INDEX order_md5 | ||
Database gateway_log NO_ASCII_INDEX 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Database gateway_log gateway_log.txt __SQLDSN__ | ||
|
||
Database gateway_log DEFAULT_TYPE TEXT NOT NULL DEFAULT '' | ||
Database gateway_log AUTO_SEQUENCE gateway_log_id_seq | ||
Database gateway_log KEY gateway_log_id | ||
Database gateway_log COLUMN_DEF "gateway_log_id=INTEGER PRIMARY KEY NOT NULL DEFAULT NEXTVAL('gateway_log_id_seq')" | ||
Database gateway_log INDEX request_date | ||
Database gateway_log INDEX request_id | ||
Database gateway_log INDEX order_number | ||
Database gateway_log INDEX email | ||
Database gateway_log NO_ASCII_INDEX 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Database gateway_log gateway_log.txt __SQLDSN__ | ||
|
||
Database gateway_log DEFAULT_TYPE text not null default '' | ||
Database gateway_log AUTO_SEQUENCE 1 | ||
Database gateway_log KEY gateway_log_id | ||
Database gateway_log COLUMN_DEF "order_md5=varchar(32) not null default ''" | ||
Database gateway_log COLUMN_DEF "request_date=varchar(32) not null default ''" | ||
Database gateway_log COLUMN_DEF "request_id=varchar(255) not null default ''" | ||
Database gateway_log COLUMN_DEF "order_number=varchar(32) not null default ''" | ||
Database gateway_log COLUMN_DEF "email=varchar(128) not null default ''" | ||
Database gateway_log INDEX request_date | ||
Database gateway_log INDEX request_id | ||
Database gateway_log INDEX order_number | ||
Database gateway_log INDEX email | ||
Database gateway_log INDEX order_md5 | ||
Database gateway_log NO_ASCII_INDEX 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gateway_log_id trans_type processor catalog result_code response_msg request_id order_number email session_id request_source request_date request_duration request response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.