rabin 1 éve
szülő
commit
2700d50c7e
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      yspay/Merchant.php

+ 5 - 0
yspay/Merchant.php

@@ -66,6 +66,11 @@ class Merchant
             $merchant = array();
             if ($table == 2) {
                 $merchant = Dever::db('pay/yspay_merchant')->find(array('account_id' => $account_id, 'type' => 2));
+                if (strstr($order_num, '_')) {
+                    $temp = explode('_', $order_num);
+                    $order_num = $temp[0];
+                }
+                $order_num .= '_O';
             } else {
                 $project = Dever::db('pay/yspay_project')->find(array('table' => $table));
                 if ($project) {