谷歌结账数码产品

时间:2011-09-29 11:28:53

标签: html payment google-checkout

基本上我想要一个下载代码mywebsite的功能。

我检查了Google Checkout数码产品的以下链接。 https://checkout.google.com/support/sell/bin/answer.py?answer=39011

我使用此链接为沙盒中的数字产品创建了立即购买按钮.HTML代码像往常一样将我重定向到Google Checkout。

但付款后它在任何地方都没有给我任何下载链接。 ??

 <form action="https://sandbox.google.com/checkout/api/checkout/v2/checkoutForm/Merchant/859574590497884" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" target="_top">
<input name="item_name_1" type="hidden" value="mycode"/>
<input name="item_description_1" type="hidden" value="this item is all about my code"/>
<input name="item_quantity_1" type="hidden" value="1"/>
<input name="item_price_1" type="hidden" value="1251.0"/>
<input name="item_currency_1" type="hidden" value="USD"/>
<input name="shopping-cart.items.item-1.digital-content.description" type="hidden" value="Please read this instructions.."/>
<input name="shopping-cart.items.item-1.digital-content.url" type="hidden" value="http://www.xxxxxxxx.in/xxxxxxxx/xxxxxx/20110929034224791156.pdf"/>
<input name="_charset_" type="hidden" value="utf-8"/>
<input alt="" src="https://sandbox.google.com/checkout/buttons/buy.gif?merchant_id=859574590497884&amp;w=117&amp;h=48&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>

2 个答案:

答案 0 :(得分:1)

您需要使用continue_url

<input type="hidden" name="continue_url" value="http://www.example.com/download"/>

答案 1 :(得分:0)

Google Checkout提供数字交付解决方案,提供各种选项以提供对数字内容的访问。

请注意,信用卡交易是在用户下订单后获得授权和收费的。根据内容的价值,您可能希望暂停提供下载内容的URL,直到付款得到保证。

本文档中的更多详细信息:

http://code.google.com/apis/checkout/developer/Google_Checkout_Digital_Delivery.html