4D Payments SDK 2016 .NET Edition

Questions / Feedback?

Authorize Method

Sends an authorization request.

Syntax

public void Authorize();
Public Sub Authorize()

Remarks

This method sends an authorization request to the Vital/TSYS transaction server. If the authorization request was successful, the Code property will contain "00" or "85".

An authorization blocks funds on the customer's credit card, but does not actually transfer funds. In order for funds to be transferred and the transaction completed, you must settle the transaction. To do this, you must pass an XML aggregate containing the results of the transaction to the Settlement component. For example:


  TSYSECommerce.Authorize();
  TSYSSettle.DetailRecords.Add(new TSYSRecordType(TSYSECommerce.GetDetailAggregate()));   

.NET Standard Notes

To call this method in an asynchronous manner call AuthorizeAsync instead. When the method completes (or an error is encountered) the AuthorizeCompleted event will fire.

 
 
Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7809]