Skip to Content
0
Former Member
Mar 14, 2015 at 06:36 PM

cybersource extension causing an issue, pk has wrong format

563 Views

Hi,

I am trying to integrate the Cybersource extension available in marketplace with hybris 5.4. whe i am getting response from cybersource after authorization of the payment form data, i am getting an exception while parsing .

Can anybody help me if i had missed any configuration? Had anybody used this cybersouce extension earlier?

Below is the stack trace of the error:

INFO | jvm 1 | main | 2015/03/13 18:27:43.898 | SEVERE: Servlet.service() for servlet [DispatcherServlet] in context with path [/sorianastorefront] threw exception [Request processing failed; nested exception is de.hybris.platform.core.PK$PKException: pk has wrong format: '4262512602035000001516':For input string: "4262512602035000001516"] with root cause INFO | jvm 1 | main | 2015/03/13 18:27:43.901 | de.hybris.platform.core.PK$PKException: pk has wrong format: '4262512602035000001516':For input string: "4262512602035000001516" INFO | jvm 1 | main | 2015/03/13 18:27:43.901 | at de.hybris.platform.core.PK.parse(PK.java:517) INFO | jvm 1 | main | 2015/03/13 18:27:43.902 | at de.hybris.platform.commerceservices.customer.dao.impl.DefaultCustomerAccountDao.findCreditCardPaymentInfoByCustomer(DefaultCustomerAccountDao.java:237) INFO | jvm 1 | main | 2015/03/13 18:27:43.903 | at de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService.getCreditCardPaymentInfoForCode(DefaultCustomerAccountService.java:249) INFO | jvm 1 | main | 2015/03/13 18:27:43.903 | at de.hybris.platform.commercefacades.user.impl.DefaultUserFacade.setDefaultPaymentInfo(DefaultUserFacade.java:296) INFO | jvm 1 | main | 2015/03/13 18:27:43.904 | at com.cybersource.hybris.controllers.pages.CyberSourcePaymentCheckoutStepController.add(CyberSourcePaymentCheckoutStepController.java:475) INFO | jvm 1 | main | 2015/03/13 18:27:43.906 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | main | 2015/03/13 18:27:43.906 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)