[freeside-commits] branch FREESIDE_3_BRANCH updated. 039d72ae9e7adf98f46c3b4219100d57208c3685
Jonathan Prykop
jonathan at 420.am
Fri May 13 17:12:22 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via 039d72ae9e7adf98f46c3b4219100d57208c3685 (commit)
from 88b0eb320bb37889083f78dcdf680ad653a72ac9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 039d72ae9e7adf98f46c3b4219100d57208c3685
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Fri May 13 18:11:34 2016 -0500
RT#42347: Add IDT transaction ID to payment information [v3 merge]
diff --git a/FS/FS/API.pm b/FS/FS/API.pm
index 4e6cb6c..4ff1a3a 100644
--- a/FS/FS/API.pm
+++ b/FS/FS/API.pm
@@ -65,6 +65,10 @@ Amount paid
Option date for payment
+=item order_number
+
+Optional order number
+
=back
Example:
@@ -77,6 +81,7 @@ Example:
#optional
'_date' => 1397977200, #UNIX timestamp
+ 'order_number' => '12345',
);
if ( $result->{'error'} ) {
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index c40f6c7..c8f8c81 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -1774,7 +1774,7 @@ sub tables_hashref {
'gatewaynum', 'int', 'NULL', '', '', '', # payment_gateway FK
'processor', 'varchar', 'NULL', $char_d, '', '', # module name
'auth', 'varchar','NULL',16, '', '', # CC auth number
- 'order_number','varchar','NULL',$char_d, '', '', # transaction number
+ 'order_number','varchar','NULL',256, '', '', # transaction number
],
'primary_key' => 'paynum',
#i guess not now, with cust_pay_pending, if we actually make it here, we _do_ want to record it# 'unique' => [ [ 'payunique' ] ],
@@ -1809,7 +1809,7 @@ sub tables_hashref {
'gatewaynum', 'int', 'NULL', '', '', '', # payment_gateway FK
'processor', 'varchar', 'NULL', $char_d, '', '', # module name
'auth', 'varchar','NULL',16, '', '', # CC auth number
- 'order_number', 'varchar','NULL',$char_d, '', '', # transaction number
+ 'order_number', 'varchar','NULL',256, '', '', # transaction number
#void fields
'void_date', @date_type, '', '',
-----------------------------------------------------------------------
Summary of changes:
FS/FS/API.pm | 5 +++++
FS/FS/Schema.pm | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list