cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal integration issue with Hybris6.0

Former Member
0 Kudos

Hi All,

I am getting below error while integrating paypal with hybris6.0.

Error creating bean with name 'defaultCommerceWebServicesPaymentFacade'

Please let me know if someone have faced the same issue and resolved.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solved by fixing defaultCommerceWebServicesPaymentFacade bean declaration. Parent bean cannot be an alias, should be a bean ID ( defaultPaymentFacade vs parentFacade) in acceleratorwebservicesaddon-spring.xml

Former Member
0 Kudos

Are we allowed to modify the OOB extension? Is there an alternate way to solve this issue?

Answers (2)

Answers (2)

Former Member
0 Kudos

I downloaded the paypal exetensions but hybris 5.7 and later have deprecated the b2cCheckoutaddon. I was just following through the installation Guide, there are steps to install b2cCheckoutaddon , but its not available can someone help me with this.

Former Member
0 Kudos

Hi Nicola, the above solution helped me to solve the same problem, thanks for the post. I am doing Paypal Integration with hybris 6.2, have created the account in paypal sandbox for testing purpose and added the paypal API signature credential to connect. But when i click on 'Checkout with Paypal' button in cart page getting error as 'java.net.SocketException: Connection reset' at the bottom of error track..

SEVERE: Retry No : 2... ERROR [hybrisHTTP28] [DefaultPaypalPaymentIntegrationService] Error during 'setExpressCheckout' web service call: com.paypal.exception.HttpErrorException: retry fails.. check log for more information ERROR [hybrisHTTP28] [PaypalStringUtils] [DATE PARSE ERROR](set current time) Unparseable date: "Fri Mar 31 16:41:01 IST 2017" ERROR [hybrisHTTP28] [AbstractCheckoutController] 00000 ERROR [hybrisHTTP28] [AbstractCheckoutController] Error during service method call. Error during communication with service

And also the error stack trace has.. at com.paypal.core.HttpConnection.execute(HttpConnection.java:109) at com.paypal.core.APIService.makeRequestUsing(APIService.java:177) at com.paypal.core.BaseService.call(BaseService.java:265) at urn.ebay.api.PayPalAPI.PayPalAPIInterfaceServiceService.setExpressCheckout(PayPalAPIInterfaceServiceService.java:2168) at com.paypal.hybris.integration.service.impl.DefaultPaypalPaymentIntegrationService.setExpressCheckout(DefaultPaypalPaymentIntegrationService.java:131) at com.paypal.hybris.integration.service.impl.DefaultPaypalPaymentIntegrationService.setExpressCheckout(DefaultPaypalPaymentIntegrationService.java:109) at com.paypal.hybris.payment.service.impl.PayPalPaymentServiceImpl.setExpressCheckout(PayPalPaymentServiceImpl.java:158) at com.paypal.hybris.facade.impl.PayPalPaymentFacadeImpl.preparePaypalPayment(PayPalPaymentFacadeImpl.java:57) at com.paypal.hybris.addon.controllers.pages.PayPalHopPaymentRequestController.prepareExpressCheckout(PayPalHopPaymentRequestController.java:138) at com.paypal.hybris.addon.controllers.pages.PayPalHopPaymentRequestController.expressCheckoutMark(PayPalHopPaymentRequestController.java:89)

Can you please help me to solve this...

Former Member
0 Kudos

I would take a look at PaypalStringUtils in order to understand if there's any incompatibility with your date format. We had a similar issue having redefined the PriceDataFactory, so you need to make sure any called Service/Factory is the one expected by Paypal services.

Former Member
0 Kudos

Hi Abhinethra,

I am also facing same issue .Have you resolved it?

Thanks Sid

Former Member
0 Kudos

Resolved this.It was due to company's network blocking the target url.

0 Kudos

Hi, How did you resolve this issue. We are facing the same issue with paypal integration ( hybris version 6.3). Thanks!