4D Payments SDK 2016 .NET Edition

Questions / Feedback?

AuthOnly Method

Sends an AuthOnly transaction to the host.

Syntax

public void AuthOnly();
Public Sub AuthOnly()

Remarks

An Auth Only transaction is used to verify and reserve the cardholder's open-to-buy funds available at that time. This transaction is NOT added to the open batch. In order to settle (be paid) for this transaction, the merchant must run a Capture transaction using the original ApprovalCode obtained during this Auth Only transaction. This will add the transaction to the batch. The funds may then be captured by settling the batch with the BatchRelease method. Typically any funds blocked with a Sale or Auth Only transaction are reserved for approximately seven (7) to ten (10) days. This may vary from issuer to issuer. Sample transactions follow.

E-Commerce AuthOnly transaction:

component.IndustryType = itECommerce
component.GoodsIndicator = giPhysicalGoods
component.Card = new CCCard("4444333322221111", 1, 2010)
component.CustomerAddress = "123 Nowhere Ln." ' optional AVS data
component.CustomerZip = "90210" ' optional AVS data
component.InvoiceNumber = "1234"
component.TransactionAmount = "1.00"
component.AuthOnly()

Retail AuthOnly transaction:

component.IndustryType = itRetail
component.Card = new CCCard("B4788250000028291^PAYMENTECH^05121015432112345678", dsTrack1)
component.TransactionAmount = "1.00"
component.AuthOnly()

Retail manually keyed AuthOnly transaction:

component.IndustryType = itRetail
component.Card = new CCCard("4444333322221111", 1, 2010)
component.TransactionAmount = "1.00"
component.AuthOnly()

.NET Standard Notes

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

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