This commit is contained in:
youda 2025-05-16 19:21:57 +08:00
parent 4e2bb8eb89
commit 011edb6d61

View File

@ -71,9 +71,9 @@ class H5Platform extends BasePlatform
// 生成新的支付通知URL
$notifyUrl = generatePayNotifyUrl($payment_type, $order_type, $user_id, $order_no, $callback_nonce_str);
$is_test = $user['istest'];
if ($is_test == 2) {
$price = 0.01;
}
// if ($is_test == 2) {
// $price = 0.01;
// }
$returnUrl = urldecode($returnUrl);
//2. 发起API调用以支付能力下的统一收单交易创建接口为例
$result = Factory::payment()