修复支付状态问题

This commit is contained in:
2026-08-24 17:21:06 +08:00
parent 406fb8d6a6
commit 85a124b886
21 changed files with 198 additions and 308 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ class ChargeCard {
&& sanitize_key((string) ($order['product_type'] ?? '')) === \AKSRT\Core\DomainModel::ORDER_PRODUCT_VIP
&& (int) ($order['product_id'] ?? 0) === $card_id
&& sanitize_key((string) ($order['payment_method'] ?? '')) === 'card_pass'
&& in_array((string) ($order['status'] ?? ''), [Order::STATUS_PAID, Order::STATUS_COMPLETED], true)
&& (string) ($order['status'] ?? '') === Order::STATUS_PAID
&& (int) ($note['card_id'] ?? 0) === $card_id
&& sanitize_key((string) ($note['card_type'] ?? '')) === self::TYPE_VIP
&& (int) ($stored_meta['level'] ?? 0) === $level