2013-03-08 73 views
0

我們嘗試將Paypal作爲付款選項整合到我們的商店中。 爲此,我們選擇了與SOAP API商家SDK(版本98年2月2日)Paypal Java SOAP GetExpressCheckoutDetails在SDK 2.2.98中失敗

與SetExpressCheckoutAPI第一步工作正常,但 在第二步,當我們檢索GetExpressCheckoutDetails API,我們總是收到此堆棧跟蹤:

java.lang.IllegalArgumentException: NONE 
urn.ebay.apis.eBLBaseComponents.AddressNormalizationStatusCodeType.fromValue(AddressNormalizationStatusCodeType.java:32) 
urn.ebay.apis.eBLBaseComponents.AddressType.<init>(AddressType.java:631) 
urn.ebay.apis.eBLBaseComponents.PaymentDetailsType.<init>(PaymentDetailsType.java:981) 
urn.ebay.apis.eBLBaseComponents.GetExpressCheckoutDetailsResponseDetailsType.<init>(GetExpressCheckoutDetailsResponseDetailsType.java:627) 
urn.ebay.api.PayPalAPI.GetExpressCheckoutDetailsResponseType.<init>(GetExpressCheckoutDetailsResponseType.java:78) 
urn.ebay.api.PayPalAPI.PayPalAPIInterfaceServiceService.getExpressCheckoutDetails(PayPalAPIInterfaceServiceService.java:2855) 
urn.ebay.api.PayPalAPI.PayPalAPIInterfaceServiceService.getExpressCheckoutDetails(PayPalAPIInterfaceServiceService.java:2875) 
com.sample.merchant.CheckoutServlet.doPost(CheckoutServlet.java:329) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:641) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:722) 

要驗證行爲,我們還使用了SDK附帶的示例應用程序,它顯示了同樣的問題。

任何想法? 這是SDK/Java包裝中的錯誤嗎?

+0

這裏XML應答我從SOAP請求接收: ' NONE ' 似乎是一個映射PROBL EM ... – 2013-03-08 09:53:56

回答