laybuy_grand_total also seems to be pointless it is not used?
If the point is to use these for storing data to later be refunded, maybe it could store it in attributes so that they are not visible on the order emails e.g. $payment->setTransactionId is already set.
E.g.
9501271_maO03gjAYudBieBud3N0Axpalj1OR4M22G3Tqt1P
If you only set the number, it takes up much less space horizontally and the email will look okay.
Ok I take that back, laybuy_order_id appears to be used in the Response.php in a condition for ACTION_AUTHORIZE_CAPTURE, LAYBUY_SUCCESS to confirm the price matches.
Suggest to store laybuy_order_id as what is actually shown on the Laybuy Merchant screen.
Model/Laybuy.php
laybuy_grand_total also seems to be pointless it is not used?
If the point is to use these for storing data to later be refunded, maybe it could store it in attributes so that they are not visible on the order emails e.g. $payment->setTransactionId is already set.
E.g.
9501271_maO03gjAYudBieBud3N0Axpalj1OR4M22G3Tqt1P
If you only set the number, it takes up much less space horizontally and the email will look okay.