<div dir="ltr">Fixed,<div><br></div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 23, 2018 at 4:51 PM <<a href="mailto:freeside-users-request@freeside.biz">freeside-users-request@freeside.biz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send freeside-users mailing list submissions to<br>
        <a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users" rel="noreferrer" target="_blank">http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:freeside-users-request@freeside.biz" target="_blank">freeside-users-request@freeside.biz</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:freeside-users-owner@freeside.biz" target="_blank">freeside-users-owner@freeside.biz</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of freeside-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: freeside-users Digest, Vol 152, Issue 3 (John Wilson)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 23 Aug 2018 16:51:17 -0400<br>
From: John Wilson <<a href="mailto:johnwilson1969@gmail.com" target="_blank">johnwilson1969@gmail.com</a>><br>
To: Freeside users mailing list <<a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a>><br>
Subject: Re: [freeside-users] freeside-users Digest, Vol 152, Issue 3<br>
Message-ID: <<a href="mailto:arr5lsbc8nmr1icr6g0i54y8.1535057477328@email.android.com" target="_blank">arr5lsbc8nmr1icr6g0i54y8.1535057477328@email.android.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
The answer seems to be in the error message. Your credentials for 'firstdataglobal' gateway are incorrect or missing.<br>
<br>
Unauthorized Request. Bad or missing credentials.<br>
<br>
On August 23, 2018, at 4:05 PM, WinPR Internet <<a href="mailto:agswinpr@gmail.com" target="_blank">agswinpr@gmail.com</a>> wrote:<br>
<br>
Now I'm having:<br>
<br>
<br>
System error<br>
<br>
<br>
error:  401 Unauthorized at /usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line 209.<br>
<br>
context:        <br>
<br>
...     <br>
<br>
162:    local @CARP_NOT = $cgc ? $cgc->() : caller();<br>
<br>
163:    shortmess_heavy(@_);<br>
<br>
164:    }<br>
<br>
165:    <br>
<br>
166:    sub croak { die shortmess @_ }<br>
<br>
167:    sub confess { die longmess @_ }<br>
<br>
168:    sub carp { warn shortmess @_ }<br>
<br>
169:    sub cluck { warn longmess @_ }<br>
<br>
170:    <br>
<br>
...     <br>
<br>
code stack:     /usr/share/perl/5.20/Carp.pm:166<br>
<br>
/usr/share/perl5/SOAP/Lite.pm:3613<br>
<br>
/usr/share/perl5/SOAP/Lite.pm:3801<br>
<br>
/usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm:209<br>
<br>
/usr/share/perl5/Business/OnlinePayment.pm:116<br>
<br>
/usr/share/perl5/Business/OnlinePayment.pm:116<br>
<br>
/usr/share/perl5/Business/OnlinePayment.pm:116<br>
<br>
/usr/share/perl5/FS/cust_main/Billing_Realtime.pm:741<br>
<br>
/var/www/html/freeside/misc/process/payment.cgi:253<br>
<br>
/var/www/html/freeside/autohandler:1<br>
<br>
raw error<br>
<br>
<br>
<br>
401 Unauthorized at /usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line 209.<br>
<br>
<br>
<br>
Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129<br>
<br>
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<br>
<br>
Carp::croak('401 Unauthorized') called at /usr/share/perl5/SOAP/Lite.pm line 3613<br>
<br>
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<br>
<br>
SOAP::Lite::call('Service=HASH(0x5640692176c0)', 'SendAndCommit', 'SOAP::Data=HASH(0x5640691a75d0)') called at /usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line 209<br>
<br>
eval {...} at /usr/share/perl5/Business/OnlinePayment/FirstDataGlobalGateway.pm line 209<br>
<br>
Business::OnlinePayment::FirstDataGlobalGateway::submit('Business::OnlinePayment::FirstDataGlobalGateway=HASH(0x564069151cf0)') called at /usr/share/perl5/Business/OnlinePayment.pm line 116<br>
<br>
Business::OnlinePayment::__ANON__('Business::OnlinePayment::FirstDataGlobalGateway=HASH(0x564069151cf0)') called at /usr/share/perl5/Business/OnlinePayment.pm line 116<br>
<br>
Business::OnlinePayment::__ANON__('Business::OnlinePayment::FirstDataGlobalGateway=HASH(0x564069151cf0)') called at /usr/share/perl5/Business/OnlinePayment.pm line 116<br>
<br>
Business::OnlinePayment::__ANON__('Business::OnlinePayment::FirstDataGlobalGateway=HASH(0x564069151cf0)') called at /usr/share/perl5/FS/cust_main/Billing_Realtime.pm line 741<br>
<br>
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<br>
<br>
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<br>
<br>
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<br>
<br>
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295<br>
<br>
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<br>
<br>
HTML::Mason::Request::call_next('FS::Mason::Request=HASH(0x564068e3bb28)') called at /var/www/html/freeside/autohandler line 1<br>
<br>
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<br>
<br>
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<br>
<br>
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295<br>
<br>
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<br>
<br>
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 484<br>
<br>
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 436<br>
<br>
HTML::Mason::Request::exec('FS::Mason::Request=HASH(0x564068e3bb28)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165<br>
<br>
HTML::Mason::Request::ApacheHandler::exec('FS::Mason::Request=HASH(0x564068e3bb28)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831<br>
<br>
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x5640657d9d60)', 'Apache2::RequestRec=SCALAR(0x56406587d340)') called at /usr/local/etc/freeside/<a href="http://handler.pl" rel="noreferrer" target="_blank">handler.pl</a> line 153<br>
<br>
eval {...} at /usr/local/etc/freeside/<a href="http://handler.pl" rel="noreferrer" target="_blank">handler.pl</a> line 153<br>
<br>
HTML::Mason::handler('Apache2::RequestRec=SCALAR(0x56406587d340)') called at -e line 0<br>
<br>
eval {...} at -e line 0<br>
<br>
<br>
<br>
On Thu, Aug 23, 2018 at 3:00 PM <<a href="mailto:freeside-users-request@freeside.biz" target="_blank">freeside-users-request@freeside.biz</a>> wrote:<br>
<br>
Send freeside-users mailing list submissions to<br>
        <a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users" rel="noreferrer" target="_blank">http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:freeside-users-request@freeside.biz" target="_blank">freeside-users-request@freeside.biz</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:freeside-users-owner@freeside.biz" target="_blank">freeside-users-owner@freeside.biz</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of freeside-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Configuring Real-Time Processing (WinPR Internet)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 23 Aug 2018 09:40:29 -0400<br>
From: WinPR Internet <<a href="mailto:agswinpr@gmail.com" target="_blank">agswinpr@gmail.com</a>><br>
To: <a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a><br>
Subject: [freeside-users] Configuring Real-Time Processing<br>
Message-ID:<br>
        <CAJVsxZyCc64qfT+OCA1vs+4=<a href="mailto:La3Ci3p81uiwVESdM0FWxxYEbg@mail.gmail.com" target="_blank">La3Ci3p81uiwVESdM0FWxxYEbg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi All,<br>
I'm trying to setup real-time CC processing. I did configure as in<br>
<a href="http://www.freeside.biz/mediawiki/index.php/Freeside:3:Documentation:Administration:Real-time_Processing" rel="noreferrer" target="_blank">http://www.freeside.biz/mediawiki/index.php/Freeside:3:Documentation:Administration:Real-time_Processing</a><br>
I'm using FirstData as processor, my first test I'm having this error:<br>
<br>
System error<br>
<br>
error: Can't call method "paydate" on an undefined value at<br>
/var/www/html/freeside/misc/process/payment.cgi line 215.<br>
context:<br>
...<br>
211:<br>
212: my $error = '';<br>
213: my $paynum = '';<br>
214: my $paydate;<br>
215: if ($cust_payby->paydate) { $paydate = "$year-$month-01"; }<br>
216: else { $paydate = "2037-12-01"; }<br>
217:<br>
218: if ( $cgi->param('batch') ) {<br>
219:<br>
...<br>
code stack: /var/www/html/freeside/misc/process/payment.cgi:215<br>
/var/www/html/freeside/autohandler:1<br>
raw error<br>
<br>
How can I fix it?<br>
Thanks in advance,<br>
<br>
Tony<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.freeside.biz/pipermail/freeside-users/attachments/20180823/408cdc72/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.freeside.biz/pipermail/freeside-users/attachments/20180823/408cdc72/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
freeside-users mailing list<br>
<a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a><br>
<a href="http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users" rel="noreferrer" target="_blank">http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of freeside-users Digest, Vol 152, Issue 3<br>
**********************************************<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.freeside.biz/pipermail/freeside-users/attachments/20180823/078e5641/attachment.html" rel="noreferrer" target="_blank">http://mail.freeside.biz/pipermail/freeside-users/attachments/20180823/078e5641/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
freeside-users mailing list<br>
<a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a><br>
<a href="http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users" rel="noreferrer" target="_blank">http://mail.freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of freeside-users Digest, Vol 152, Issue 5<br>
**********************************************<br>
</blockquote></div>