Sends a Sale transaction to the host.
[VB.NET] Public Sub Sale()
[C#] public void Sale();
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();