Hi Giang, is possibile in one of the next release to have a new field in orders DB table to store payment details that show content in the order details? Now we have to save payments result in an additional table for our custom payment plugin, if there was, for example, an addition field named payment_details (LONGTEXT) in eshop_orders we can store inside it in JSON format some infos about payment and when the field is not empty this information can be showed inside a new tab in order details (with a show true/false option for every elements). In this way we can insert in this field for example:
{
"error": {
"label":"Error",
"text":"Insufficient funds",
"code":"A154",
"show":true
},
"error_url": {
"url":"http:\/\/www...",
"show":false
},
"payment_id": {
"label":"Payment ID",
"text":"ABC123",
"show":false
}
}
and show:
Error: Insufficient funds
Payment ID: ABC123
Our customer can see the error details and we can store also some technical information about transaction set show = false. Thanks