|
@@ -63,14 +63,16 @@ try
|
|
|
wxLog::DEBUG("out_trade_no={$out_trade_no} and transaction_id = {$transaction_id}");
|
|
|
Log::record("out_trade_no={$out_trade_no} and transaction_id = {$transaction_id}",Log::DEBUG);
|
|
|
|
|
|
+ $cb_info = app_payControl::update_order($out_trade_no,$transaction_id,'wxpay');
|
|
|
+
|
|
|
if($cb_info['state'] == false) {
|
|
|
wxLog::ERROR('wxpay error 1.');
|
|
|
Log::record('wxpay error.',Log::DEBUG);
|
|
|
} else {
|
|
|
wxLog::DEBUG('wxpay success.');
|
|
|
Log::record('wxpay success.',Log::DEBUG);
|
|
|
- $cb_info = app_payControl::update_order($out_trade_no,$transaction_id,'wxpay');
|
|
|
}
|
|
|
+
|
|
|
$ret_wx['return_code'] = 'SUCCESS';
|
|
|
$ret_wx['return_msg'] = 'OK';
|
|
|
} else {
|