AddValue Method
Activates and/or adds funds to a Gift Card.
Syntax
[VB.NET] Public Sub AddValue()
[C#] public void AddValue();
Remarks
AddValue transactions allows a merchant to issue or add value to a stored value card at the host. This transaction can be used on both new and existing stored value cards. The AddValue transaction can be used in place of an ActivateCard transaction.
AddValue transactions can be performed on a stored value card more than once over the lifetime of the card, as the cardholder chooses to "reload" the card.
Merchants have the ability to issue stored value cards with a host configured pre-denominated amount, or issue the cards with a flexible transaction amount. With pre-denominated cards, based on the selections indicated at sign-up, the stored value host will either approve the transaction for the amount that the pre-denominated card is setup for (regardless of the amount keyed), or decline the transaction if the amount keyed at the Point Of Sale doesn't match the amount identified on the card.
This transaction is automatically added to the current open batch, and will be settled when the PTechHostSettle component's BatchRelease method is called.
The gift card may be specified by either a MagneticStripe returned by a card reader, (Track2 only), or manually entered through the Number, ExpMonth, and ExpYear.A 3-digit Card Verification Value code may also be supplied in the CVVData field.
The Code and Text fields indicate whether this transaction was successful.
NOTE: This method has a corresponding asynchronous version (AddValueAsync) for use in the WinRT environment.