收藏
回答

商户API证书 和 商户平台证书 这两个在wechatpay-apiv3 中怎么用?

1.这里的merchantSerialNumber证书序列号 是 商户API证书 的 序列号吗

Config config =
    new RSAAutoCertificateConfig.Builder()
        .merchantId(merchantId)
        .privateKeyFromPath(privateKeyPath)
        .merchantSerialNumber(merchantSerialNumber)
        .apiV3Key(apiV3Key)
        .build();

2.回调 这里的 merchantSerialNumber证书序列号 是 商户API证书 还是 商户平台证书 的

NotificationConfig config = new RSAAutoCertificateConfig.Builder()
        .merchantId(merchantId)
        .privateKeyFromPath(privateKeyPath)
        .merchantSerialNumber(merchantSerialNumber)
        .apiV3Key(apiV3Key)
        .build();


商户平台证书 需要在哪里用

回答关注问题邀请回答
收藏
登录 后发表内容