Hi,
i am getting the following error whenever a paypal IPN is received. I guess a amont parameter is missing. Is the paypal IPN working for others? if anyone has any suggestions please do help. Rohit PRODUCT_PRICE_PURPOSE_ID, PAYMENT_METHOD_TYPE_ID, PAYMENT_METHOD_ID, FIN_ACCOUNT_ID, SECURITY_CODE, PRESENT_FLAG, OVERFLOW_FLAG, MAX_AMOUNT, PROCESS_ATTEMPT, BILLING_POSTAL_CODE, MANUAL_AUTH_CODE, MANUAL_REF_NUM, STATUS_ID, NEEDS_NSF_RETRY, CREATED_DATE, CREATED_BY_USER_LOGIN, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP FROM public.ORDER_PAYMENT_PREFERENCE WHERE (ORDER_ID = ? AND STATUS_ID = ?) 2006-09-28 10:46:29,169 (http-0.0.0.0-7070-Processor1) [ ServiceDispatcher.java:324:ERROR] ---- exception report ---------------------------------------------------------- Incoming context (in runSync : createPayment) does not match expected requirements Exception: org.ofbiz.service.ServiceValidationException Message: The following required parameter is missing: [createPayment.amount] ---- stack trace --------------------------------------------------------------- org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [createPayment.amount] org.ofbiz.service.ModelService.validate(ModelService.java:363) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:322) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114) org.ofbiz.order.order.OrderServices.createPaymentFromPreference(OrderServices.java:3435) 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:324) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:92) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114) org.ofbiz.accounting.thirdparty.paypal.PayPalEvents.setPaymentPreference(PayPalEvents.java:465) org.ofbiz.accounting.thirdparty.paypal.PayPalEvents.setPaymentPreferences(PayPalEvents.java:402) org.ofbiz.accounting.thirdparty.paypal.PayPalEvents.payPalIPN(PayPalEvents.java:302) 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:324) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:90) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:76) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:407) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:183) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:79) javax.servlet.http.HttpServlet.service(HttpServlet.java:615) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:534) -------------------------------------------------------------------------------- 2006-09-28 10:46:29,170 (http-0.0.0.0-7070-Processor1) [ ServiceDispatcher.java:384:DEBUG] [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'ecommerce / createPayment' 2006-09-28 10:46:29,172 (http-0.0.0.0-7070-Processor1) [ ServiceDispatcher.java:387:ERROR] |
Free forum by Nabble | Edit this page |