/n software 3-D Secure V2 C++ Edition

Questions / Feedback?

CardNumber Property

Customer's credit card number to be authenticated.

Syntax

ANSI (Cross Platform)
char* GetCardNumber();
int SetCardNumber(const char* lpszCardNumber); Unicode (Windows) LPWSTR GetCardNumber();
INT SetCardNumber(LPCWSTR lpszCardNumber);
@property (nonatomic,readwrite,assign,getter=cardNumber,setter=setCardNumber:) NSString* cardNumber;
- (NSString*)cardNumber;
- (void)setCardNumber:(NSString*)newCardNumber;
#define PID_MPI_CARDNUMBER 16

IPWORKS3DS_EXTERNAL void* IPWORKS3DS_CALL IPWorks3DS_MPI_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS3DS_EXTERNAL int IPWORKS3DS_CALL IPWorks3DS_MPI_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the customer's credit card number which is to be authenticated. This must be the same number that will be used in the authorization request. This property is 13-19 characters long, excluding whitespace and dashes which are stripped out when the property is set.

Note: A VerifyEnrollment response may encrypt, encode, or otherwise modify this property. Do not reset the CardNumber property to the actual credit card number before calling GetAuthenticationPacket, or the ACS may respond with an error.

Note: Before calling CheckAuthenticationResponse, CardNumber must be set to last 4 digits of the card number preceded by zeroes. For instance:

  • 0000000001234 (13-digit PAN)
  • 0000000000001234 (16-digit PAN)

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software 3-D Secure V2 C++ Edition - Version 2.2 [Build 8162]