4D Payments SDK 2016 .NET Edition
4D Payments SDK 2016 .NET Edition
Questions / Feedback?

AuthOnly Method

Performs an authorization request.

Syntax

[VB.NET]
Public Sub AuthOnly()
[C#]
public void AuthOnly();

Remarks

This method performs an authorization request. This transaction places a hold on the funds. To capture the funds the Capture method must be called.

After calling this method call GetDetailAggregate to generate a detail aggregate. The detail aggregate should be saved for use with Capture or Reverse later.

When ready to Capture or Reverse the transaction call SetDetailAggregate to the previously stored detail aggregate before calling the method.

After this method returns check the value of Code to determine if the transaction was successful.

Important Note: You must ping your list of service provider URLs and update the URL property to the service provider with the shortest response time every 100 transactions, as well as when your application initially starts. This is not a normal ICMP ping - to determine the fastest transaction URL you must use the special Ping method inside the FDMSRegister component. (You may update your list of service provider URLs with the FDMSRegister component's ServiceDiscovery method).

Healthcare AuthOnly Example

healthcare.TPPID = "AAA000";
healthcare.MerchantTerminalNumber = "00000001";
healthcare.MerchantId = "1234";
healthcare.GroupId = "20001";
healthcare.DatawireId = "00011122233344455566";
healthcare.URL = "https://stg.dw.us.fdcnet.biz/rc";
healthcare.ApplicationId = "RAPIDCONNECTSRS";

healthcare.IndustryType = FdmsrchealthcareIndustryTypes.fhitSupermarket;

healthcare.STAN = "112";
healthcare.TransactionNumber = "1234";
healthcare.OrderNumber = "123";
healthcare.ReferenceNumber = "123";

healthcare.Card.MagneticStripe = "B4012000033330026^FDCS TEST CARD   /VISA^210410054321000000000000000  150  A";
healthcare.Card.EntryDataSource = EntryDataSources.edsTrack1;

healthcare.TransactionAmount = "1500";
healthcare.TotalMedicalAmount = "1500";
healthcare.ClinicAmount = "1500";

healthcare.AuthOnly();

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