X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fpart_export%2Facct_http.pm;h=b84e008b9df167b1bff5666c41d91d5e58ff86c7;hb=df506d96df0ba3854d7a263c4f10ac028ffc8c6e;hp=414350bbab292f6106854001091c7e64016cc3e0;hpb=dcc0fd92717b25595ba7cd8a712e2eff10454291;p=freeside.git diff --git a/FS/FS/part_export/acct_http.pm b/FS/FS/part_export/acct_http.pm index 414350bba..b84e008b9 100644 --- a/FS/FS/part_export/acct_http.pm +++ b/FS/FS/part_export/acct_http.pm @@ -69,10 +69,16 @@ tie %options, 'Tie::IxHash', 'no_machine' => 1, 'notes' => <<'END' Send an HTTP or HTTPS GET or POST to the specified URL on account addition, -modification and deletion. For HTTPS support, -<a href="http://search.cpan.org/dist/Crypt-SSLeay">Crypt::SSLeay</a> -or <a href="http://search.cpan.org/dist/IO-Socket-SSL">IO::Socket::SSL</a> -is required. +modification and deletion. +<p>Each "Data" option takes a list of <i>name value</i> pairs on successive +lines. +<ul><li><i>name</i> is an unquoted, literal string without whitespace.</li> +<li><i>value</i> is a Perl expression that will be evaluated. If it's a +literal string, it must be quoted. This expression has access to the +svc_acct object as '$svc_x' (or '$new' and '$old' in "Replace Data") +and the customer record as '$cust_main'.</li></ul> +If "Success Regexp" is specified, the response from the server will be +tested against it to determine if the export succeeded.</p> END );