Payment Method Problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Payment Method Problem

Ajay @ Pal InfoCom
Hello all,

I am having a problem in setting up the authorize.net account in OFBiz. I have created a test account of authorize.net, and fill the required information in payment.properties file. I also have configured "Catalog -> Store -> Payment" tab and set the Product Store Payment settings as:


Payment Method
Service Type
Service Name
Payment prop
Apply to all
Credit Card
Payment Authorization Service
authorize.net
[Global]
Y
Credit Card
Payment Auth Verification Service
authorize.net [Global] Y
Credit Card
Payment Capture Service
authorize.net [Global] Y
Credit Card
External Payment (No Service)
authorize.net [Global] Y
Credit Card Payment Re-Authorization Service authorize.net [Global] Y
Credit Card
Payment Refund Service
authorize.net [Global] Y

Now, I am facing two problems here. Firstly, I am not able to see all the payment methods, like - PayPal, WorldPay, Authorize.net, during checkout process, and secondly, facing the following error:

The Following Errors Occurred:,,ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [processOrderPayments] call: Roll back error, could not commit transaction, was rolled back instead because of: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10051 (Cannot locate service by name (authorize.net)))


Can anybody have any idea about :

1. Why its not possible to see the the various payment options during checkout process. Am I missing something, somewhere?
2. Why the current error is occurring?

Any suggestions / Ides will be appreciated.

Thanks and regards,

Ajay Sodhi
Reply | Threaded
Open this post in threaded view
|

Re: Payment Method Problem

BJ Freeman
first look in
https://localhost:18443/webtools/control/FindGeneric?entityName=PaymentMethodType&find=true&VIEW_SIZE=50&VIEW_INDEX=0
I only see paypal and worldpay listed.
you may have to look at the relationships and artifacts to make sure you
have all the data needed.
second all the data you show does not exist in Product Store Payment
settings
https://localhost:18443/catalog/control/EditProductStorePaySetup
for Trunk or ver4.0

Ajay @ Pal InfoCom sent the following on 4/24/2008 6:39 AM:

> Hello all,
>
> I am having a problem in setting up the /authorize.net/ account in OFBiz. I have
> created a test account of /authorize.net/, and fill the required information in
> payment.properties file. I also have configured "Catalog -> Store -> Payment"
> tab and set the Product Store Payment settings as:
>
>
> *Payment Method
> * *Service Type
> * *Service Name
> * *Payment prop
> * *Apply to all
> *
> Credit Card
>
> Payment Authorization Service
> authorize.net
> [Global]
> Y
> Credit Card
> Payment Auth Verification Service
> authorize.net [Global] Y
> Credit Card
> Payment Capture Service
> authorize.net [Global] Y
> Credit Card
> External Payment (No Service)
> authorize.net [Global] Y
> Credit Card Payment Re-Authorization Service authorize.net [Global] Y
> Credit Card
> Payment Refund Service
> authorize.net [Global] Y
>
>
> Now, I am facing two problems here. Firstly, I am not able to see all the
> payment methods, like - PayPal, WorldPay, Authorize.net, during checkout
> process, and secondly, facing the following error:
>
> The Following Errors Occurred:,,ERROR: Could not create order (problem invoking
> the service: Could not commit transaction for service [processOrderPayments]
> call: Roll back error, could not commit transaction, was rolled back instead
> because of: Service Error [authOrderPaymentPreference]: Error processing payment
> authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment
> processor! Will retry later. Order ID is: [10051 (Cannot locate service by name
> (authorize.net)))
>
>
> Can anybody have any idea about :
>
> 1. Why its not possible to see the the various payment options during checkout
> process. Am I missing something, somewhere?
> 2. Why the current error is occurring?
>
> Any suggestions / Ides will be appreciated.
>
> Thanks and regards,
>
> Ajay Sodhi

Reply | Threaded
Open this post in threaded view
|

Re: Payment Method Problem

BJ Freeman
oops sorry ports should be 8443.

BJ Freeman sent the following on 4/24/2008 7:54 AM:

> first look in
> https://localhost:18443/webtools/control/FindGeneric?entityName=PaymentMethodType&find=true&VIEW_SIZE=50&VIEW_INDEX=0
> I only see paypal and worldpay listed.
> you may have to look at the relationships and artifacts to make sure you
> have all the data needed.
> second all the data you show does not exist in Product Store Payment
> settings
> https://localhost:18443/catalog/control/EditProductStorePaySetup
> for Trunk or ver4.0
>
> Ajay @ Pal InfoCom sent the following on 4/24/2008 6:39 AM:
>> Hello all,
>>
>> I am having a problem in setting up the /authorize.net/ account in OFBiz. I have
>> created a test account of /authorize.net/, and fill the required information in
>> payment.properties file. I also have configured "Catalog -> Store -> Payment"
>> tab and set the Product Store Payment settings as:
>>
>>
>> *Payment Method
>> * *Service Type
>> * *Service Name
>> * *Payment prop
>> * *Apply to all
>> *
>> Credit Card
>>
>> Payment Authorization Service
>> authorize.net
>> [Global]
>> Y
>> Credit Card
>> Payment Auth Verification Service
>> authorize.net [Global] Y
>> Credit Card
>> Payment Capture Service
>> authorize.net [Global] Y
>> Credit Card
>> External Payment (No Service)
>> authorize.net [Global] Y
>> Credit Card Payment Re-Authorization Service authorize.net [Global] Y
>> Credit Card
>> Payment Refund Service
>> authorize.net [Global] Y
>>
>>
>> Now, I am facing two problems here. Firstly, I am not able to see all the
>> payment methods, like - PayPal, WorldPay, Authorize.net, during checkout
>> process, and secondly, facing the following error:
>>
>> The Following Errors Occurred:,,ERROR: Could not create order (problem invoking
>> the service: Could not commit transaction for service [processOrderPayments]
>> call: Roll back error, could not commit transaction, was rolled back instead
>> because of: Service Error [authOrderPaymentPreference]: Error processing payment
>> authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment
>> processor! Will retry later. Order ID is: [10051 (Cannot locate service by name
>> (authorize.net)))
>>
>>
>> Can anybody have any idea about :
>>
>> 1. Why its not possible to see the the various payment options during checkout
>> process. Am I missing something, somewhere?
>> 2. Why the current error is occurring?
>>
>> Any suggestions / Ides will be appreciated.
>>
>> Thanks and regards,
>>
>> Ajay Sodhi
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Payment Method Problem

BJ Freeman
In reply to this post by BJ Freeman
My bad the data is displayed but the global and Y threw me.
if you look in the servicedef services_authoriz.net.xml

BJ Freeman sent the following on 4/24/2008 7:54 AM:

> first look in
> https://localhost:18443/webtools/control/FindGeneric?entityName=PaymentMethodType&find=true&VIEW_SIZE=50&VIEW_INDEX=0
> I only see paypal and worldpay listed.
> you may have to look at the relationships and artifacts to make sure you
> have all the data needed.
> second all the data you show does not exist in Product Store Payment
> settings
> https://localhost:18443/catalog/control/EditProductStorePaySetup
> for Trunk or ver4.0
>
> Ajay @ Pal InfoCom sent the following on 4/24/2008 6:39 AM:
>> Hello all,
>>
>> I am having a problem in setting up the /authorize.net/ account in OFBiz. I have
>> created a test account of /authorize.net/, and fill the required information in
>> payment.properties file. I also have configured "Catalog -> Store -> Payment"
>> tab and set the Product Store Payment settings as:
>>
>>
>> *Payment Method
>> * *Service Type
>> * *Service Name
>> * *Payment prop
>> * *Apply to all
>> *
>> Credit Card
>>
>> Payment Authorization Service
>> authorize.net
>> [Global]
>> Y
>> Credit Card
>> Payment Auth Verification Service
>> authorize.net [Global] Y
>> Credit Card
>> Payment Capture Service
>> authorize.net [Global] Y
>> Credit Card
>> External Payment (No Service)
>> authorize.net [Global] Y
>> Credit Card Payment Re-Authorization Service authorize.net [Global] Y
>> Credit Card
>> Payment Refund Service
>> authorize.net [Global] Y
>>
>>
>> Now, I am facing two problems here. Firstly, I am not able to see all the
>> payment methods, like - PayPal, WorldPay, Authorize.net, during checkout
>> process, and secondly, facing the following error:
>>
>> The Following Errors Occurred:,,ERROR: Could not create order (problem invoking
>> the service: Could not commit transaction for service [processOrderPayments]
>> call: Roll back error, could not commit transaction, was rolled back instead
>> because of: Service Error [authOrderPaymentPreference]: Error processing payment
>> authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment
>> processor! Will retry later. Order ID is: [10051 (Cannot locate service by name
>> (authorize.net)))
>>
>>
>> Can anybody have any idea about :
>>
>> 1. Why its not possible to see the the various payment options during checkout
>> process. Am I missing something, somewhere?
>> 2. Why the current error is occurring?
>>
>> Any suggestions / Ides will be appreciated.
>>
>> Thanks and regards,
>>
>> Ajay Sodhi
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Payment Method Problem

Ajay @ Pal InfoCom
In reply to this post by Ajay @ Pal InfoCom
Hello All,

I have changed the Service Name from authorize.net to "AIMCCAuthCapture" which is a service to validate the card details and deduct the payment, which will be called at the time of checkout. Now I am getting the error: "Problems invoking payment processor!".  The full stack trace is as follows:


---- exception report ----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
Exception: java.lang.Exception
Message: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10121 (Service target threw an unexpected exception (null))
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10121 (Service target threw an unexpected exception (null))
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:291)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:238)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:414)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.accounting.payment.PaymentGatewayServices.authOrderPayments(PaymentGatewayServices.java:341)
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.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:335)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:150)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:923)
org.ofbiz.order.order.OrderServices.processOrderPayments(OrderServices.java:3483)
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.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:335)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:104)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:138)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:451)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:104)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:138)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:451)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.shoppingcart.CheckOutHelper.createOrder(CheckOutHelper.java:554)
org.ofbiz.order.shoppingcart.CheckOutEvents.createOrder(CheckOutEvents.java:416)
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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2008-04-25 17:41:44,089 (http-0.0.0.0-8443-Processor3) [PaymentGatewayServices.java:361:INFO ] Finished with auth(s) checking results
2008-04-25 17:41:44,090 (http-0.0.0.0-8443-Processor3) [PaymentGatewayServices.java:367:ERROR] Error(s) (1) during auth; returning ERROR
2008-04-25 17:41:44,137 (http-0.0.0.0-8443-Processor3) [   ServiceXaWrapper.java:188:INFO ] ServiceXaWrapper#rollback() : [globalId=fffffff020000005748415420444f2057452043414c4c2049543f0000000000000000000000000000000000000,branchId=400000005748415420444f2057452043414c4c2049543f0000000000000000000000000000000000000]
2008-04-25 17:41:44,142 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:200:ERROR]
---- exception report ----------------------------------------------------------
Rollback Only was set when trying to commit transaction here; throwing rollbackOnly cause exception
Exception: javax.transaction.RollbackException
Message: null
---- stack trace ---------------------------------------------------------------
javax.transaction.RollbackException
org.apache.geronimo.transaction.context.GeronimoTransactionManager.commit(GeronimoTransactionManager.java:82)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:179)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:421)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:104)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:138)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:451)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:104)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:138)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:451)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.shoppingcart.CheckOutHelper.createOrder(CheckOutHelper.java:554)
org.ofbiz.order.shoppingcart.CheckOutEvents.createOrder(CheckOutEvents.java:416)
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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2008-04-25 17:41:44,144 (http-0.0.0.0-8443-Processor3) [  ServiceDispatcher.java:424:ERROR]
---- exception report ----------------------------------------------------------
Could not commit transaction for service [processOrderPayments] call
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: Roll back error, could not commit transaction, was rolled back instead because of: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10121 (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: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10121 (Service target threw an unexpected exception (null))
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:201)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:421)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:104)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:138)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:451)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:104)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:138)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:451)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.shoppingcart.CheckOutHelper.createOrder(CheckOutHelper.java:554)
org.ofbiz.order.shoppingcart.CheckOutEvents.createOrder(CheckOutEvents.java:416)
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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2008-04-25 17:41:44,149 (http-0.0.0.0-8443-Processor3) [     CheckOutHelper.java:566:ERROR]
---- exception report ----------------------------------------------------------
ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [processOrderPayments] call: Roll back error, could not commit transaction, was rolled back instead because of: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10121 (Service target threw an unexpected exception (null)))
Exception: org.ofbiz.service.GenericServiceException
Message: Could not commit transaction for service [processOrderPayments] call: Roll back error, could not commit transaction, was rolled back instead because of: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10121 (Service target threw an unexpected exception (null))
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Could not commit transaction for service [processOrderPayments] call: Roll back error, could not commit transaction, was rolled back instead because of: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10121 (Service target threw an unexpected exception (null))
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:428)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:104)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:138)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:451)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:104)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:138)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:165)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:451)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.order.shoppingcart.CheckOutHelper.createOrder(CheckOutHelper.java:554)
org.ofbiz.order.shoppingcart.CheckOutEvents.createOrder(CheckOutEvents.java:416)
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.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2008-04-25 17:41:44,153 (Thread-824) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [releaseOrderPayments] via runSyncIgnore
2008-04-25 17:41:44,164 (Thread-824) [PaymentGatewayServices.java:677:WARN ] No OrderPaymentPreference records available for release
2008-04-25 17:41:44,180 (http-0.0.0.0-8443-Processor3) [     RequestHandler.java:308:ERROR] Request processorder caused an error with the following message: ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [processOrderPayments] call: Roll back error, could not commit transaction, was rolled back instead because of: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10121 (Service target threw an unexpected exception (null)))
2008-04-25 17:41:44,180 (http-0.0.0.0-8443-Processor3) [     RequestHandler.java:427:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=7523BF60126E7B9E3C9DCCAF31D99190.jvm1
2008-04-25 17:41:44,181 (http-0.0.0.0-8443-Processor3) [     RequestHandler.java:580:INFO ] servletName=control, view=checkoutreview sessionId=7523BF60126E7B9E3C9DCCAF31D99190.jvm1
2008-04-25 17:41:44,202 (http-0.0.0.0-8443-Processor3) [      ScreenFactory.java:118:INFO ] Got 34 screens in 0.02s from: file:/home/amit/myspace/OFBiz/applications/ecommerce/widget/OrderScreens.xml
2008-04-25 17:41:44,237 (http-0.0.0.0-8443-Processor3) [      ScreenFactory.java:118:INFO ] Got 13 screens in 0.016s from: file:/home/amit/myspace/OFBiz/applications/ecommerce/widget/CommonScreens.xml
2008-04-25 17:41:44,276 (http-0.0.0.0-8443-Processor3) [      ScreenFactory.java:118:INFO ] Got 7 screens in 0.014s from: file:/home/amit/myspace/OFBiz/applications/ecommerce/widget/CartScreens.xml
2008-04-25 17:41:44,314 (http-0.0.0.0-8443-Processor3) [  ModelScreenWidget.java:361:INFO ] In the include-screen tag the screen name was empty, ignoring include; in screen [main-decorator]
2008-04-25 17:41:44,315 (http-0.0.0.0-8443-Processor3) [  ModelScreenWidget.java:361:INFO ] In the include-screen tag the screen name was empty, ignoring include; in screen [main-decorator]


Can anybody has any idea about the cause?
Am I missing the url (i guess) of the location where this service is? If so... where to mention that url at back office?

Thanks beforehand

Ajay


Ajay @ Pal InfoCom wrote:
Hello all,

I am having a problem in setting up the authorize.net account in OFBiz. I have created a test account of authorize.net, and fill the required information in payment.properties file. I also have configured "Catalog -> Store -> Payment" tab and set the Product Store Payment settings as:


Payment Method
Service Type
Service Name
Payment prop
Apply to all
Credit Card
Payment Authorization Service
authorize.net
[Global]
Y
Credit Card
Payment Auth Verification Service
authorize.net [Global] Y
Credit Card
Payment Capture Service
authorize.net [Global] Y
Credit Card
External Payment (No Service)
authorize.net [Global] Y
Credit Card Payment Re-Authorization Service authorize.net [Global] Y
Credit Card
Payment Refund Service
authorize.net [Global] Y

Now, I am facing two problems here. Firstly, I am not able to see all the payment methods, like - PayPal, WorldPay, Authorize.net, during checkout process, and secondly, facing the following error:

The Following Errors Occurred:,,ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [processOrderPayments] call: Roll back error, could not commit transaction, was rolled back instead because of: Service Error [authOrderPaymentPreference]: Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [10051 (Cannot locate service by name (authorize.net)))


Can anybody have any idea about :

1. Why its not possible to see the the various payment options during checkout process. Am I missing something, somewhere?
2. Why the current error is occurring?

Any suggestions / Ides will be appreciated.

Thanks and regards,

Ajay Sodhi