日期:2014-05-17  浏览次数:20452 次

求助,,关于google在线支付
提交表单:

<form action="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/1234567890" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm">
  <input name="item_name_1" type="hidden" value="Pay Chinese Study Tool Service"/>
  <input name="item_description_1" type="hidden" value="Service charge for using the online tool for interactive learning of Chinese."/>
  <input name="item_quantity_1" type="hidden" value="1"/>
  <input name="item_price_1" type="hidden" value="2.0"/>
  <input name="item_currency_1" type="hidden" value="USD"/>
  <input name="_charset_" type="hidden" value="utf-8"/>
  <input alt="" src="https://checkout.google.com/buttons/buy.gif?merchant_id=932567502202026&w=117&h=48&style=white&variant=text&loc=en_US" type="image"/>
</form>

帮助文档
http://code.google.com/apis/checkout/developer/Google_Checkout_HTML_API.html#notification_api

请问怎样接收google的返回信息...


------解决方案--------------------
哦? 刚刚听说谷歌也有在线支付了哦~

友情帮顶~
------解决方案--------------------
帮顶
------解决方案--------------------
没搞过!!
up!!
------解决方案--------------------
goolge也有支付了?居然还不知道
没搞过,友情帮顶
------解决方案--------------------
接受?
不太明白
UP
------解决方案--------------------
探讨
哦? 刚刚听说谷歌也有在线支付了哦~

友情帮顶~

------解决方案--------------------
saucer怎么没在线呀?
快沉了 up up
------解决方案--------------------
首先进入google checkout账户,输入callback url(https://xx/callback.aspx)
callback.aspx.cs

Stream RequestStream = Request.InputStream;
StreamReader RequestStreamReader = new StreamReader(RequestStream);
string RequestXml = RequestStreamReader.ReadToEnd();
RequestStream.Close();

XmlDocument doc = new XmlDocument();
doc.LoadXml(RequestXml);
//分析xml doc
//doc.Save(path);
保存一下doc就知道什么内容了(一般checkout会发送三份xml文档)