Difference between revisions of "Prepaid Card Guide"

From Payment Processing Software Library
Jump to: navigation, search
(Inventory)
(Requirements)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{CreditLine Header|Prepaid Card Guide}}
 
{{CreditLine Header|Prepaid Card Guide}}
'''This guide is for developers implementing the Prepaid Functionality'''
+
'''This guide is for developers implementing the Pre-paid Functionality'''
  
 
==Requirements==
 
==Requirements==
These API require version CreditLine version 4.1 Build 1101 SP8
+
These API require version CreditLine version 4.1 Build 1101 SP8 and later.
 
+
  
 
==Inventory==
 
==Inventory==
 
To begin with, you will need the following:
 
To begin with, you will need the following:
  
#[http://www.911software.com/files/compliance/prepaid/CCV_INFO.DAT Test Setup File] - to be dropped into 911\DATA directory to overwrite the existing setup file (backup as necessary)
+
# Enable Prepaid Card Support. Search for the following in '''911\data\911_CCV.ini''':<br><code>PrepaidCardSupport=YES</code><br>Uncomment (remove leading ''';''') and restart the application. If you don't find it, add this line in '''[911_CCV]''' section.
 +
#[http://www.911software.com/files/compliance/prepaid/CCV_INFO.DAT Test Setup File] - to be dropped into 911\DATA directory to overwrite the existing setup file (backup as necessary). To be used in [[#Test Mode]] (see below).
 
#[http://www.911software.com/files/compliance/prepaid/Script_Prepaid.doc Prepaid Card Test Script] - Use it to test your implementation.
 
#[http://www.911software.com/files/compliance/prepaid/Script_Prepaid.doc Prepaid Card Test Script] - Use it to test your implementation.
 
# [[CreditLine Download | Latest version]] of 911 Software CreditLine
 
# [[CreditLine Download | Latest version]] of 911 Software CreditLine
Line 18: Line 18:
 
==Prepaid API==
 
==Prepaid API==
  
The code is basically the same as none-prepaid.
+
The code is basically the same as none-prepaid with the addition of the Card Balance API - see below.
 +
First call clcAuth(), then call clcGetAmount() to get the approved amount (if the host processor supports this functionality).
 +
Finally, call clcGetBalanceAmount() to get the remaining balance on the card.
  
 
===Card Balance===
 
===Card Balance===
 
To get the remaining balance call '''getBalanceAmount()''', if using '''clc.dll''' (or '''GetBalanceAmount()''', if using '''CLClient.ocx''').
 
To get the remaining balance call '''getBalanceAmount()''', if using '''clc.dll''' (or '''GetBalanceAmount()''', if using '''CLClient.ocx''').
 +
 +
===Example===
 +
 +
* Customer has $10 in the account.
 +
* The ticket is $15.
 +
 +
# POS calls '''clcSetAmount()''' with $15 and sends an auth or sale request to the credit card server.
 +
# The CreditLine software returns an approval back to the POS.  At the same time, two important functions need to be called: <br>'''clcGetAmount()<br>clcGetBalanceAmount()'''.
 +
#'''clcGetAmount()''' returns $10  (It was $15 in the request, but it was changed to $10 in the response indication the approval amount).
 +
#'''clcGetBalanceAmount()''' returns $0.  (Nothing left on the card)
 +
 
   
 
   
 
   
 
   

Latest revision as of 04:07, 18 May 2011

This article is part of the
Payment Processing Software Library

Categories

Get it...

Credit Card Software
Download

Install it...

Installation
Upgrade & Migration

Connect to it...

Point Of Sale Integration

Set it up...

Quick Start Guide
Setup
Processor Setup

Licensing

Learn to use it...

Manual & User Guide
Knowledge Base
Frequently Asked Questions
Compliance Guide
Merchant Account Rates
User Interface Guides

Fix it...

Errors & Troubleshooting
Knowledge Base
Corrupted Install Repair

Get Help...

Contact
Processor Support Contacts

More Info ...

Glossary
Articles

See also...

911 Software
Help

CreditLine Payment Processing Software Prepaid Card Guide. This site can also be reached at http://docs.911software.com

Looking for better rates?   Get a Free Credit Card Processing Cost Comparison!

This guide is for developers implementing the Pre-paid Functionality

Requirements

These API require version CreditLine version 4.1 Build 1101 SP8 and later.

Inventory

To begin with, you will need the following:

  1. Enable Prepaid Card Support. Search for the following in 911\data\911_CCV.ini:
    PrepaidCardSupport=YES
    Uncomment (remove leading ;) and restart the application. If you don't find it, add this line in [911_CCV] section.
  2. Test Setup File - to be dropped into 911\DATA directory to overwrite the existing setup file (backup as necessary). To be used in #Test Mode (see below).
  3. Prepaid Card Test Script - Use it to test your implementation.
  4. Latest version of 911 Software CreditLine

Test Mode

The testing must be conducted under the CreditLine Test Mode.

Prepaid API

The code is basically the same as none-prepaid with the addition of the Card Balance API - see below. First call clcAuth(), then call clcGetAmount() to get the approved amount (if the host processor supports this functionality). Finally, call clcGetBalanceAmount() to get the remaining balance on the card.

Card Balance

To get the remaining balance call getBalanceAmount(), if using clc.dll (or GetBalanceAmount(), if using CLClient.ocx).

Example

  • Customer has $10 in the account.
  • The ticket is $15.
  1. POS calls clcSetAmount() with $15 and sends an auth or sale request to the credit card server.
  2. The CreditLine software returns an approval back to the POS. At the same time, two important functions need to be called:
    clcGetAmount()
    clcGetBalanceAmount()
    .
  3. clcGetAmount() returns $10 (It was $15 in the request, but it was changed to $10 in the response indication the approval amount).
  4. clcGetBalanceAmount() returns $0. (Nothing left on the card)