From fb33c62b24ea064bb292a68f2469819ddd54951e Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 27 Oct 2015 19:09:07 -0500 Subject: [PATCH] RT#38671: Do not include charges and credits from failed signup processing [deprecated signup_credit_type] --- FS/FS/Conf.pm | 3 ++- FS/FS/cust_credit.pm | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 95f8aca3a..eaebb22ab 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -4298,9 +4298,10 @@ and customer address. Include units.', reason_type_options('R'), }, + # was only used to negate invoices during signup when card was declined, now we just void { 'key' => 'signup_credit_type', - 'section' => 'billing', #self-service? + 'section' => 'deprecated', #self-service? 'description' => 'The group to use for new, automatically generated credit reasons resulting from signup and self-service declines.', reason_type_options('R'), }, diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm index 544a0e83d..e442bdd76 100644 --- a/FS/FS/cust_credit.pm +++ b/FS/FS/cust_credit.pm @@ -41,7 +41,6 @@ $FS::UID::callback{'FS::cust_credit'} = sub { our %reasontype_map = ( 'referral_credit_type' => 'Referral Credit', 'cancel_credit_type' => 'Cancellation Credit', - 'signup_credit_type' => 'Self-Service Credit', ); =head1 NAME -- 2.20.1