我怀疑它刚从Payflow_dotNET.dll库中丢失(我检查了4.50版本),但想知道是否有其他人注意到你不能在CUSTREF中使用查询事务命令。他们的SDK documentation在第39页引用了它。
我不相信你可以用CUSTREF代替ORIGID参数,但也许其他人比我更有经验。
答案 0 :(得分: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);