if (!@text) {
- if ( $conf->config($tc.'template') ) {
+ if ( $conf->exists($tc.'template') ) {
warn "$me generating plain text invoice"
if $DEBUG;
use IO::Socket::SSL;
use LWP::UserAgent;
use HTTP::Request::Common qw( POST );
-use JSON::XS;
+use Cpanel::JSON::XS;
use MIME::Base64;
sub postal_mail_fsinc {
my ( $self, %opt ) = @_;