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 released with the PTechHostSettle component. Sample transactions follow.

E-Commerce Sale transaction:

component.IndustryType = itECommerce
component.GoodsIndicator = giPhysicalGoods
component.Card = new CCCard("4444333322221111", 1, 2010)
component.CustomerAddress = "123 Nowhere Ln." ' optional AVS data
component.CustomerZip = "90210" ' optional AVS data
component.TransactionAmount = "1.00"
component.Sale()

Retail Sale transaction:

component.IndustryType = itRetail
component.Card = new CCCard("B4788250000028291^PAYMENTECH^05121015432112345678", dsTrack1)
component.TransactionAmount = "1.00"
component.Sale()

Retail manually keyed Sale transaction:

component.IndustryType = itRetail
component.Card = new CCCard("4444333322221111", 1, 2010)
component.TransactionAmount = "1.00"
component.Sale()

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