module MuckCommerceHelper def extract_cim_transaction_id(transaction) transaction.params['direct_response']['raw'].split(",")[6] rescue 'Not Available' end end