Create transaction_method.php

Add this file in the application/libraries location