To know the transaction status, you just need to check the ShortMessage
The ShortMessage provides the transaction status and the LongMessage gives a more information with the return code. The lifecycle of a transaction shown below, can take 4 definitive states: REFUSED, CANCELLED, ERROR, ACCEPTED and 3 temporary states INPROGRESS, ONHOL_PARTNER, PENDING_RISK :
ShortMessage Values | Description |
---|---|
ACCEPTED | Request realized with succes or transaction accepted |
REFUSED | Operation refused |
CANCELLED | Operation cancelled |
ERROR | Operation failed |
INPROGRESS | Operation processing (temporary states) |
ONHOLD_PARTNER | Operation pending status from partner (temporary states) |
PENDING_RISK | Operation pending acceptance from fraud module (temporary states) |
Whatever the mode of use of the Payline payment solution: in direct interface mode, webpayment, TPEV, batch interface or via the Administration Center, you will find below the list of codes and messages.
Return codes used by Payline API services :
Page Tree | ||||
---|---|---|---|---|
|
The return codes of the message are returned by the result object and code ShortMessage.
You can also view the life cycle of the return code. Les codes retour utilisés par les services de l'API Payline