wechatpay-apiv3微信支付SDK工厂化实例失败

微信支付 文章 2022-03-06 10:00 0 全屏看文

wechatpay-apiv3微信支付SDK工厂化实例失败wechatpay-apiv3 WeChat payment SDK factory instance failed

wechatpay-apiv3微信支付SDK工厂化实例失败

执行下面语句时,返回 [],请问怎么解决?? PHP7.1.33 Guzzle 6.5

$instance = Builder::factory([

    'mchid'      => $merchantId,

    'serial'     => $merchantCertificateSerial,

    'privateKey' => $merchantPrivateKeyInstance,

    'certs'      => [

        $platformCertificateSerial => $platformPublicKeyInstance,

    ],

]);

When executing the following statement, it returns []. How can I solve it?? PHP7. 1.33 Guzzle 6.5 $instance = Builder::factory([ 'mchid' => $merchantId, 'serial' => $merchantCertificateSerial, 'privateKey' => $merchantPrivateKeyInstance, 'certs' => [ $platformCertificateSerial => $platformPublicKeyInstance, ], ]);

回答:

微凉:华d、^_^
谁知浪子心:来说吧吧唧啵啵啵唧
吴万明:吴万明13668543507

-EOF-