Lazada Card
Bussiness Scenario
AgreementPay
1. RegisterUser
2. Binding User - oauth, access token, get OTT
3. Binding card
4. AgreementPay for get URL
5. Challange 3ds / PIN
6. if PIN (get securityId from aphome)
3ds ( get S07 from ifcfluxnet)
7. check order query
8. check database
OPEN API - MOBILE BTS
new request on agreementPay
true
didn't get any risk
agreementPay normal
non lazada
get risk challange PIN
dbcheck: aqc_ext -RISK_SCHEMA_INFO
uniqidentifier={acquirementId}
scenario = PASSWORD
status = INIT
securityId :
pay with cc / dc
risk url for 3ds
put PaymentPreference on agreementPay request
payOptionBills.cardCacheToken !=null
false
null
autoRouting
set balance not enough
user support autorouting
merchant support autorouting
supportRiskChallenge=true
routing to CC / DC will get risk url for 3ds
user support autorouting
merchant support autorouting
supportRiskChallenge=false
no risk challange
SNAP
Component Test
order will close
order query will compose closeReason
cc/dc close reason pay_receipt_fail
pin close reason pay timeout
expired
aqc_ext
RISK_SCHEMA_INFO
status will success
idt_user_biz_order
isFilter = 1
check agreementPayWithRiskSchemaConfig
if merchant exist in agreementPayWithRiskSchemaConfig but request supportRiskChallange on request is false
no risk url
first priority is request, if request null / didn't send supportRiskChallange, check whitelist
dataItem: AgreementPayWithRiskSchemaConfig
user get pin and 3DS
1. agreementPay Merchant -> get riskUrl PIN
2. h5 open riskURL PIN
3. mobile / h5 send agreementPay with securityId
4. acquiring will return riskURL with verificationMethod = 3DS
5. acquiring wait for payResultDTO (s07/s08)
Gray Test
dbcheck: aqc_ext -RISK_SCHEMA_INFO
uniqidentifier={acquirementId}
scenario = 3DS
status = INIT
after get s07 from fluxnet
order query has response "supportRiskChallange"
order pay success
status risk will be success
requestId={acquirementId}
scenario = 3DS
status = INIT
payquery with method = payquery
verify 3ds
after get s07 from fluxnet
payquery with method = redirectCallback
order pay success
status risk will be success
order query has response "supportRiskChallange"
pay cc dc - Parama Ilegal
pay balance/coupon - no risk challange