dever 5 years ago
parent
commit
4b66a61391
1 changed files with 2 additions and 3 deletions
  1. 2 3
      lib/Set.php

+ 2 - 3
lib/Set.php

@@ -41,11 +41,10 @@ class Set
 
             if ($status == 5) {
                 $pay = Dever::db('pay/account')->one($order['account_id']);
-                print_r($order);
-                print_r($pay);die;
                 $method = '\\Pay\\Lib\\' . ucwords($pay['type']);
                 $method = new $method($pay);
-                $method->refund($order_id);
+                $result = $method->refund($order_id);
+                print_r($result);die;
             }