X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Facct_http.pm;h=b84e008b9df167b1bff5666c41d91d5e58ff86c7;hb=38e34bbc53a4222c7507e95914e1364a5a74623f;hp=23df7b37d0e253a6464a7f29c510ee3de2dbc501;hpb=1ad547a47f16b4230762e752fbe48d460ed997e1;p=freeside.git diff --git a/FS/FS/part_export/acct_http.pm b/FS/FS/part_export/acct_http.pm index 23df7b37d..b84e008b9 100644 --- a/FS/FS/part_export/acct_http.pm +++ b/FS/FS/part_export/acct_http.pm @@ -13,6 +13,9 @@ tie %options, 'Tie::IxHash', options =>[qw(POST)], default =>'POST' }, 'url' => { label => 'URL', default => 'http://', }, + 'ssl_no_verify' => { label => 'Skip SSL certificate validation', + type => 'checkbox', + }, 'insert_data' => { label => 'Insert data', type => 'textarea', @@ -41,6 +44,18 @@ tie %options, 'Tie::IxHash', "password \$new->_password", ), }, + 'suspend_data' => { + label => 'Suspend data', + type => 'textarea', + default => join("\n", + ), + }, + 'unsuspend_data' => { + label => 'Unsuspend data', + type => 'textarea', + default => join("\n", + ), + }, 'success_regexp' => { label => 'Success Regexp', default => '', @@ -54,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, -Crypt::SSLeay -or IO::Socket::SSL -is required. +modification and deletion. +

Each "Data" option takes a list of name value pairs on successive +lines. +

+If "Success Regexp" is specified, the response from the server will be +tested against it to determine if the export succeeded.

END );