Search: 
Available in: PAYMENTECH
PTGiftCard Component [Paymentech Integrator V5]

Properties   Methods   Events   Configuration Settings  

The PTGiftCard component is used to manipulate funds on Stored Value (Gift) Cards with the Paymentech NetConnect system on the Tampa platform. This component supports card-present gift card transactions, and allows for simple, direct, secure communication to the Paymentech SSL gateway through a standard Internet connection. This component can be integrated into web pages or stand- alone Point Of Sale applications. Because all SSL communications are handled inside the component, any application or web page can be deployed without the need for expensive dedicated SSL servers.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

A Stored Value Card (or Gift Card as they are commonly called) is a not actually a type of credit or debit card. Simply put, a Stored Value Card is a card with a magnetic strip on the back that holds information about monies that have been "pre-paid" into an account for the purpose of making financial transactions. Examples include a retailer's gift card, a prepaid telephone card, a college campus meal plan card, a reloadable subway pass, etcetera. Not included are government income-support cards, otherwise known as EBT cards or electronic food stamps.

There just a few steps to setting up the component and sending transactions. First, set the MerchantNumber, TerminalNumber, ClientNumber, UserId, and Password with the information given to you when you signed up for Paymentech service. You should also set your PINCapability and CashRegisterId at this time.

After the merchant information is setup, you may enter transaction data. When the Card is Manually Entered, the merchant should fill the Card, Card, and Card properties. Otherwise, you should fill the Card property with the Track 2 data read from the back of the card, and set Card to Track2. These are the only two Entry Data Sources supported for Stored Value (Gift) Cards.

Now you must choose what transaction you wish to make. Adding Value to a card, Redeeming a card, voiding a previous transaction, or retrieving the card's current balance.

To add funds to an existing Gift Card, simply set the TransactionAmount with the amount to add to the card, and then call AddValue. Activating a new gift card is handled the same way. If the card indicated by Card (or Card) has not yet been activated, calling AddValue will automatically activate it with the amount indicated by TransactionAmount.

To redeem funds from a Gift Card due to a customer purchase, set TransactionAmount to the total for the purchase and call RedeemCard. If the Gift Card account contains the enough funds, Response will indicate the card was approved. If there are not enough funds available on the card to cover the TransactionAmount, normally the transaction will be declined. However, the merchant may set PartialRedemption to True. This allows the customer to split the cost of the purchase between the Gift Card and another form of payment. Instead of declining the Gift Card, Response will contain the amount deducted from the Gift Card. The merchant may subtract that from TransactionAmount to determine the difference to charge the customer.

Finally, you may inquire as to the total funds contained on the card by calling BalanceInquiry. This will not effect the amount of funds contained on the card in any way.

The status of any of the above transactions will be stored in the Response property, with human-readable text appearing in Response. Like the PTCHARGE component, there are several other Response fields which will contain data that should be logged. However, there are a few new properties specific to the PTGiftCard component: Response will be returned after all transactions except VoidTransaction, and will contain the current balance of the Gift Card. Response will indicate the balance BEFORE the last transaction went through. The Response property is used for tracking after the sale, and must be printed on every customer receipt.

Once an authorization request is approved, one of two things happen. If your Paymentech account is setup with the Host Auto Close feature, you need take no further action. The host will close the current open batch at a designated time each day. This means that there is no end of day batch processing required from the merchant. In order for the merchant's batch to be included in the Paymentech Host Auto Close process, the merchant parameter file on the host must indicate that the merchant is Auto Close. Without this flag being set, the merchant's transactions must be settled with a Manual Batch Release.

If your account is not setup with Host Auto Close, then after an authorization is approved the transaction is added to the current batch on the Paymentech Server, and the money in the customer's account is blocked and tagged for the merchant. The transaction must go through the Manual Batch Release Settlement process in order for the blocked money to be transferred to the merchant's account. To release a batch for settlement, please see the PTSETTLE component.

Note that this component only supports the above two settlement methods, and does not support Terminal Capture processing.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

CardContains the customer's credit card information.
CashOutIndicatorIndicates to the host that the customer wants the remainder of the card's value returned as cash.
CashRegisterIdCash Register transaction identifier.
ClientNumberMerchant configuration property, assigned by Paymentech.
DuplicateCheckingIndicates whether duplicate checking is enabled.
EmployeeNumberIdentifies the employee making this transaction.
InvoiceNumberMerchant-generated invoice number.
MerchantNumberA unique number used to identify the merchant, assigned by Paymentech.
PartialRedemptionPartial Redemption indicator.
PasswordPassword for authentication with the NetConnect Server
PINCapabilityIndicates if the terminal device supports a PIN pad.
ProxyA set of properties related to proxy access.
ResponseContains the response to the authorization.
SequenceNumberSequence number of the transaction.
ServerThe URL for the PaymenTech NetConnect server.
SSLAcceptServerCertInstructs the component to unconditionally accept the server certificate that matches the supplied certificate.
SSLCertThe certificate to be used during ssl negotiation.
SSLServerCertThe server certificate for the last established connection.
TerminalNumberTerminal number assigned by Paymentech.
TimeoutA timeout for the component.
TransactionAmountPurchase amount for an authorization.
UserIdUserId for authentication with the NetConnect Server .

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

ActivateCardActivates a Gift Card.
AddValueActivates and/or adds funds to a Gift Card.
BalanceInquiryRetrieves the balance remaining on a gift card.
ConfigSets or retrieves a configuration setting.
DeactivateCardDeactivates a gift card.
InterruptInterrupt the current method.
ReactivateCardRe-activates Gift Card that has been previously deactivated.
RedeemCardDeducts funds from a gift card for the purchase of goods or services.
ResetClears all properties to their default values.
VoidTransactionVoids a transaction in the current batch.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ErrorInformation about errors during data delivery.
SSLServerAuthenticationFired after the server presents its certificate to the client.
SSLStatusShows the progress of the secure connection.
TransferFired while a document transfers (delivers document).

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

VoiceAuthCodeWhen VoiceAuthCode contains a value, the component will send a Force transaction to the Paymentech system.
CustomerDefinedDataAdditional transaction identification data.
HTTPVersionThe version of HTTP used by the component
UserAgentInformation about the user agent (browser).
AuthorizationThe Authorization string to be sent to the server.
AllowHTTPCompressionThis property enables HTTP compression for receiving data.
TransferredDataLimitThe maximum number of incoming bytes to be stored by the component.
KeepAliveDetermines whether the HTTP connection is closed after the completion of the request.
ProxyServerName or IP address of a proxy server (optional).
ProxyPortPort for the proxy server (default 80).
ProxyUserA user name if authentication is to be used for the proxy.
ProxyPasswordA password if authentication is to be used for the proxy.
ProxyAuthorizationThe authorization string to be sent to the proxy server.
ProxyAuthSchemeThe authorization scheme to be used for the proxy.
IfModifiedSinceA date determining the maximum age of the desired document.
MaxHTTPCookiesInstructs component to save the amount of cookies specified that are returned by the server when a SetCookie event is fired.
MaxHeadersInstructs component to save the amount of headers specified that are returned by the server after a Header event has been fired.
AcceptEncodingUsed to tell the server which types of content encodings the client supports.
EncodeURLIf set to true the URL will be encoded by the component.
GetOn302RedirectIf set to true the component will perform a GET on the new location.
UseWinInetIf set, the WinInet API is used for retrieving the URL
UseWinInetCookiesControls whether to send and accept cookies when making http requests through WinInet
UseIPv6Whether or not to use IPv6.
MaxLineLengthThe maximum amount of data to accumulate when no EOL is found.
FirewallListenerIf true, the component binds to a SOCKS firewall as a server (IPPort only).
CloseStreamAfterTransferIf true, the component will close the upload or download stream after the transfer.
TcpNoDelayWhether or not to delay when sending packets
AcceptAnyServerCertIf set the component will accept any certificate presented by the server
SSLProviderThe name of the security provider to use.
SSLCipherStrengthThe minimum cipher strength used for bulk encryption.
SSLEnabledProtocolsUsed to enable/disable the supported security protocols.
SSLSecurityFlagsFlags that control certificate verification
ReuseSSLSessionDetermines if the SSL session is reused.
OpenSSLCipherListA string that controls the ciphers to be used by SSL.
OpenSSLPrngSeedDataThe data to seed the pseudo random number generator(PRNG).
OpenSSLCAFileName of the file containing the list of CA's trusted by your application.
OpenSSLCADirThe path to a directory containing CA certificates.
InBufferSizeThe size in bytes of the incoming queue of the socket.
OutBufferSizeThe size in bytes of the outgoing queue of the socket.
AbsoluteTimeoutDetermines whether timeouts are inactivity timeouts or absolute timeouts.
FirewallDataUsed to send extra data to the firewall.
CodePageThe system code page used for Unicode to Multibyte translations (Windows/COM only).

| About | Privacy Policy | Terms of Use |
© Copyright 2008 /n software inc.