简体   繁体   English

在GAE上使用Checkout Java SDK进行Google Checkout 2级集成

[英]Google Checkout level-2 integration using Checkout Java SDK on GAE

I've tried this integration using two approaches and I can get neither to work. 我尝试使用两种方法进行这种集成,但都无法正常工作。

When using the "Notification Serial Number" setting, which allows you to get away with not having an SSL cert on the GAE end, the callback from GAE to Checkout takes so long to happen that I get DeadlineExceededExceptions after about 1 min 12 secs. 使用“通知序列号”设置(该设置可让您摆脱GAE端没有SSL证书的情况)时,从GAE到Checkout的回调花费的时间太长,以至于我在大约1分12秒后收到DeadlineExceededExceptions。

When using the "Notification as XML (Requires an HTTPS URL)" setting, the SSL cert isn't valid and Checkout times out on the connection: 使用“作为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'.

When going to that URL in a browser, the browser warns that the certificate is invalid, but then claims it should be valid: 在浏览器中转到该URL时,浏览器会警告证书无效,但随后声称该证书有效:

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

(Error code: ssl_error_bad_cert_domain)

This bug might have something to do with it: 此错误可能与它有关:

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.

It's marked as fixed but that seems like a rubbish fix to me. 它被标记为已修复,但对我来说似乎是垃圾修复。 Will try it anyway and report back. 无论如何都会尝试并报告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM