dever 6 years ago
parent
commit
5b056432f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Wechat.php

+ 1 - 1
lib/Wechat.php

@@ -110,7 +110,7 @@ class Wechat extends Core
 	{
 		if (isset($order['prepay_id'])) {
 			$order['partnerid'] = $this->config->GetMerchantId();
-			$order['package'] = 'Sign=WXPay';
+			$order['package_string'] = 'Sign=WXPay';
 
 			$string = 'appid='.$this->config->GetAppId().'&partnerid='.$order['partnerid'].'&prepayid='.$order['prepay_id'].'&package='.$order['package'].'&noncestr='.$order['nonce_str'].'&timestamp='.$order['time'];
 			if($order['sign_type'] == "MD5"){