cancel
Showing results for 
Search instead for 
Did you mean: 

C# CaptureRequest invoice number not getting set.

I'm working on a C# integration using both CIM and AuthorizeCapture methods, and currently the CIM populates an invoice number properly where as the AuthorizeCapture is not. Here is the way I have been attempting to use AuthorizeCapture, that works, but does not show the Invoice Number in transaction history.

 

      IGatewayRequest request = new CaptureRequest( authCode, cardNumber, monthFormatted + cardYearFormatted, amount );
      request.InvoiceNum = createTransaction.Id.ToString(); 
      if( cardCode != null && cardCode != "" ) {
        request.AddCardCode( cardCode );
      }
      IGatewayResponse actual = target.Send( request );

I was thinking of trying instead:

 

 request.AddInvoice( createTransaction.Id.ToString() );

I figured I would post the issue here in case some users have experience in this area.

 

Thank you,

bobbydoogle
Contributor
1 REPLY 1

Hello

It's been a while since this was first posted. I would recommend subscribing to this topic so that you'll be alerted via email if anyone from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies.

Thanks,

Richard

RichardH
Administrator Administrator
Administrator