Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

AuthOnly Method

Sends an AuthOnly transaction to the host.

Syntax

globalcharge.authOnly([callback])

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for this method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

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 ResponsePNRef obtained during this Auth Only transaction. Only then will the transaction be added to the open batch. 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.

AuthOnly transaction with Track 1 data:

class.CardEntryDataSource = edsMagneticStripe
class.CardMagneticStripe = "5499990123456781=15125025432198712345"
class.TransactionAmount = "1.00"
class.AuthOnly()
Manually keyed AuthOnly transaction:
class.CardEntryDataSource = edsManuallyEntered
class.CardNumber = "4444333322221111"
class.CardExpMonth = 1
class.CardExpYear = 2010
class.TransactionAmount = "1.00"
class.AuthOnly()

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0