diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-04-25 11:54:04 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-04-25 11:54:04 -0700 |
commit | 0024f2331ce82ffaa87af9c6bd516d5bbe851923 (patch) | |
tree | eb5f4f514e3bd9d8dc75f26db0bdb5044f7811a3 /fs_selfservice/FS-SelfService | |
parent | a74684f5655f4dd9595cd8dc48077fdfe12b22c9 (diff) |
run_bill_events option for order_pkg, RT#42053
Diffstat (limited to 'fs_selfservice/FS-SelfService')
-rw-r--r-- | fs_selfservice/FS-SelfService/SelfService.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs_selfservice/FS-SelfService/SelfService.pm b/fs_selfservice/FS-SelfService/SelfService.pm index 8d9982618..ecbb6e932 100644 --- a/fs_selfservice/FS-SelfService/SelfService.pm +++ b/fs_selfservice/FS-SelfService/SelfService.pm @@ -930,6 +930,10 @@ Number of total bytes gained by recharge Orders a package for this customer. +If signup_server-realtime is set, bills the new package, attemps to collect +payment and (for auto-payment customers) cancels the package if the payment is +declined. + Takes a hash reference as parameter with the following keys: =over 4 @@ -946,6 +950,11 @@ Package to order (see L<FS::part_pkg>). Quantity for this package order (default 1). +=item run_bill_events + +If true, runs billing events for the customer after ordering and billing the +package (signup_server-realtime must be set). + =item locationnum Optional locationnum for this package order, for existing locations. |