From 091e39d6952f3ae61b4993b19643fec6e4a52979 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Fri, 13 May 2016 18:11:34 -0500 Subject: [PATCH] RT#42347: Add IDT transaction ID to payment information --- FS/FS/API.pm | 5 +++++ FS/FS/Schema.pm | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/FS/FS/API.pm b/FS/FS/API.pm index 9d0ef2515..6ca2b553b 100644 --- a/FS/FS/API.pm +++ b/FS/FS/API.pm @@ -66,6 +66,10 @@ Amount paid Option date for payment +=item order_number + +Optional order number + =back Example: @@ -78,6 +82,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 4f7dadef9..cdb0d28a6 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -2463,7 +2463,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' ] ], @@ -2517,7 +2517,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, '', '', -- 2.11.0