You are on page 1of 7

PAYMETRIC, INC.

SAP and XiPay Credit Card Authorization Response Testing


TEC900-002

Technical Guide
SAP AND XIPAY CREDIT CARD AUTHORIZATION RESPONSE TESTING

Technical Guide
TEC900-002

© Paymetric, Inc.
10777 Northwest Freeway • Suite 650
Houston, Texas • 77092
Phone 713.682.0929 • Fax 713.682.5295

Copyright 2003 © Paymetric, Inc. The information contained in this document is proprietary and confidential to Paymetric, Inc. All rights
reserved.
Paymetric and the Paymetric logo are registered trademarks of Paymetric, Inc. XiPay Server, NexPort, and XiPay Cartridges are trademarks or
service marks of Paymetric, Inc. All other brand or product names may be trademarks or registered trademarks of their respective companies
or organizations.
ALL LICENSES OF PAYMETRIC SOFTWARE PROGRAMS AND RELATED DOCUMENTATION ("PROGRAMS") ARE SUBJECT
TO ANY EXPORT LAWS, REGULATIONS ORDERS OR OTHER RESTRICTIONS IMPOSED BY THE UNITED STATES OF
AMERICA OR BY ANY OTHER GOVERNMENT ENTITY ON THE PROGRAMS OR INFORMATION RELATING THERETO. A
LICENSEE OF ANY PROGRAM WILL NOT IMPORT, EXPORT, OR ALLOW THE EXPORT OR REEXPORT, DIRECTLY OR
INDIRECTLY, OF THE PROGRAM (OR TECHNICAL DATA OR OTHER INFORMATION RELATED THERETO) OR ANY
DIRECT PRODUCT THEREOF, TO ANY COUNTRY TO WHICH SUCH IMPORT, EXPORT, OR REEXPORT IS RESTRICTED
OR PROHIBITED, OR AS TO WHICH SUCH GOVERNMENT OR ANY AGENCY THEREOF REQUIRES ANY EXPORT
LICENSE OR OTHER GOVERNMENTAL APPROVAL AT THE TIME OF IMPORT, EXPORT OR REEXPORT, WITHOUT FIRST
OBTAINING SUCH APPROVAL.

ii
C
SAP AND XIPAY CREDIT CARD AUTHORIZATION RESPONSE TESTING
Contents

Contents
INTRODUCTION .......................................... 1 XiPay’s Null Cartridge ..............................................3

Scope ....................................................................1 Using a Merchant Processor Test Account ..............4

Requirements ........................................................1 Table Listing


Reference Documents...........................................1 Table 1: Specific card numbers and response
combinations....................................................2
OPERATIONS ............................................ 1
Table 2: Valid credit card numbers ................................3
Getting Started ......................................................1
SAP’s simulation function.........................................2

2003 © Paymetric, Inc. All Rights Reserved. iii May 2003


S AP AND XIP AY CREDIT CARD AUTHORIZ ATION RESPONSE TESTING

Introduction
Testing is a very important aspect of ensuring your system is performing as required.
Paymetric, Inc. provides the Null Cartridge for this level of testing.
The Null Cartridge allows your organization to build, test, and validate SAP
configuration. For installation verification purposes, running successful test transactions
through the Null Cartridge will validate system performance prior to connectivity to the
bank processor systems.

Scope This technical guide addresses the testing of possible authorization responses to
authorization requests. These include:
ƒ SAP’s simulation function
ƒ XiPay’s Null cartridge
ƒ Using a merchant processor test account

NULL
SAP XiPay Processor

Requirements To test SAP and XiPay, you must have the full version of XiPay 2.0 properly
configured and operating on the machine you are testing. The processor cartridge that
you are using must be configured to communicate with your assigned test account at
your processor. Ensure you have test accounts with your selected processor and
processor platform.

Reference The following documents are referenced in this document:


Documents INS100-001 - Null Cartridge Configuration
Also, please refer to documentation from your processor regarding their test accounts
and testing capabilities.

Operations

Getting Started To get started, test card numbers, amounts and expected responses.

2003 © Paymetric, Inc. All Rights Reserved. 1 May 2003


S AP AND XIP AY CREDIT CARD AUTHORIZ ATION RESPONSE TESTING

There are a number of areas to focus on when testing credit card authorizations in
SAP/XiPay. Some of these areas to test, at a high-level include:
ƒ Valid/invalid card number (based on modulus 10 check digit and rules for the
associated card type)
ƒ Formulation of an authorization request (based on SAP rules, business rules
and data structure)
ƒ Communication of the authorization request and response
ƒ Possible responses to an authorization request
ƒ Post-authorization processing related to the response (examples: authorization
expiration, re-authorization, billing/settlement)

Note: This document focuses only on the testing of possible responses to an


authorization request.

SAP’s simulation function

In an SAP implementation of Payment Card processing with XiPay there are a number
of points of control for testing credit card authorization responses.
SAP will initially be configured to use the standard SAP simulation function (via “Set
Authorization / Settlement Control Per Account” in the IMG, function module
CCARD_AUTH_SIMULATION). If this is the case, the authorization results are
purely a result of the credit card number and not the amount.
The standard SAP simulation function will give random authorization responses to all
valid card numbers except for the following specific card number and response
combinations.
Table 1 lists specific card numbers and response combinations.

Table 1: Specific card numbers and response combinations


Card Valid Card Number Response
VISA 4100000000000001 Authorization granted
MC 5100000000000008 Authorization granted
VISA 4200000000000000 Please call clearing house
MC 5200000000000007 Please call clearing house
Communication problem, no response from
VISA 4300000000000009
clearing house
Communication problem, no response from
MC 5300000000000006
clearing house

2003 © Paymetric, Inc. All Rights Reserved. 2 May 2003


S AP AND XIP AY CREDIT CARD AUTHORIZ ATION RESPONSE TESTING

Note: All other card numbers will result in random responses such as: Rejected,
Please call clearing house, Authorization granted, Loss of card reported,
Problems with the address, and Communication problems.

XiPay’s Null Cartridge

The IMG is modified to activate communication with XiPay by changing the


authorization function from CCARD_AUTH_SIMULATION to
ZPCCC_AUTHORIZATION_WRAPPER and constructing appropriate TCP/IP
connections.
Excerpt from INS100-001 – Null Cartridge Configuration.

Note: The XiPay Administrator should only perform this task.

The Null Cartridge fails authorizations and settlements based on dollar amount. In standard sales
order processing, there are three typical responses. To facilitate basic testing, the Null Cartridge is set to
the following:
$0-$800.00 $801.00-$2500.00 Over $2,500.00
Authorization Yes Yes No
Settlement Yes No N/A

Table 2 lists valid credit card numbers.

Table 2: Valid credit card numbers


Card Valid Card Number
AMEX 371829357405144
AMEX 371172339405183
DISC 6011000995500000
DISC 6011030995200004
MC 5478293046187590
MC 5454545454545454
VISA 4081947184617773
VISA 4195280375068355

Note: Changing the last digit will make these numbers invalid, as this will destroy the
check-digit.

2003 © Paymetric, Inc. All Rights Reserved. 3 May 2003


S AP AND XIP AY CREDIT CARD AUTHORIZ ATION RESPONSE TESTING

Using a Merchant Processor Test Account

In XiPay, cartridge related configuration permits switching processing from the Null
cartridge to one of your installed processor cartridges. The processor cartridge must be
configured to communicate with your assigned test account at your processor. The
behavior of these processor test accounts will vary greatly per processor and processor
platform.
Please refer to documentation from your processor regarding their test accounts and
testing capabilities.

2003 © Paymetric, Inc. All Rights Reserved. 4 May 2003

You might also like