【问题标题】:google checkout digital products谷歌结账数码产品
【发布时间】:2011-09-29 11:28:53
【问题描述】:

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

我检查了以下链接以获取 google checkout 数字产品。 https://checkout.google.com/support/sell/bin/answer.py?answer=39011

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

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

 <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"/>

【问题讨论】:

    标签: html payment google-checkout


    【解决方案1】:

    你需要使用continue_url

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

    【讨论】:

    • 感谢 John 的回复...用户可以随时下载该产品。对 ?有什么办法只能访问一次...
    • 这需要您在自己的终端实施某种控制。通常这是通过将唯一令牌附加到下载 URL 来完成的,当它被用户拉出时,它会被标记为已下载。然后下次有人尝试使用该 URL 时,您可以检查数据库以查看它是否有效,如果不是,则可以拒绝。
    • 更多信息请见this question
    【解决方案2】:

    Google Checkout 提供了一种数字交付解决方案,提供了多种用于访问数字内容的选项。

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

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-06-15
      • 2016-04-08
      • 1970-01-01
      • 1970-01-01
      • 2023-03-16
      • 2012-10-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多