For my custom payment module I have a database table where I need to retrieve data from, but I have issues using collections.
For example I have a column named "order_id", I load the model that I have in my module and get the collection using $model->getCollection()
;
What's the correct way to get the data now?
When I use $collection->getData()["order_id"]
, I get an array with fields like ["order_id"]=> string(9) "145000021".
How can I get just the value from the table?