# Testing
# 1 Preparation
Check Quick Start. Make sure you completed the preparation and received the merchant number, channel number,
RSA
public key andAES
key from TripLink.Make sure you received login information for the Merchant system in test environment. Merchant system is the online management platform provided by TripLink. You can use it to query the card and transaction data in the next test process.
Test: https://triplink.uat.ctripqa.com/webapp/yago/login (opens new window)
Production: https://vcc.triplinkintl.com/webapp/yago/login (opens new window)
TripLink also provides Merchant self-service testing platform, you can mock various types of operation, e.g. online authorization transaction, settlement.
# 2 Create first Card
You can create card through API, once succeed, you can login the merchant system and query the card record you just created in section VAN management/VAN Information. Check the detailed information including card number, expiration date CCV2 and so on, to ensure those information matched your API request.
# 3 Initiate first online Transaction
# 3.1 Purchase Authorization
You can login the Merchant self-service testing platform (opens new window) to initiate first purchase authorization. Click Purchase Authorization
to fill in all the required fields. (MCC
and MID
is provided during onboarding, TransactionCode
is fixed value)
# 3.2 Refund Authorization
Refund authorization is similar as Purchase Authorization. Click Refund Authorization
to fill in all the required fields. (MCC
and MID
is provided during onboarding, TransactionCode
is fixed value)
# 3.3 Query Transaction
After initiating the authorization transaction, you can query the transaction records by enter the card number on homepage.
# 4 Initiate first Reversal Transaction
After initiating the purchase authorization or refund authorization, you can initiate the reversal transaction by clicking the Reversal
button on any transaction record.
You can query the reversal transaction by click the Search
button again.
# 5 Simulate Settlement Transaction
After initiating the purchase authorization or refund authorization, you can simulate settlement transaction by clicking Settlement
button on any transaction record.
You can query the settlement record in Merchant system (opens new window) section Transaction Management/Settlement Transaction with card number specified.