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

Sale Method

Sends a Sale transaction to the host.

Syntax

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

Remarks

A basic Sale transaction. This transaction decrements the cardholder's open-to-buy funds for the sale amount. This transaction is automatically added to the current open batch, and will be settled after the current batch is settled. The batch settlement may be set up to occur automatically, or you can control when the batch settles with the GlobalBatchMgr component. Sample transactions follow.

Sale transaction with Track 1 data:

component.Card = new GlobalCard("5499990123456781=15125025432198712345");
component.TransactionAmount = "1.00";
component.Sale();

Manually keyed Sale transaction:

component.Card = new GlobalCard("4444333322221111", 1, 2015);
component.TransactionAmount = "1.00";
component.Sale();

NOTE: This method has a corresponding asynchronous version (SaleAsync) for use in the WinRT environment.

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