Html 谷歌数字产品

Html 谷歌数字产品,html,payment,google-checkout,Html,Payment,Google Checkout,基本上我想要一个功能下载代码我的网站 我查看了谷歌数字产品的以下链接。 我用这个链接为sandbox中的数字产品创建了buy now按钮。HTML代码像往常一样将我重定向到google Checkout 但它没有给我任何下载链接后,任何地方付款 <form action="https://sandbox.google.com/checkout/api/checkout/v2/checkoutForm/Merchant/859574590497884" id="BB_BuyButtonF

基本上我想要一个功能下载代码我的网站

我查看了谷歌数字产品的以下链接。

我用这个链接为sandbox中的数字产品创建了buy now按钮。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"/>


您需要使用
继续\u url

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

Google Checkout提供了一个数字交付解决方案,提供了各种选项来访问数字内容

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

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


感谢John的回复……用户可以随时下载产品。正确的?是否有任何方式可以只访问一次…这需要您在您的终端上实现某种控制。通常,这是通过向下载URL附加一个唯一的令牌来完成的,当用户提取该令牌时,该令牌将被标记为已下载。然后,下次有人尝试使用该URL时,您可以检查数据库是否有效,如果无效,则可能会被拒绝。有关此方面的详细信息,请参阅