0

我怀疑它只是从 Payflow_dotNET.dll 库中丢失(我检查了 4.50 版),但想看看是否有其他人注意到您不能将查询事务命令与 CUSTREF 一起使用。他们的SDK 文档在第 39 页引用了它。

我不相信您可以只使用 CUSTREF 代替 ORIGID 参数,但也许其他人比我更有经验。

4

1 回答 1

1

在随 SDK 一起安装的示例中,它们在 DOInquiry.cs 中展示了如何。它涉及使用该 CustRef 创建发票并将其传递。

// To use CUSTREF instead of PNREF you need to set the CustRef and include the INVOICE object in your
// request.  Since you will be using CUSTREF instead of PNREF, PNREF will be "" (null).
// Create a new Invoice data object with the Amount, Billing Address etc. details.
Invoice Inv = new Invoice();
Inv.CustRef = "A54321";
InquiryTransaction Trans = new InquiryTransaction("", User, Connection, Inv, PayflowUtility.RequestId);
于 2014-05-01T14:09:11.210 回答