You can verify whether a user has successfully paid a transaction by using the following two methods:
trade_status returned in the asynchronous notification from the specific interface. To receive the asynchronous notification, you must pass in notify_url in the request. alipay_trans_status. Use single_trade_query for Online Payment transactions and check the value of trade_status.For In-store Payment transactions, the user has successfully paid if the value of trade_status or alipay_trans_status is TRADE_SUCCESS or TRADE_FINISHED. The relationship between the status are illustrated in the following figure:

For Online Payment trasnactions, the user has successfully paid if the value of trade_status is TRADE_FINISHED. The relationship between the status are illustrated in the following figure:



NEED HELP?