--- a/html/sites/all/modules/contrib/uberpos/contrib/up_authorizenet/up_authorizenet.module
+++ b/html/sites/all/modules/contrib/uberpos/contrib/up_authorizenet/up_authorizenet.module
@@ -116,7 +116,8 @@ watchdog("here"," manual entry " . print_r($data,1));
     $result = up_authorizenet_charge($order, $amount, $data);
 
     if ($result['success']) {
-      uc_payment_enter($order->order_id, 'pos_credit', $amount, $order->uid, NULL, t('UberPOS !type', array('!type' => 'CC')));
+      uc_payment_enter($order->order_id, 'pos_credit', $amount, $order->uid, $result, t('UberPOS !type', array('!type' => 'CC')));
 
       if ($order->order_total > 0 && $due <= 0) {
         if ($due < 0) {
@@ -246,7 +247,9 @@ function up_authorizenet_charge($order, $amount, $data) {
    * 6  Nothing
    * 7  Transaction ID
    * 8  MD5 Hash
-   * 9 User Reference
+   * 9  User Reference
+   * 20 Last four (XXXX1111)
+   * 21 Card Type
    */
   // If we didn't get an approval response code...
   if ($response[1] != '1') {
@@ -259,10 +262,13 @@ function up_authorizenet_charge($order, $amount, $data) {
   else {
     // Build a message for display and comments in the payments table.
     $message = t('ID: @id', array('@id' => $response[7]));
+    $last_four = substr($response[20], 4, 4);
     $result = array(
       'success' => TRUE,
       'comment' => t(' @message', array('@message' => $response[3])), 
       'message' => t(' @message', array('@message' => $response[3])),
+      'transaction_id' => $response[7],
+      'last_four' => $last_four,
+      'track1' => $data['track1'],
+      'exp_date' => $data['exp_date'],
     );
   }
 
