如何在PHP中集成google Checkout API

如何在PHP中集成google Checkout API,php,google-api,Php,Google Api,我正在尝试将Google Checkout API集成到PHP中。我需要从表单中发送一些输入值,如商品名称、商品价格、商品数量到Google checkout 请建议我一些链接或代码来解决它 $item_1 = new GoogleItem($item, // Item name $itemdesc, // Item description $total_count,

我正在尝试将Google Checkout API集成到PHP中。我需要从表单中发送一些输入值,如商品名称、商品价格、商品数量到Google checkout

请建议我一些链接或代码来解决它

$item_1 = new GoogleItem($item,      // Item name
                           $itemdesc, // Item      description
                           $total_count, // Quantity
                           10); // Unit price

当我搜索它时,很容易找到它

到目前为止,你得到了什么或什么不起作用?您真的应该在问题中发布代码。
$item_1=new GoogleItem($item,//item name$itemdesc,//item description$total_count,//Quantity 10);//单价
$item_1=新的Google项目($item,//项目名称$itemdesc,//项目描述$total_count,//数量10);//单价