使用场外支付系统管理库存

发布于 2024-11-15 14:37:32 字数 282 浏览 1 评论 0原文

我正在建立一个售票网站。我正在通过第三方支付处理器 google checkout 处理付款。目前我将 google checkout 的购买时间限制为 10 分钟。如果需要更长时间,门票将重新开放,其他用户可以购买门票。唯一的问题是 Google checkout 不知道计时器已过期。即使用户尝试购买的门票已被其他人购买,用户也能够完成购买。有什么办法可以阻止 google checkout 出售过多的门票吗?门票是通用的,所以如果我可以限制总共售出多少张,这也可以。如果这是不可能的,似乎是这种情况,有没有人解决这个问题并找到更好的解决方案?

I am building a site that sells tickets. I am processing payments through third party payment processors, google checkout. Currently I am limiting purchase time on google checkout to 10 min. If they take longer, the tickets reopen and other users are able to purchase the tickets. The only problem is that Google checkout doesn't know that the timer has expired. The user is able to complete their purchase even though the tickets they are trying to buy have already been bought by someone else. Is there any way to stop google checkout from selling too many tickets? The tickets are GA so if I could limit how many are sold total this would work also. If this is not possible, which seems to be the case, has anyone tackled this problem and found a better solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紫罗兰の梦幻 2024-11-22 14:37:32

您有多种选择来处理库存问题:

  • Checkout Store Gadget:提供简单的内置“库存更新”(使用在线电子表格)。由于 Google 负责处理库存,因此如果库存降至零,订单将无法处理。以下是商店小工具文档的链接:

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

  • 如果您不想使用商店小工具,可以使用结账通知订单处理 API,如果订单需要很长时间才能完成(即票已卖给其他人),则取消订单。这可以避免过度销售,但会让一些顾客不满意。

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

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

  • 使用库存缓冲以避免超售。在“保留”中保留一些门票,避免取消和不满意的顾客:-)

You have several options to deal with inventory issues:

  • Checkout Store Gadget: offers a simple built-in "inventory update" (using an online spreadsheet). Because Google handles the inventory, an order will not go through if the inventory dropped to zero. Here's the link to the Store Gadget documentation:

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

  • If you don't want to use the Store Gadget, you can use the Checkout Notification and Order Processing APIs and cancel the order if it took to long to complete (i.e. the ticket was sold to someone else). This avoids overselling but will make some customers unhappy.

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

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

  • Use an inventory buffer to avoid overselling. Keep a few tickets in "reserve" and avoid cancelations and unhappy customers :-)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文