4D Payments SDK 2016 .NET Edition

Questions / Feedback?

Sale Method

Sends a Sale transaction to the host.


public void Sale();
Public Sub 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";

Manually keyed Sale transaction:

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

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