Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5支付初始化参数异常 #280

Open
frank-zg opened this issue Jun 20, 2024 · 0 comments
Open

h5支付初始化参数异常 #280

frank-zg opened this issue Jun 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@frank-zg
Copy link

frank-zg commented Jun 20, 2024

错误描述

{"code":"SIGN_ERROR","detail":{"detail":{"issue":"sign not match"}

已经确认参数都正确

重现bug的步骤

// 初始化商户配置
		Config rsaConfig =
				new RSAAutoCertificateConfig.Builder()
						.merchantId("")
						// 使用 com.wechat.pay.java.core.util 中的函数从本地文件中加载商户私钥,商户私钥会用来生成请求的签名
						.privateKeyFromPath("C:\\Users\\admin\\Downloads\\20240619_cert\\apiclient_key.pem")
						.merchantSerialNumber("")
						.apiV3Key("")
						.build();

预期行为

如描述

导致错误的代码片段

No response

操作系统

windows

Java 版本

jdk1.8

wechatpay-java 版本

0.2.12-all

其他信息

No response

@frank-zg frank-zg added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant