首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >处理Google Checkout返回

处理Google Checkout返回
EN

Stack Overflow用户
提问于 2011-01-14 06:44:04
回答 1查看 893关注 0票数 0

我需要捕获服务器端的用户付款通知。我已经阅读了大部分文档,但没有遇到什么问题,但我会再看一遍。有没有办法在他们完成订单后启用“返回站点”?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-01-14 07:55:18

我搜索了google checkout return url,找到了http://www.phpexpertsforum.com/return-url-in-google-checkout-after-payment-t561.html

veerlapallavi写道...

有两种方法可以提供返回的URL。1)转到您的Google结帐帐户并打开设置。在settings>>Profile中,您可以找到一个名为"Public business URL:“的字段,在那里提供您的返回URL。

2)第二种方法是,您可以将该值传递给Google Checkout,并将HTML表单作为隐藏变量。

<input name="continue_shopping_url" type="hidden" value="http://www.yousite.com/payment_success.php">

如下所示设置函数SetContinueShoppingUrl("http://www.yousite.com/payment_success.php");function SetContinueShoppingUrl($url) {$this->continue_SetContinueShoppingUrl_url= $url;}

希望这能有所帮助。

看起来您可以将gcheckout配置为向您发送XML通知,但我不知道如何将它与匹配字段或其他内容之外的特定订单ID关联起来……

http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notification_API.html#new_order_notifications

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4686188

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档