That's a good way to go deduce the problem.  You might also consider putting
in code to output the error that is coming back from the third party
Authorize.Net classes.  Ofbiz doesn't generally relay error messages from
outside the immediate ofbiz code base.

Chris

-----Original Message-----
From: BJ Freeman [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 24, 2007 10:59 AM
To: [email protected]
Subject: Re: POS and Authorize.net error

I would put some debug code in processCard
to see what is being sent in the properties.
or you can work you way thru
ccAuthCapture.

buildAIMProperties
is where reading in then properties file.
might check you have the correct info there.
/applications/accounting/config/payment.properties

Vince M. Clark sent the following on 11/24/2007 8:21 AM:
> 
> 
> 
> We use auth.net all the time thru eCommerce. Having problems with POS. 
> 
> Huge stack trace. Here is part of it: 
> 
> 
> 
> 2007-11-24 15:53:53,531 (Thread-148) [  ServiceDispatcher.java:527:ERROR] 
> ---- exception report
---------------------------------------------------------- 
> Could not commit transaction for service [authOrderPayments] call 
> Exception: org.ofbiz.entity.transaction.GenericTransactionException 
> Message: Roll back error, could not commit transaction, was rolled back
instead because of: Error in Service [authOrderPaymentPreference]: Error
processing payment authorization: org.ofbiz.base.util.GeneralException:
Problems invoking payment processor! Will retry later. Order ID is:
[FCCO10020 (Service target threw an unexpected exception (null)) 
> ---- stack trace
--------------------------------------------------------------- 
> org.ofbiz.entity.transaction.GenericTransactionException: Roll back error,
could not commit transaction, was rolled back instead because of: Error in
Service [authOrderPaymentPreference]: Error processing payment
authorization: org.ofbiz.base.util.GeneralException: Problems invoking
payment processor! Will retry later. Order ID is: [FCCO10020 (Service target
threw an unexpected exception (null)) 
>
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:208
) 
>
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:172
) 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:524) 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) 
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:150) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:954) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:860) 
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:624) 
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:304) 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
) 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25) 
> java.lang.reflect.Method.invoke(Method.java:585) 
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208) 
>
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.j
ava:105) 
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:120) 
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source) 
> java.lang.Thread.run(Thread.java:595) 
>
----------------------------------------------------------------------------
---- 
> 
> 2007-11-24 15:53:53,562 (Thread-148) [     PosTransaction.java:626:ERROR] 
> ---- exception report
---------------------------------------------------------- 
> Exception: org.ofbiz.base.util.GeneralException 
> Message: Error in authOrderPayments service:
org.ofbiz.service.GenericServiceException: Could not commit transaction for
service [authOrderPayments] call: Roll back error, could not commit
transaction, was rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null)) (Could not commit transaction for service
[authOrderPayments] call: Roll back error, could not commit transaction, was
rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null))) 
> ---- stack trace
--------------------------------------------------------------- 
> org.ofbiz.base.util.GeneralException: Error in authOrderPayments service:
org.ofbiz.service.GenericServiceException: Could not commit transaction for
service [authOrderPayments] call: Roll back error, could not commit
transaction, was rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null)) (Could not commit transaction for service
[authOrderPayments] call: Roll back error, could not commit transaction, was
rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null))) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:958) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:860) 
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:624) 
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:304) 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
) 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25) 
> java.lang.reflect.Method.invoke(Method.java:585) 
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208) 
>
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.j
ava:105) 
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:120) 
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source) 
> java.lang.Thread.run(Thread.java:595) 
> org.ofbiz.service.GenericServiceException: Could not commit transaction
for service [authOrderPayments] call: Roll back error, could not commit
transaction, was rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null)) 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:531) 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) 
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:150) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:954) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:860) 
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:624) 
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:304) 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
) 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25) 
> java.lang.reflect.Method.invoke(Method.java:585) 
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208) 
>
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.j
ava:105) 
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:120) 
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source) 
> java.lang.Thread.run(Thread.java:595) 
>
----------------------------------------------------------------------------
---- 
> 
> 2007-11-24 15:53:53,562 (Thread-148) [      PaymentEvents.java:307:ERROR] 
> ---- exception report
---------------------------------------------------------- 
> Error in authOrderPayments service:
org.ofbiz.service.GenericServiceException: Could not commit transaction for
service [authOrderPayments] call: Roll back error, could not commit
transaction, was rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null)) (Could not commit transaction for service
[authOrderPayments] call: Roll back error, could not commit transaction, was
rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null))) 
> Exception: org.ofbiz.base.util.GeneralException 
> Message: Error in authOrderPayments service:
org.ofbiz.service.GenericServiceException: Could not commit transaction for
service [authOrderPayments] call: Roll back error, could not commit
transaction, was rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null)) (Could not commit transaction for service
[authOrderPayments] call: Roll back error, could not commit transaction, was
rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null))) 
> ---- stack trace
--------------------------------------------------------------- 
> org.ofbiz.base.util.GeneralException: Error in authOrderPayments service:
org.ofbiz.service.GenericServiceException: Could not commit transaction for
service [authOrderPayments] call: Roll back error, could not commit
transaction, was rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null)) (Could not commit transaction for service
[authOrderPayments] call: Roll back error, could not commit transaction, was
rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null))) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:958) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:860) 
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:624) 
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:304) 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
) 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25) 
> java.lang.reflect.Method.invoke(Method.java:585) 
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208) 
>
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.j
ava:105) 
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:120) 
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source) 
> java.lang.Thread.run(Thread.java:595) 
> org.ofbiz.service.GenericServiceException: Could not commit transaction
for service [authOrderPayments] call: Roll back error, could not commit
transaction, was rolled back instead because of: Error in Service
[authOrderPaymentPreference]: Error processing payment authorization:
org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
Will retry later. Order ID is: [FCCO10020 (Service target threw an
unexpected exception (null)) 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:531) 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) 
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:150) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:954) 
>
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.ja
va:860) 
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:624) 
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:304) 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
) 
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25) 
> java.lang.reflect.Method.invoke(Method.java:585) 
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208) 
>
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.j
ava:105) 
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:120) 
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source) 
> java.lang.Thread.run(Thread.java:595) 
>
----------------------------------------------------------------------------
---- 
> 
> 
> 
> Vince Clark 
> Global Era 
> The Freedom of Open Source 
> [EMAIL PROTECTED] 
> (303) 493-6723 
> 

Reply via email to