[freeside-users] freeside-users Digest, Vol 152, Issue 3

WinPR Internet agswinpr at gmail.com
Thu Aug 23 13:05:01 PDT 2018


Now I'm having:

System error

error: 401 Unauthorized at
/usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line 209.
context:
...
162: local @CARP_NOT = $cgc ? $cgc->() : caller();
163: shortmess_heavy(@_);
164: }
165:
166: sub croak { die shortmess @_ }
167: sub confess { die longmess @_ }
168: sub carp { warn shortmess @_ }
169: sub cluck { warn longmess @_ }
170:
...
code stack: /usr/share/perl/5.20/Carp.pm:166
/usr/share/perl5/SOAP/Lite.pm:3613
/usr/share/perl5/SOAP/Lite.pm:3801
/usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm:209
/usr/share/perl5/Business/OnlinePayment.pm:116
/usr/share/perl5/Business/OnlinePayment.pm:116
/usr/share/perl5/Business/OnlinePayment.pm:116
/usr/share/perl5/FS/cust_main/Billing_Realtime.pm:741
/var/www/html/freeside/misc/process/payment.cgi:253
/var/www/html/freeside/autohandler:1
raw error


401 Unauthorized at
/usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line 209.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('401 Unauthorized at
/usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line
209.^J') called at /usr/share/perl/5.20/Carp.pm line 166
Carp::croak('401 Unauthorized') called at /usr/share/perl5/SOAP/Lite.pm
line 3613
SOAP::Lite::__ANON__('Service=HASH(0x5640692176c0)', '^Jsyntax error at
line 1, column 0, byte 0 at
/usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm line 187.^J^JStack:^J
[/usr/share/perl/5.20/Carp.pm:166]^J
[/usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser/Expat.pm:479]^J
[/usr/lib/x86_64-linux-gnu/perl5/5.20/XML/Parser.pm:187]^J
[/usr/share/perl5/SOAP/Lite.pm:1770]^J
[/usr/share/perl5/SOAP/Lite.pm:2135]^J
[/usr/share/perl5/SOAP/Lite.pm:2152]^J
[/usr/share/perl5/SOAP/Lite.pm:3793]^J
[/usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm:209]^J
[/usr/share/perl5/Business/OnlinePayment.pm:116]^J
[/usr/share/perl5/Business/OnlinePayment.pm:116]^J
[/usr/share/perl5/Business/OnlinePayment.pm:116]^J
[/usr/share/perl5/FS/cust_main/Billing_Realtime.pm:741]^J
[/var/www/html/freeside/misc/process/payment.cgi:253]^J
[/var/www/html/freeside/autohandler:1]^JUnauthorized Request. Bad or
missing credentials.') called at /usr/share/perl5/SOAP/Lite.pm line 3801
SOAP::Lite::call('Service=HASH(0x5640692176c0)', 'SendAndCommit',
'SOAP::Data=HASH(0x5640691a75d0)') called at
/usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line 209
eval {...} at
/usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line 209
Business::OnlinePayment::FirstDataGlobalGateway::submit('Business::OnlinePayment::FirstDataGlobalGateway=HASH(0x564069151cf0)')
called at /usr/share/perl5/Business/OnlinePayment.pm line 116
Business::OnlinePayment::__ANON__('Business::OnlinePayment::FirstDataGlobalGateway=HASH(0x564069151cf0)')
called at /usr/share/perl5/Business/OnlinePayment.pm line 116
Business::OnlinePayment::__ANON__('Business::OnlinePayment::FirstDataGlobalGateway=HASH(0x564069151cf0)')
called at /usr/share/perl5/Business/OnlinePayment.pm line 116
Business::OnlinePayment::__ANON__('Business::OnlinePayment::FirstDataGlobalGateway=HASH(0x564069151cf0)')
called at /usr/share/perl5/FS/cust_main/Billing_Realtime.pm line 741
FS::cust_main::Billing_Realtime::realtime_bop('FS::cust_main=HASH(0x564068e2d0c0)',
'CC', 55.84, 'cust_payby', 'FS::cust_payby=HASH(0x564068e2b858)', 'quiet',
1, 'manual', 1, 'balance', 55.84, 'payinfo', 4111111111111111, 'paymask',
'', 'paydate', '2020-01-01', 'payname', 'Crucito Marrero', 'payunique',
'webui-payment-1535053504-604-2181755571.46596', 'paycvv', 123,
'paynum_ref', 'SCALAR(0x564068e3f6b0)', 'discount_term', '',
'no_auto_apply', '', 'no_invnum', 1, 'invnum', '', 'address1', '123 Calle
5', 'address2', '', 'city', 'San Juan', 'county', '', 'state', 'PR', 'zip',
00920, 'country', 'US') called at
/var/www/html/freeside/misc/process/payment.cgi line 253
HTML::Mason::Commands::__ANON__('city_select', '', 'censusyear', '',
'censustract', '', 'month', 01, 'invoice', 'select', 'save', 1, 'address2',
'', 'payby', 'CARD', 'payment_option', 'select', 'district', '',
'latitude', '', 'old_district', '', 'old_state', '', 'amount', 55.84,
'payunique', 'webui-payment-1535053504-604-2181755571.46596',
'old_address1', '123 Calle 5', 'old_locationname', '', 'longitude', '',
'custpaybynum', '', 'old_addr_clean', '', 'zip', 00920, 'apply', 'yes',
'address1', '123 Calle 5', 'old_country', 'PR', 'weight', 1, 'country',
'US', 'payname', 'Crucito Marrero', 'inv2', 55.84, 'old_latitude',
18.4296735, 'old_zip', 00920, 'old_longitude', -66.0517381, 'locationname',
'', 'geocode', '', 'state', 'PR', 'old_city', 'San Juan', 'balance', 55.84,
'coord_auto', 'Y', 'custnum', 10, 'county', '', 'paycvv', 123,
'addr_clean', '', 'old_censustract', '', 'city', 'San Juan', 'payinfo',
4111111111111111, 'cachenum', '', 'year', 2020) called at
/usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x564068e2be38)',
'city_select', '', 'censusyear', '', 'censustract', '', 'month', 01,
'invoice', 'select', 'save', 1, 'address2', '', 'payby', 'CARD',
'payment_option', 'select', 'district', '', 'latitude', '', 'old_district',
'', 'old_state', '', 'amount', 55.84, 'payunique',
'webui-payment-1535053504-604-2181755571.46596', 'old_address1', '123 Calle
5', 'old_locationname', '', 'longitude', '', 'custpaybynum', '',
'old_addr_clean', '', 'zip', 00920, 'apply', 'yes', 'address1', '123 Calle
5', 'old_country', 'PR', 'weight', 1, 'country', 'US', 'payname', 'Crucito
Marrero', 'inv2', 55.84, 'old_latitude', 18.4296735, 'old_zip', 00920,
'old_longitude', -66.0517381, 'locationname', '', 'geocode', '', 'state',
'PR', 'old_city', 'San Juan', 'balance', 55.84, 'coord_auto', 'Y',
'custnum', 10, 'county', '', 'paycvv', 123, 'addr_clean', '',
'old_censustract', '', 'city', 'San Juan', 'payinfo', 4111111111111111,
'cachenum', '', 'year', 2020) called at
/usr/share/perl5/HTML/Mason/Request.pm line 1305
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef, 'city_select', '',
'censusyear', '', 'censustract', '', 'month', 01, 'invoice', 'select',
'save', 1, 'address2', '', 'payby', 'CARD', 'payment_option', 'select',
'district', '', 'latitude', '', 'old_district', '', 'old_state', '',
'amount', 55.84, 'payunique',
'webui-payment-1535053504-604-2181755571.46596', 'old_address1', '123 Calle
5', 'old_locationname', '', 'longitude', '', 'custpaybynum', '',
'old_addr_clean', '', 'zip', 00920, 'apply', 'yes', 'address1', '123 Calle
5', 'old_country', 'PR', 'weight', 1, 'country', 'US', 'payname', 'Crucito
Marrero', 'inv2', 55.84, 'old_latitude', 18.4296735, 'old_zip', 00920,
'old_longitude', -66.0517381, 'locationname', '', 'geocode', '', 'state',
'PR', 'old_city', 'San Juan', 'balance', 55.84, 'coord_auto', 'Y',
'custnum', 10, 'county', '', 'paycvv', 123, 'addr_clean', '',
'old_censustract', '', 'city', 'San Juan', 'payinfo', 4111111111111111,
'cachenum', '', 'year', 2020) called at
/usr/share/perl5/HTML/Mason/Request.pm line 958
HTML::Mason::Request::call_next('FS::Mason::Request=HASH(0x564068e3bb28)')
called at /var/www/html/freeside/autohandler line 1
HTML::Mason::Commands::__ANON__('city_select', '', 'censusyear', '',
'censustract', '', 'month', 01, 'invoice', 'select', 'save', 1, 'address2',
'', 'payby', 'CARD', 'payment_option', 'select', 'district', '',
'latitude', '', 'old_district', '', 'old_state', '', 'amount', 55.84,
'payunique', 'webui-payment-1535053504-604-2181755571.46596',
'old_address1', '123 Calle 5', 'old_locationname', '', 'longitude', '',
'custpaybynum', '', 'old_addr_clean', '', 'zip', 00920, 'apply', 'yes',
'address1', '123 Calle 5', 'old_country', 'PR', 'weight', 1, 'country',
'US', 'payname', 'Crucito Marrero', 'inv2', 55.84, 'old_latitude',
18.4296735, 'old_zip', 00920, 'old_longitude', -66.0517381, 'locationname',
'', 'geocode', '', 'state', 'PR', 'old_city', 'San Juan', 'balance', 55.84,
'coord_auto', 'Y', 'custnum', 10, 'county', '', 'paycvv', 123,
'addr_clean', '', 'old_censustract', '', 'city', 'San Juan', 'payinfo',
4111111111111111, 'cachenum', '', 'year', 2020) called at
/usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x564068e184a8)',
'city_select', '', 'censusyear', '', 'censustract', '', 'month', 01,
'invoice', 'select', 'save', 1, 'address2', '', 'payby', 'CARD',
'payment_option', 'select', 'district', '', 'latitude', '', 'old_district',
'', 'old_state', '', 'amount', 55.84, 'payunique',
'webui-payment-1535053504-604-2181755571.46596', 'old_address1', '123 Calle
5', 'old_locationname', '', 'longitude', '', 'custpaybynum', '',
'old_addr_clean', '', 'zip', 00920, 'apply', 'yes', 'address1', '123 Calle
5', 'old_country', 'PR', 'weight', 1, 'country', 'US', 'payname', 'Crucito
Marrero', 'inv2', 55.84, 'old_latitude', 18.4296735, 'old_zip', 00920,
'old_longitude', -66.0517381, 'locationname', '', 'geocode', '', 'state',
'PR', 'old_city', 'San Juan', 'balance', 55.84, 'coord_auto', 'Y',
'custnum', 10, 'county', '', 'paycvv', 123, 'addr_clean', '',
'old_censustract', '', 'city', 'San Juan', 'payinfo', 4111111111111111,
'cachenum', '', 'year', 2020) called at
/usr/share/perl5/HTML/Mason/Request.pm line 1303
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef, 'city_select', '',
'censusyear', '', 'censustract', '', 'month', 01, 'invoice', 'select',
'save', 1, 'address2', '', 'payby', 'CARD', 'payment_option', 'select',
'district', '', 'latitude', '', 'old_district', '', 'old_state', '',
'amount', 55.84, 'payunique',
'webui-payment-1535053504-604-2181755571.46596', 'old_address1', '123 Calle
5', 'old_locationname', '', 'longitude', '', 'custpaybynum', '',
'old_addr_clean', '', 'zip', 00920, 'apply', 'yes', 'address1', '123 Calle
5', 'old_country', 'PR', 'weight', 1, 'country', 'US', 'payname', 'Crucito
Marrero', 'inv2', 55.84, 'old_latitude', 18.4296735, 'old_zip', 00920,
'old_longitude', -66.0517381, 'locationname', '', 'geocode', '', 'state',
'PR', 'old_city', 'San Juan', 'balance', 55.84, 'coord_auto', 'Y',
'custnum', 10, 'county', '', 'paycvv', 123, 'addr_clean', '',
'old_censustract', '', 'city', 'San Juan', 'payinfo', 4111111111111111,
'cachenum', '', 'year', 2020) called at
/usr/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('FS::Mason::Request=HASH(0x564068e3bb28)')
called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('FS::Mason::Request=HASH(0x564068e3bb28)')
called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x5640657d9d60)',
'Apache2::RequestRec=SCALAR(0x56406587d340)') called at
/usr/local/etc/freeside/handler.pl line 153
eval {...} at /usr/local/etc/freeside/handler.pl line 153
HTML::Mason::handler('Apache2::RequestRec=SCALAR(0x56406587d340)') called
at -e line 0
eval {...} at -e line 0


On Thu, Aug 23, 2018 at 3:00 PM <freeside-users-request at freeside.biz> wrote:

> Send freeside-users mailing list submissions to
>         freeside-users at freeside.biz
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users
> or, via email, send a message with subject or body 'help' to
>         freeside-users-request at freeside.biz
>
> You can reach the person managing the list at
>         freeside-users-owner at freeside.biz
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of freeside-users digest..."
>
>
> Today's Topics:
>
>    1. Configuring Real-Time Processing (WinPR Internet)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 23 Aug 2018 09:40:29 -0400
> From: WinPR Internet <agswinpr at gmail.com>
> To: freeside-users at freeside.biz
> Subject: [freeside-users] Configuring Real-Time Processing
> Message-ID:
>         <CAJVsxZyCc64qfT+OCA1vs+4=
> La3Ci3p81uiwVESdM0FWxxYEbg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi All,
> I'm trying to setup real-time CC processing. I did configure as in
>
> http://www.freeside.biz/mediawiki/index.php/Freeside:3:Documentation:Administration:Real-time_Processing
> I'm using FirstData as processor, my first test I'm having this error:
>
> System error
>
> error: Can't call method "paydate" on an undefined value at
> /var/www/html/freeside/misc/process/payment.cgi line 215.
> context:
> ...
> 211:
> 212: my $error = '';
> 213: my $paynum = '';
> 214: my $paydate;
> 215: if ($cust_payby->paydate) { $paydate = "$year-$month-01"; }
> 216: else { $paydate = "2037-12-01"; }
> 217:
> 218: if ( $cgi->param('batch') ) {
> 219:
> ...
> code stack: /var/www/html/freeside/misc/process/payment.cgi:215
> /var/www/html/freeside/autohandler:1
> raw error
>
> How can I fix it?
> Thanks in advance,
>
> Tony
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.freeside.biz/pipermail/freeside-users/attachments/20180823/408cdc72/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> freeside-users mailing list
> freeside-users at freeside.biz
> http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>
>
> ------------------------------
>
> End of freeside-users Digest, Vol 152, Issue 3
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.freeside.biz/pipermail/freeside-users/attachments/20180823/9d10f585/attachment-0001.html>


More information about the freeside-users mailing list