PayPal express setup
Posted: Wed May 20, 2015 6:48 am
Hello,
I am trying to set up checkout with PayPal according to this guide http://www.broadleafcommerce.com/docs/paypal/current/.
I successfully run Broadleaf demo site after changes from this guide. But I got an error when I try to open cart which contains some products with the following stacktrace:
Caused by: java.lang.IllegalArgumentException: host parameter is null
at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:206)
at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:155)
at org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnectionWithTimeout(SimpleHttpConnectionManager.java:175)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.broadleafcommerce.payment.service.gateway.AbstractPayPalExpressService.communicateWithVendor(AbstractPayPalExpressService.java:84)
at org.broadleafcommerce.payment.service.gateway.AbstractPayPalExpressService.communicateWithVendor(AbstractPayPalExpressService.java:60)
at org.broadleafcommerce.common.payment.service.AbstractExternalPaymentGatewayCall.process(AbstractExternalPaymentGatewayCall.java:76)
... 139 more
I've also attached txt file with full stacktrace. Thanks in advance for any help.
I am trying to set up checkout with PayPal according to this guide http://www.broadleafcommerce.com/docs/paypal/current/.
I successfully run Broadleaf demo site after changes from this guide. But I got an error when I try to open cart which contains some products with the following stacktrace:
Caused by: java.lang.IllegalArgumentException: host parameter is null
at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:206)
at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:155)
at org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnectionWithTimeout(SimpleHttpConnectionManager.java:175)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.broadleafcommerce.payment.service.gateway.AbstractPayPalExpressService.communicateWithVendor(AbstractPayPalExpressService.java:84)
at org.broadleafcommerce.payment.service.gateway.AbstractPayPalExpressService.communicateWithVendor(AbstractPayPalExpressService.java:60)
at org.broadleafcommerce.common.payment.service.AbstractExternalPaymentGatewayCall.process(AbstractExternalPaymentGatewayCall.java:76)
... 139 more
I've also attached txt file with full stacktrace. Thanks in advance for any help.