[freeside-commits] branch master updated. 235cf26d6b975cb2edb87c23a8255886b1ac99f2

Ivan ivan at 420.am
Sat Apr 1 10:29:29 PDT 2017


The branch, master has been updated
       via  235cf26d6b975cb2edb87c23a8255886b1ac99f2 (commit)
      from  d841bcfd09c9fa3047c4a179889b2b1e13f8ee8e (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 235cf26d6b975cb2edb87c23a8255886b1ac99f2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Apr 1 10:29:28 2017 -0700

    add omit_cust_main_county flag to payment_info API call, RT#75124

diff --git a/fs_selfservice/FS-SelfService/SelfService.pm b/fs_selfservice/FS-SelfService/SelfService.pm
index 185e3e2..f97992c 100644
--- a/fs_selfservice/FS-SelfService/SelfService.pm
+++ b/fs_selfservice/FS-SelfService/SelfService.pm
@@ -272,7 +272,6 @@ FS::SelfService - Freeside self-service API
 
   my $customer_info = customer_info( { 'session_id' => $session_id } );
 
-  #payment_info and process_payment are available in 1.5+ only
   my $payment_info = payment_info( { 'session_id' => $session_id } );
 
   #!!! process_payment example
@@ -738,7 +737,19 @@ success or an error message on errors.
 
 Returns information that may be useful in displaying a payment page.
 
-Takes a hash reference as parameter with a single key: B<session_id>.
+Takes a hash reference as parameter with the following keys:
+
+=over 4
+
+=item session_id
+
+Required session ID
+
+=item omit_cust_main_county
+
+Optional, pass a true value to omit cust_main_county data for performance.
+
+=back
 
 Returns a hash reference with the following keys:
 

-----------------------------------------------------------------------

Summary of changes:
 fs_selfservice/FS-SelfService/SelfService.pm |   15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list