Quickbooks XML 和商业服务的 ReceivePayment Pending
在 Quickbooks SDK 手册中,有一个名为“使用 ReceivePayment 进行信用卡授权和捕获”的部分。 上面写着...
使用 ReceivePayment 进行信用卡授权和捕获
如果公司订阅了 QBMS,您可以记录一个基本上是待处理交易的 ReceivePaymentAdd。 也就是说,在此用法中,您希望将 QBMS 授权事务保存到 QuickBooks 中。 因此,ReceivePaymentAdd 包含 CreditCardTxnInfo 与 CreditCardTxnType 授权的聚合。 QuickBooks 将此保存为待处理事务。 稍后,当授权费用在 QBMS 中被捕获并成为实际费用时,您可以通过修改 ReceivePayment (ReceivePaymentMod) 将该费用记录到 QuickBooks 中。 ReceivePaymentMod 将具有包含来自 QBMS 捕获交易的数据的 CreditCardTxnInfoMod,CreditCardTxnType 为 Capture。 QuickBooks 自动删除待处理状态并记录交易。
我的问题是,实际上如何使用 QBXML 做到这一点?
现在,我有一个 VB.NET 应用程序将发票发送到 Quickbooks,但随后用户必须切换到 Quickbooks,然后单击“客户 - > 接收付款”以从其信用卡中扣款(使用 Quickbooks 商家服务)。 如果能以某种方式自动执行此操作,也许可以通过向 Quickbooks 发送 XML 消息来对卡进行收费,那就太好了?)
In the Quickbooks SDK Manual, there is a section called "Using ReceivePayment for Credit Card Authorization and Capture". It reads...
Using ReceivePayment for Credit Card Authorization and Capture
If the company is subscribed to QBMS, you can record a ReceivePaymentAdd that is basically a pending transaction. That is, in this usage, you want to save a QBMS authorization transaction into QuickBooks. Thus, the ReceivePaymentAdd contains a CreditCardTxnInfo aggregate with a CreditCardTxnType of Authorization. QuickBooks saves this as a pending transaction. Later, when the authorized charge is captured to become a real charge in QBMS, you can record that charge into QuickBooks by modifying that ReceivePayment (ReceivePaymentMod). The ReceivePaymentMod will have a CreditCardTxnInfoMod containing data from the QBMS capture transaction, with a CreditCardTxnType of Capture. QuickBooks automatically removes the pending status and records the transaction.
My question is, How do you actually do that with QBXML?
Right now, I have a VB.NET application that sends invoices to quickbooks, but then users have to switch to quickbooks, and click "Customers -> Receive Payments" to charge their credit card (using Quickbooks Merchant Services). It would be awfully nice to automate this in some way, perhaps by sending Quickbooks an XML message to charge the card?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不太清楚你的意思...我的处理方法是:
将接收付款和授权推送到 QuickBooks
准备好后,使用 QBMS API 为卡充值
据我所知,没有办法告诉 QuickBooks 自行进行捕获。 但您可以使用 QBMS API 进行捕获。
I'm not quite sure what you mean... the way I would approach it is:
Push the receive payment and authorization to QuickBooks
When ready, use the QBMS API to charge the card
As far as I know, there is no way to tell QuickBooks to do the capture on it's own. But you can use the QBMS API to do the capture.