diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-07-26 23:46:01 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-07-29 19:04:45 -0500 |
commit | b4236044e83406ccfe7cf19d7689da1ebe4e6d7d (patch) | |
tree | 479d287d3e902a61dddb560679be5217fe153fa1 /fs_selfservice | |
parent | 4f5e4641c64227e3b2c5ef369abc405a64b7bed7 (diff) |
RT#38881: BILL illegal payby in 4.x [update_payby]
Diffstat (limited to 'fs_selfservice')
-rw-r--r-- | fs_selfservice/FS-SelfService/SelfService.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs_selfservice/FS-SelfService/SelfService.pm b/fs_selfservice/FS-SelfService/SelfService.pm index 30c1b4344..b068c3b81 100644 --- a/fs_selfservice/FS-SelfService/SelfService.pm +++ b/fs_selfservice/FS-SelfService/SelfService.pm @@ -50,6 +50,7 @@ $socket .= '.'.$tag if defined $tag && length($tag); 'list_invoices' => 'MyAccount/list_invoices', #? 'list_payby' => 'MyAccount/list_payby', 'insert_payby' => 'MyAccount/insert_payby', + 'update_payby' => 'MyAccount/update_payby', 'delete_payby' => 'MyAccount/delete_payby', 'cancel' => 'MyAccount/cancel', #add to ss cgi! 'payment_info' => 'MyAccount/payment_info', @@ -681,6 +682,16 @@ Optional IP address from which payment was submitted If there is an error, returns a hash reference with a single key, B<error>, otherwise returns a hash reference with a single key, B<custpaybynum>. +=item update_payby HASHREF + +Updates stored payment information. Takes a hash reference with the same +keys as insert_payby, as well as B<custpaybynum> to specify which record +to update. All keys except B<session_id> and B<custpaybynum> are optional; +if omitted, the previous values in the record will be preserved. + +If there is an error, returns a hash reference with a single key, B<error>, +otherwise returns a hash reference with a single key, B<custpaybynum>. + =item delete_payby HASHREF Removes stored payment information. Takes a hash reference with two keys, |