summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-04-01 10:29:29 -0700
committerIvan Kohler <ivan@freeside.biz>2017-04-01 10:29:29 -0700
commit68122c066531e3fef90e3c62e66feaad8812cace (patch)
tree0074f910c70ce3065666ceb07a8246481d0acb4a
parenta9a3b8f1891818ff06d1dab2e9bdc0524c0cb09a (diff)
add omit_cust_main_county flag to payment_info API call, RT#75124
-rw-r--r--fs_selfservice/FS-SelfService/SelfService.pm15
1 files changed, 13 insertions, 2 deletions
diff --git a/fs_selfservice/FS-SelfService/SelfService.pm b/fs_selfservice/FS-SelfService/SelfService.pm
index 185e3e2db..f97992c38 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: