测试完成。TODO优化

Signed-off-by: hitsword <mail@huayizhiyun.com>
This commit is contained in:
hitsword
2019-05-20 18:34:03 +08:00
parent cb7f8d36c0
commit 569ed8b46f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ class WC_Huayi_Score extends WC_Payment_Gateway {
return;
}
if ( $result['data']['refund_status'] == 'success' ) {//TODO TEST
if ( $result['data']['refund_status'] == 'success' ) {
$order->add_order_note( sprintf( __( '退还时间: %s - 退还会员ID: %s', 'huayi_score' ), date("Y-m-d H:i:s"),$result['uid'] ) );
return true;
} else {