Our client would like a report (within drupal) of each user against their eway references.
I was looking at ways to get the eway Transaction ID out of the existing ubercart tables, but found that this information isn't being saved anywhere because i guess it really isn't needed by anything.
So the plan is to modify the uc_eway_charge function to save the result of the payemnt request somewhere.
My question is: where is the best place to store such information?
Currently some text based information is saved via
uc_order_comment_save($order_id, NULL, $result['comment'], 'admin');
to the uc_order_comments and uc_order_admin_comments tables, but i would like to save what's in $result['data'] (i.e. the entire response) as this contains the IDs which i require.
Perhaps the uc_order table can be used as it already stores some credit card info in it's data column?
I guess i'm just looking for the best way forward. I'd like to contribute this as a patch for further eway reporting functionality.