4D Payments SDK 2016 .NET Edition
4D Payments SDK 2016 .NET Edition
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();

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