HSBC Credit Card Error Testing Responses for the SCMP API
Input Expected Response
Input:
amount = 2500.00
auth_auth_response=0
auth_auth_code=831000
auth_rcode=1
auth_rflag=SOK
auth_rmsg=Request was processed successfully.
ics_rcode=1
ics_rflag=SOK
ics_rmsg=Request was processed successfully.
auth_auth_amount=2500.00
Input:
amount = 2501.00
auth_auth_response=2
auth_rcode=0
auth_rflag=DCALL
auth_rmsg=Payment processor error (02) hsbc returned [Obtain Manual Authorisation (and verify signature)]
ics_rcode=0
ics_rflag=DCALL
ics_rmsg=Payment processor error (02) hsbc returned [Obtain Manual Authorisation (and verify signature)]
Input:
amount = 2502.00
auth_auth_response=5
auth_rcode=-1
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [Transaction Declined]
ics_rcode=-1
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [Transaction Declined]
Input:
amount = 8000.00
auth_auth_response=0
auth_rcode=1
auth_rflag=SOK
auth_rmsg=Request was processed successfully.
ics_rcode=1
ics_rflag=SOK
ics_rmsg=Request was processed successfully.
Input:
amount = 8004.00
auth_auth_response=0
auth_rcode=1
auth_rflag=SOK
auth_rmsg=Request was processed successfully.
ics_rcode=1
ics_rflag=SOK
ics_rmsg=Request was processed successfully.
Input:
amount = 8005.00
auth_auth_response=2
auth_rcode=0
auth_rflag=DCALL
auth_rmsg=Payment processor error (02) hsbc returned [CALL AUTH CENTRE]
ics_rcode=0
ics_rflag=DCALL
ics_rmsg=Payment processor error (02) hsbc returned [CALL AUTH CENTRE]
Input:
amount = 8006.00
auth_auth_response=2
auth_rcode=0
auth_rflag=DCALL
auth_rmsg=Payment processor error (02) hsbc returned [INVALID TRANS]
ics_rcode=0
ics_rflag=DCALL
ics_rmsg=Payment processor error (02) hsbc returned [INVALID TRANS]
Input:
amount = 8007.00
auth_auth_response=3
auth_rcode=0
auth_rflag=DINVALIDDATA
auth_rmsg=Payment processor error (03) hsbc returned [PRE-VALID CARD]
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=Payment processor error (03) hsbc returned [PRE-VALID CARD]
Input:
amount = 8008.00
auth_auth_response=5
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [DECLINED]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [DECLINED]
Input:
amount = 8009.00
auth_auth_response=5
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [CARD EXPIRED]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [CARD EXPIRED]
Input:
amount = 8010.00
auth_auth_response=5
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [UNABLE TO AUTH]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [UNABLE TO AUTH]
Input:
amount = 8011.00
auth_auth_response=5
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [RE-ENTER DATA]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [RE-ENTER DATA]
Input:
amount = 8012.00
auth_auth_response=5
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [RETAIN CARD]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [RETAIN CARD]
Input:
amount = 8013.00
auth_auth_response=3
auth_rcode0
auth_rflag=DINVALIDDATA
auth_rmsg=Payment processor error (03) hsbc returned [MERCHANT UNKNOWN]
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=Payment processor error (03) hsbc returned [MERCHANT UNKNOWN]
Input:
amount = 8014.00
auth_auth_response=5
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [DECLINED]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [DECLINED]
Input:
amount = 8015.00
auth_auth_response=13
auth_rcode=0
auth_rflag=DINVALIDDATA
auth_rmsg=Payment processor error (13) hsbc returned [INVALID AMOUNT]
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=Payment processor error (13) hsbc returned [INVALID AMOUNT]
Input:
amount = 8016.00
auth_auth_response=30
auth_rcode=0
auth_rflag=DINVALIDDATA
auth_rmsg=Payment processor error (30) hsbc returned [BAD FORMAT]
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=Payment processor error (30) hsbc returned [BAD FORMAT]
Input:
amount = 8017.00
auth_auth_response=30
auth_rcode=0
auth_rflag=DINVALIDDATA
auth_rmsg=Payment processor error (30) hsbc returned [BAD AMOUNT]
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=Payment processor error (30) hsbc returned [BAD AMOUNT]
Input:
amount = 8018.00
auth_auth_response=30
auth_rcode=0
auth_rflag=DINVALIDDATA
auth_rmsg=Payment processor error (30) hsbc returned [BAD EXPIRY DATE]
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=Payment processor error (30) hsbc returned [BAD EXPIRY DATE]
Input:
amount = 8019.00
auth_auth_response=0
auth_rcode=1
auth_rflag=SOK
auth_rmsg=Request was processed successfully.
ics_rcode=1
ics_rflag=SOK
ics_rmsg=Request was processed successfully.
Input:
amount = 8020.00
auth_auth_response=04
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (04) hsbc returned [CARD RETAINED]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (04) hsbc returned [CARD RETAINED]
Input:
amount = 8021.00
auth_auth_response=05
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [DECLINE]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [DECLINE]
Input:
amount = 8022.00
auth_auth_response=05
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (05) hsbc returned [CANNOT AUTHORISE]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (05) hsbc returned [CANNOT AUTHORISE]
Input:
amount = 8023.00
auth_auth_response=30
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (30) hsbc returned [DISALLOWED TRAN]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (30) hsbc returned [DISALLOWED TRAN]
Input:
amount = 8024.00
auth_auth_response=30
auth_rcode=0
auth_rflag=DINVALIDDATA
auth_rmsg=Payment processor error (30) cardnet returned [BAD TRACK2]
ics_rcode=0
ics_rflag=DINVALIDDATA
ics_rmsg=Payment processor error (30) cardnet returned [BAD TRACK2]
Input:
amount = 8025.00
auth_auth_response=04
auth_rcode=0
auth_rflag=DCARDREFUSED
auth_rmsg=Payment processor error (04) hsbc returned [HOLD CARD]
ics_rcode=0
ics_rflag=DCARDREFUSED
ics_rmsg=Payment processor error (04) hsbc returned [HOLD CARD]
Input:
amount = 9998.00
auth_auth_response=
auth_rcode=-1
auth_rflag=ETIMEOUT
auth_rmsg=The server has reached the maximum time it can execute a transaction: readFully() reached EOF: hsbc
ics_rcode=0
ics_rflag=ETIMEOUT
ics_rmsg=The server has reached the maximum time it can execute a transaction: readFully() reached EOF: hsbc
Input:
amount = 9999.00
auth_auth_response=
auth_rcode=-1
auth_rflag=ETIMEOUT
auth_rmsg=Payment processor error : Received invalid response : APACS30 format for hsbc is invalid.
ics_rcode=-1
ics_rflag=ETIMEOUT
ics_rmsg=Payment processor error : Received invalid response : APACS30 format for hsbc is invalid.