Mobilpenge
Mobilpenge
Certification of Merchant Service Provider
Mobilpenge
Document History
Document Location
This is a snapshot of an on-line document. Paper copies are valid only on the day they are printed. Refer to the author if you are in any doubt about the currency of this document.
Revision History
Date of this revision: 14.11.2011 Date of next revision
Revision Number
Revision Date
Summary of Changes Changes
marked
0.1 08-08-11 Initial document N
1.0 22-08-11 Updated document after review comments N
1.3 21-09-11 Updated document with new field names and test data N 1.4 09-11-11 Updated document with test data supporting stand-in N
1.5 14-11-11 Minor corrections N
Approval details
This document requires following approvals.
Mobilpenge
Contents
Document History ... 2
Document Location... 2 Revision History ... 2 Approval details ... 2Contents ... 3
1.
Introduction ... 4
2.
Parameters ... 5
2.1 Authorisation ... 5 2.1.1 Request ... 5 2.1.2 Response ... 6 2.2 Financial Advise ... 6 2.2.1 Request ... 6 2.2.2 Response ... 6 2.3 Reversal ... 7 2.3.1 Request ... 7 2.3.2 Response ... 73.
Test Data ... 8
3.1 Mobile Number 1, General ... 8
3.2 Mobile Number 2, Limited ... 8
3.3 Mobile Number 3, Blocked ... 8
3.4 Mobile Number 4, Cancelled ... 8
4.
Test Cases ... 9
4.1 TC1 Authorisation and Financial Advises... 9
4.2 TC2 Captured < Authorised Amount ... 10
4.3 TC3 Credit < Authorised Amount ... 10
4.4 TC4 Rejection of Authorised Amount > 1500 DKK ... 11
4.5 TC5 Rejection of Authorised Amount > 100 DKK ... 11
4.6 TC6 Blocked Mobile Number ... 12
4.7 TC7 Cancelled Mobile Number... 12
4.8 TC8 Reversal ... 13
4.9 TC9 Estimated Authorisation ... 13
Mobilpenge
1. Introduction
The intention of this document is to provide a set of test cases and mobile numbers to certification of merchant solution.
Reques t Res pons e
Nets BU BU Issuer Merchant Internet SSL Nets Host SOAP
Mobilpenge
2. Parameters
This section contains a list of parameters to send and receive for the merchant solution to Nets.
2.1 Authorisation
2.1.1 Request
Field
Example
Comment
mobileNumber 4506001000 Mobile number used to identify the Mobilpenge agreement
amountTransaction 296 Amount in smallest unit in currency. The example corresponds to 2,96 DKK dateTimeLocalTransaction 110530090030 Actual time in format YYMMDDhhmmss posDataCode M00500N00011 Value ‘M00500N00011’ must be used for
Mobilpenge
functionCode 100 Accurate amount 100
Estimated amount 101
messageReasonCode 0000 Normal 0000
Suspicious of fraud 1511 mobileAcceptorBusinessCode 4816 Computer: 4816
acquirerReferenceData 1234 Transaction reference created by the merchant mobileAcceptorTerminalId T2837210 Terminal id, unique
mobileAcceptorIdentificationCo de
0017205 Terminal operator, unique merchant id
name Smith Radio Merchant name
address Boulevard 4 Merchant address
zipCode 3266 Merchant zip
city Broby Merchant City
regionCode DK Merchant region code
countryCode DNK Merchant country code
minimumAge 16 Product age limit, not implemented
Mobilpenge
2.1.2 Response
Field
Example
Comment
amountTransaction 296 Echo from Authorisation Request
dataTimeLocalTransaction 110530090030 Echo from Authorisation Request acquirerReferenceData 1234 Echo from Authorisation Request
approvalCode 114407 Approval code of 6 digits assigned by issuer
actionCode 000 Authorisation request status, e.g. approved or
declined, depending on test case, refer to expected results for the individual test cases currencyCodeTransaction 208 Echo from Authorisation Request
originalTransactionData (encrypted string) Original data to use for financial advises or reversal transactions
2.2 Financial Advise
2.2.1 Request
Field
Example
Comment
amountTransaction 296 Amount
dataTimeLocalTransaction 110530090030 Actual time in format YYMMDDhhmmss
functionCode 201 Capture, same amount 201
Capture, different amount 202 Credit 200
acquirerReferenceData 1234 Original acquire reference from Authorisation request
currencyCodeTransaction 208 Original acquire currency code from Authorisation request
originalTransactionData (encrypted string) originalTransactionData from Authorisation response
2.2.2 Response
Field
Example
Comment
amountTransaction 296 Echo from Financial Advise Request
dataTimeLocalTransaction 110530090030 Echo from Financial Advise Request acquirerReferenceData 1234 Echo from Financial Advise Request
actionCode 000 Request status, e.g. approved or declined,
Mobilpenge
results for the individual test cases currencyCodeTransaction 208 Echo from Financial Advise Request originalTransactionData (encrypted string) Echo from Financial Advise Request
2.3 Reversal
2.3.1 Request
Field
Example
Comment
amountTransaction 296 Original amount from Authorisation request dataTimeLocalTransaction 110530090030 Actual time in format YYMMDDhhmmss
functionCode 400 Reversal 400
messageReasonCode 4000 Customer Cancellation 4000
Unspecified 4001
Suspected malfunction 4002 Completed partially 4004
acquirerReferenceData 1234 Original acquire reference from Authorisation request
currencyCodeTransaction 208 Original acquire currency code from Authorisation request
originalTransactionData (encrypted string) originalTransactionDate from Authorisation response
2.3.2 Response
Field
Example
Comment
amountTransaction 296 Echo from Reversal Request
dataTimeLocalTransaction 110530090030 Echo from Reversal Request acquirerReferenceData 1234 Echo from Reversal Request
actionCode 400 Request status, e.g. approved or declined,
depending on test case, refer to expected results for the individual test cases currencyCodeTransaction 208 Echo from Reversal Request originalTransactionData (encrypted string) Echo from Reversal Request
Mobilpenge
3. Test Data
For the MSP certification four Mobilpenge agreements and mobile numbers are created in Nets’ KOPI environment.
3.1 Mobile Number 1, General
Purpose: To test a large number of transactions. Maximum purchase per transaction: 1500,00 DKK.
Maximum daily limit: 100000,00 DKK (for testing purposes).
Mobile: 4506001000
3.2 Mobile Number 2, Daily limit
Purpose: To test the issuer specified daily limit. Maximum purchase per transaction 100,00 DKK.
Maximum daily limit: 100,00 DKK (NB: Limit may already have been exceeded by other test runs).
Mobile: 4506001001
3.3 Mobile Number 3, Blocked
Purpose: To tests transactions against a blocked agreement.
Mobile: 4506001002
3.4 Mobile Number 4, Cancelled
Purpose: To tests transactions against a cancelled agreement.
Mobilpenge
4. Test Cases
How to run the test cases:
All fields should be filled in.
For each test case a specific mobile number must be used (from the above listed numbers). Remember to use the correct mobile number specified for each of the individual test cases.
The values for PosDataCode, currencyCodeTransaction and countryCode are fixed to M00500N00011, 208 and DNK
Some values are defined at test cases level.
The remaining values are free to decide for the tester, but must follow the rules for the field and be consistent throughout a test case.
4.1 TC1 Authorisation and Financial Advises
Purpose: Test Authorisation and financial advises for exact amount 1,01 DKK.
TC Input to request Expected result Result/problem report #
TC1a Authorisation mobileNumber = 4506001000 amountTransaction = 101 functionCode = 100 actionCode= 000 amountTransaction = 101 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = 6 digits received from NDS originalTransactionData = encrypted string TC1b Capture amountTransaction = 101 functionCode = 201 acquirerReferenceData = Auth. request actionCode= 000 amount = 101 dateTimeLocalTransaction, acquirerReference, currencyCode originalTransactionData = request TC1c Credit Amount = 101 functionCode = 100 acquirerReference = Auth. request actionCode= 000 amount = 101 dateTimeLocalTransaction, acquirerReference, currencyCode originalTransactionData = Request
Mobilpenge
4.2 TC2 Captured < Authorised Amount
Purpose: Test captured amount < Authorised amount.
TC Input to request Expected result Result/problem report #
TC2a Authorisation mobileNumber = 4506001000 amountTransaction = 403 functionCode = 100 actionCode= 000 amountTransaction = 403 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = 6 digits received from NDS originalTransactionData = encrypted string TC2b Capture amountTransaction = 203 functionCode = 202 acquirerReferenceData = Auth. request actionCode= 000 amountTransaction = 203 dateTimeLocalTransaction, acquirerReference, currencyCode originalTransactionData = Capt. Request
4.3 TC3 Credit < Authorised Amount
Purpose: Verify credit amount < Authorised amount.
TC Input to request Expected result Result/problem report #
TC3a Authorisation mobileNumber = 4506001000 amountTransaction = 205 functionCode = 100 actionCode= 000 amountTransaction = 205 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = 6 digits received from NDS originalTransactionData = encrypted string TC3b Capture amountTransaction = 205 functionCode = 201 acquirerReferenceData = Auth. request actionCode= 000 amountTransaction = 205 dateTimeLocalTransaction, acquirerReference, currencyCode originalTransactionData = Capt. Request
Mobilpenge
TC3c Credit Amount = 105 functionCode = 200 acquirerReferenceData = Auth. request actionCode= 000 amountTransaction = 105 dateTimeLocalTransaction, acquirerReference, currencyCode originalTransactionData = Cred. Request4.4 TC4 Rejection of Authorised Amount > 1500 DKK
Purpose: Verify that an Authorised amount =< 1500 DKK.
TC Input to request Expected result Result/problem report #
TC4a Authorisation mobileNumber = 4506001000 amountTransaction = 150001 functionCode = 100 actionCode= 121 amountTransaction = 150001 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = <blank> originalTransactionData = <blank>
4.5 TC5 Rejection of Authorised Amount > 100 DKK
Purpose: Verify that an Authorised amount exceeding daily limit is declined. This test case is optional.
Note: For this test case different scenarios may apply, depending on whether online access to the issuer is available during execution of the test case. In case there is no online access to the issuer during execution of this test case, Nets will perform stand-in of the transactions and approve the authorisation. In case there is online access to the issuer, a purchase above 100 DKK will be rejected by the issuer. The expected result therefore depends on whether there is online access to the issuer or not. In case the authorisation is approved, the test case may be performed at another time. As Nets cannot guarantee that the online connection to the issuer is available during the certification process, it may not be possible to complete this test case. The test case is therefore optional.
Mobilpenge
TC Input to request Expected result Result/problem report #
TC5a Authorisation mobileNumber = 4506001001 amountTransaction = 10001 functionCode = 100 Either (declined): actionCode= 121 amountTransaction = 10001 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = <blank> originalTransactionData = <blank> Or (approved): actionCode= 000 amountTransaction = 10001 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. Request approvalCode = 6 digits received from NDS originalTransactionData = encrypted string
4.6 TC6 Blocked Mobile Number
Purpose: Test of blocked mobile number.
TC Input to request Expected result Result/problem report #
TC6a Authorisation mobileNumber = 4506001002 amountTransaction: 607 functionCode: 100 actionCode= 100 amountTransaction = 607 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = <blank> originalTransactionData = <blank>
4.7 TC7 Cancelled Mobile Number
Mobilpenge
TC Input to request Expected result Result/problem report #
TC7a Authorisation mobileNumber = 4506001003 amountTransaction = 707 functionCode = 100 actionCode= 118 amountTransaction = 707 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = <blank> originalTransactionData = <blank>
4.8 TC8 Reversal
Purpose: Test of Reversal.
TC Input to request Expected result Result/problem report #
TC8a Authorisation mobileNumber = 4506001000 amountTransaction = 403 functionCode = 100 actionCode= 000 amountTransaction = 403 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = 6 digits received from NDS originalTransactionData = encrypted string TC8b Reversal amountTransaction = 403 functionCode = 400 acquirerReference = Auth. request actionCode= 400 amountTransaction = 403 dateTimeLocalTransaction, acquirerReference, currencyCode originalTransactionData = Capt. request
4.9 TC9 Estimated Authorisation
Mobilpenge
TC Input to request Expected result Result/problem report #
TC9a Authorisation mobileNumber = 4506001000 amountTransaction = 389 functionCode = 101 actionCode= 000 amountTransaction = 389 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. request approvalCode = 6 digits received from NDS originalTransactionData = encrypted string
4.10 TC10 Duplicate Authorisation
Purpose: Test of duplicate Authorisation.
TC Input to request Expected result Result/problem report #
TC10a Authorisation 1 mobileNumber = 4506001000 amountTransaction = 432 functionCode = 100 actionCode= 000 amountTransaction = 432 dateTimeLocalTransaction, acquirerReference,
currencyCode = Auth. Request approvalCode = 6 digits received from NDS originalTransactionData = encrypted string
TC10b Authorisation 2
Resend Authorisation request from TC10a
Expected result is identical to TC10a