AuthCode Property
Authorization code from a previous transaction.
Syntax
ANSI (Cross Platform) char* GetAuthCode();
int SetAuthCode(const char* lpszAuthCode); Unicode (Windows) LPWSTR GetAuthCode();
INT SetAuthCode(LPCWSTR lpszAuthCode);
@property (nonatomic,readwrite,assign,getter=authCode,setter=setAuthCode:) NSString* authCode; - (NSString*)authCode; - (void)setAuthCode:(NSString*)newAuthCode;
#define PID_ICHARGE_AUTHCODE 1 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
""
Remarks
Some gateways require the merchant to include the ResponseApprovalCode from the original transaction in Credit, VoidTransaction, and Capture transactions. You may send the original approval code in this AuthCode property. The gateways which require this are listed below:
- gwIntellipay (3)
- gwBankOfAmerica (13)
- gwInnovative (14)
- gwACHPAyments (35)
- gwForte (36)
- gwSagePay (50)
- gwDataCash (77)
- gwFirstDataE4 (80)
Data Type
String