如何将 customerId (x_cust_id) 发送到authorize.net ARB?
我知道,这[通常]是一个 RTFM 问题,除了,好吧,我们正在谈论 Authorize.net,所以 FM 很难 R-able。
在查看所有字段时,我注意到在静默发布期间发送,Authorize.net 返回一个名为“x_cust_id”的项目。他们的示例代码中没有解决这个问题,而且我无法找出该字段将发布在 XML 文档中的何处。我想用它!
那么,当我创建新的 ARB 订阅时,到底如何添加“客户 ID”?
此外,是否有任何文档可以实际显示我可以发送给 ARB 的所有信息?我什至不知道我的选择是什么!
I know, this is [normally] an RTFM question, except, well, we're talking about Authorize.net so the FM is hardly R-able.
I noticed when looking at the all the fields that get sent during the Silent Post, Authorize.net returns an item called "x_cust_id". It is not addressed in their sample code, and I can't find out where in the XML document that field would get posted. I'd like to use it!
So, how exactly do I add "customer Id" when I create a new ARB subscription?
Furthermore, is there any documentation that actually shows all the information I can send to ARB? I don't even know what my options are!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
沉默的帖子!= ARB。它们是两个不同的东西。每当 Authorize.Net 处理交易时,就会触发静默发布。他们将每笔交易的结果发送到服务器上的脚本,通知其交易结果。这允许您以编程方式管理失败的订阅。它与 Paypal 的 IPN 非常相似。 x_cust_id 将从
ARBCreateSubscriptionRequest
API 调用中的
字段填充。仅供参考,ARB 指南第 20 和 21 页对此进行了解释。
Silent Post != ARB. They are two different things. Silent Post is triggered whenever a transaction is processed by Authorize.Net. They send the results of each transaction to a script on your server notifying it of the results of the transaction. This allows you to manage subscriptions that fail programatically. It is very similar to Paypal's IPN. x_cust_id will be populated from the
<customer/><id/>
field in theARBCreateSubscriptionRequest
API call.FYI, this is explained on pages 20 and 21 of the ARB guide.