From 9270d94668ac9146ee9e26e0a2abd817c768d2d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=A4=A7=E7=99=BD?= Date: Thu, 13 Jun 2024 18:40:40 +0800 Subject: [PATCH] Update StripeALLInOne.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复部分报错语句不规范 --- app/Payments/StripeALLInOne.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Payments/StripeALLInOne.php b/app/Payments/StripeALLInOne.php index 9543d51..d7aa413 100644 --- a/app/Payments/StripeALLInOne.php +++ b/app/Payments/StripeALLInOne.php @@ -102,7 +102,7 @@ class StripeALLInOne { $jumpUrl = $nextAction['alipay_handle_redirect']['url']; $actionType = 1; }else { - throw new ApiException('unable get alipay redirect url', 500); + throw new ApiException('unable get Alipay redirect url', 500); } break; case "wechat_pay": @@ -110,7 +110,7 @@ class StripeALLInOne { $jumpUrl = $nextAction['wechat_pay_display_qr_code']['data']; Log::info($jumpUrl); }else { - throw new ApiException('unable get alipay redirect url', 500); + throw new ApiException('unable get WeChat Pay redirect url', 500); } } return [