[freeside-commits] branch FREESIDE_4_BRANCH updated. 68122c066531e3fef90e3c62e66feaad8812cace

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


The branch, FREESIDE_4_BRANCH has been updated
       via  68122c066531e3fef90e3c62e66feaad8812cace (commit)
      from  a9a3b8f1891818ff06d1dab2e9bdc0524c0cb09a (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 68122c066531e3fef90e3c62e66feaad8812cace
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Apr 1 10:29:29 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