Merge pull request #510 from v2board/dev

1.5.5 patch 1
This commit is contained in:
tokumeikoi
2022-03-09 02:41:27 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@ -58,6 +58,7 @@ class AlipayF2F {
public function notify($params)
{
if ($params['trade_status'] !== 'TRADE_SUCCESS') return false;
$gateway = new \Library\AlipayF2F();
$gateway->setAppId($this->config['app_id']);
$gateway->setPrivateKey($this->config['private_key']); // 可以是路径,也可以是密钥内容