【问题标题】:google checkout integration - codeigniter谷歌结帐集成-codeigniter
【发布时间】:2013-01-15 17:15:13
【问题描述】:

我在codeigniter 框架中构建了网站。

我想使用google checkout。 我已使用此代码转移资金,但我需要返回一些东西,以便我知道转移成功,然后将值输入到我的数据库中。

我不知道该怎么做。

谁能一步步教我怎么做?

我的表格:

<form action="https://sandbox.google.com/checkout/api/checkout/v2/checkoutForm/Merchant/xxxxxxx" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" target="_top"> 
    <input name="item_name_1" type="hidden" value="Deposite"/> 
    <input name="item_description_1" type="hidden" value="Money Deposite"/>
    <input name="item_quantity_1" type="hidden" value="1"/>
    <input name="item_price_1" type="text" value="30.0"/>
    <input name="item_currency_1" type="hidden" value="USD"/>
    <input name="_charset_" type="hidden" value="utf-8"/><br />
    <input alt="" src="https://sandbox.google.com/checkout/buttons/buy.gif?merchant_id=xxxxxxxx&amp;w=117&amp;h=48&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
</form>

【问题讨论】:

    标签: google-checkout


    【解决方案1】:

    ...但是我需要返回一些东西,以便我可以知道传输成功,然后将值输入我的数据库...

    Google Checkout API 称其为“第 2 部分”或“处理结帐订单”。

    这是tutorial using their Java lib。请注意,这并不意味着您“拥有” 可以使用这个(或任何)特定的库,它只是向您展示了流​​程。

    其他库是here。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-03
      • 1970-01-01
      相关资源
      最近更新 更多