E-Payment Integrator 2020 C++ Edition

Questions / Feedback?

CardIsEncrypted Property

Determines whether data set to the Number property is validated.

Syntax

ANSI (Cross Platform)
int GetCardIsEncrypted();
int SetCardIsEncrypted(int bCardIsEncrypted); Unicode (Windows) BOOL GetCardIsEncrypted();
INT SetCardIsEncrypted(BOOL bCardIsEncrypted);
@property (nonatomic,readwrite,assign,getter=cardIsEncrypted,setter=setCardIsEncrypted:) BOOL cardIsEncrypted;
- (BOOL)cardIsEncrypted;
- (void)setCardIsEncrypted:(BOOL)newCardIsEncrypted;
#define PID_ICHARGE_CARDISENCRYPTED 8

INPAY_EXTERNAL void* INPAY_CALL InPay_ICharge_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INPAY_EXTERNAL int INPAY_CALL InPay_ICharge_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

Determines whether data set to the CardNumber property is validated.

By default, when the CardNumber field is set, the value will be validated and normalized. For instance, "4444-33332222 1111" will be normalized as "4444333322221111". However, any other non-numerical data entered will cause an exception to be thrown. It may be useful in some gateways to send other data in the CardNumber field, and this can be accomplished by setting IsEncrypted to true. However, please note that in doing so automatic calculation of the CardType may be affected, and the card number will not be verified.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 C++ Edition - Version 20.0 [Build 7941]