2014-03-12 12 views

回答

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);