使用GAE上的Checkout Java SDK进行Google Checkout二级集成

时间:2012-03-19 00:06:08

标签: java google-app-engine google-checkout

我尝试使用两种方法进行此集成,但我无法工作。

当使用“通知序列号”设置(允许您在GAE端没有SSL证书时)时,从GAE到Checkout的回调需要很长时间才能在大约1分钟后获得DeadlineExceededExceptions 12秒。

使用“通知为XML(需要HTTPS URL)”设置时,SSL证书无效且Checkout在连接上超时:

We encountered an error trying to access your server at https://VERSION.APP_ID.appspot.com/googleCheckout -- the error we got is java.io.IOException: Error 'TIMEOUT' connecting to url 'https://VERSION.APP_ID.appspot.com/googleCheckout'.

当在浏览器中访问该URL时,浏览器会警告证书无效,但声称​​应该有效:

The certificate is only valid for the following names:
  *.appspot.com , *.*.appspot.com , appspot.com  

(Error code: ssl_error_bad_cert_domain)

1 个答案:

答案 0 :(得分:1)

这个错误可能与它有关:

http://code.google.com/p/googleappengine/issues/detail?id=3062

You can now use https://1-dot-latest-dot-myapp.appspot.com/ in lieu of http://1.latest.myapp.appspot.com/ to get around this problem.

它被标记为已修复,但这对我来说似乎是一种垃圾。无论如何都会尝试并报告。