diff options
author | Mark Wells <mark@freeside.biz> | 2013-06-28 16:42:17 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-06-28 16:42:17 -0700 |
commit | 3be3194b8429383cf47fde8ea662327a0a60d8b0 (patch) | |
tree | dbf3b9d2bf42ce661387ec7a4530e84f543d96b1 /FS/FS/cust_pay.pm | |
parent | a281af4caba53bfd4219bab5d07ce4153a83125a (diff) |
new thirdparty payment framework, #23752, #23579, #22395
Diffstat (limited to 'FS/FS/cust_pay.pm')
-rw-r--r-- | FS/FS/cust_pay.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index f6954a4..69f4c39 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -190,6 +190,15 @@ A hash of optional arguments may be passed. Currently "manual" is supported. If true, a payment receipt is sent instead of a statement when 'payment_receipt_email' configuration option is set. +About the "manual" flag: Normally, if the 'payment_receipt' config option +is set, and the customer has an invoice email address, inserting a payment +causes a I<statement> to be emailed to the customer. If the payment is +considered "manual" (or if the customer has no invoices), then it will +instead send a I<payment receipt>. "manual" should be true whenever a +payment is created directly from the web interface, from a user-initiated +realtime payment, or from a third-party payment via self-service. It should +be I<false> when creating a payment from a billing event or from a batch. + =cut sub insert { |