- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
โ01-18-2017 05:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
โ01-25-2017 08:09 PM