diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-08-03 17:52:34 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-08-03 17:52:34 -0700 |
commit | cf54023e010df76e0c39ac70902877d7c4c94c6e (patch) | |
tree | 8109fa975ae8ecb4435172f9a990435a734c67b6 /fs_selfservice/FS-SelfService/SelfService.pm | |
parent | d7759b49c2ff3b220ab328767645bfed85d18f31 (diff) | |
parent | ecf1c9cc0a20be6e489657e005ea771977b9f69c (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'fs_selfservice/FS-SelfService/SelfService.pm')
-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 bc54b1ef3..3be4ebd8b 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', @@ -682,6 +683,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, |