支付宝支付去除空格

This commit is contained in:
liaofei 2022-08-26 09:04:42 +08:00
parent 7505af6408
commit 74f9f7ec91

View File

@ -130,6 +130,7 @@ class AliPayService
*/
public function create(string $title, string $orderId, string $totalAmount, string $passbackParams, string $quitUrl = '', string $siteUrl = '', bool $isCode = false)
{
$title = trim($title);
try {
if ($isCode) {
//二维码支付