Change log format and avoid to use trx_id to complete the transaction
- Replace
CRM_Core_Error::debug_log_message
withCivi::log()->debug(
- When is used more than one processor redsys in the same site, can be duplicated the trx_id, is using currently the parameter Ds_AuthorisationCode, now will be use "Ds_MerchantCode - Ds_AuthorisationCode" with this is possible to know wich redsys is creating this contribution and will avoid duplicated trxn_id.