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

Authorize Method

Sends an authorization request.

Syntax

fdmsecommercecontrol.Authorize

Remarks

This method sends an authorization request to the Datawire System, which will forward the request on to the FDMS processor. If the authorization request was successful, the ResponseCaptureFlag property will be True, and the ResponseApprovalCode will contain an approval code.

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 control. For example:


	FDMSEcommerce.CardNumber = "4444333322221111"
	FDMSEcommerce.ExpMonth = 12
	FDMSEcommerce.ExpYear = 2015
	FDMSECommerce.Authorize()
	If (FDMSECommerce.ResponseCaptureFlag = True) Then
		FDMSSettle.DetailRecordCount = 1
		FDMSSettle.DetailRecordAggregate[0] = FDMSECommerce.GetDetailAggregate()
	End If

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 control. (You may update your list of service provider URLs with the FDMSRegister control's ServiceDiscovery method).

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