Login  Register

Re: worldpay integration

Posted by David E Jones-2 on Jul 11, 2006; 7:25pm
URL: http://ofbiz.116.s1.nabble.com/Re-worldpay-integration-tp169615p169617.html


It looks like this is pretty old code that hasn't been updated for refactoring done a few years ago (probably 3-4 years now...) when the ProductStore was introduced. The WebSitePaymentSetting entity doesn't exist any more, and instead the ProductStorePaymentSetting is the one used.

In general I'd be a bit surprised to see the Worldpay stuff working out of the box as I'm not aware of anyone having maintained it in recent years... In other words, it's almost certainly going to require some programming changes to get it to work.

BTW, it's best to post on the dev or user mailing list but not both. I'm replying only to the dev list which seems the better place for this now that it is getting into changes that need to be made to the Worldpay code.

-David


Iain Mac Donald wrote:

> OK nearly got this Worldpay/Ofbiz integration sorted. Initialisation has
> now worked. However, I am still unable to get a successful callback.
>
> I have attached the exception I received (see below). This appears to be
> exactly as described in this message on the dev list
>
> http://lists.ofbiz.org/pipermail/dev/2004-November/006904.html
>
> Anyone know if this got resolved?
>
>
>
> ------------------------------------------------------------------------
>
> java.lang.IllegalArgumentException: [GenericDelegator.makePK] could not find entity for entityName: WebSitePaymentSetting
> at org.ofbiz.entity.GenericDelegator.makePK(GenericDelegator.java:507)
> at org.ofbiz.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:1304)
> at org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet.doRequest(SelectRespServlet.java:116)
> at com.worldpay.select.merchant.SelectServlet.process(SelectServlet.java:131)
> at com.worldpay.select.merchant.SelectDispatcher.dispatch(SelectDispatcher.java:54)
> at com.worldpay.select.merchant.SelectHandler.handleRequest(SelectHandler.java:114)
> at com.worldpay.servlet.WorldPayServlet.service(WorldPayServlet.java:73)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:237)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> at java.lang.Thread.run(Thread.java:534)

smime.p7s (4K) Download Attachment