Update StripeALLInOne.php

修复部分报错语句不规范
This commit is contained in:
大大白 2024-06-13 18:40:40 +08:00 committed by GitHub
parent 5cc0b77982
commit 9270d94668
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 [