We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
付款时,总不会每次都是一次性成功,那么就需要存储 prepay_id,来复用它,
但是现在想享受签名便利的同时,且拿到 prepay_id,是没有办法做到的。
我想在调用的是合作伙伴的的接口,我现在设计存储的时候只想存储 prepay_id ,怎么获取到?
WxPayUnifiedOrderV3Result.JsapiResult wxPayMpOrderResult = wxPayService.createPartnerOrderV3(TradeTypeEnum.JSAPI, request);
但是 WxPayUnifiedOrderV3Result.JsapiResult 没有返回 prepay_id 字段
public static class JsapiResult implements Serializable { private static final long serialVersionUID = 4465376277943307271L; private String appId; private String timeStamp; private String nonceStr; private String packageValue; private String signType; private String paySign; }
能否同时满足,先从 createOrder 拿到存储 prepay_id ,再可以调用 getPayInfo 进行签名?
就是把请求和签名两个步骤解耦开。
https://pay.weixin.qq.com/doc/v3/partner/4012759974
The text was updated successfully, but these errors were encountered:
No branches or pull requests
付款时,总不会每次都是一次性成功,那么就需要存储 prepay_id,来复用它,
但是现在想享受签名便利的同时,且拿到 prepay_id,是没有办法做到的。
简要描述
我想在调用的是合作伙伴的的接口,我现在设计存储的时候只想存储 prepay_id ,怎么获取到?
但是 WxPayUnifiedOrderV3Result.JsapiResult 没有返回 prepay_id 字段
解决预案:
能否同时满足,先从 createOrder 拿到存储 prepay_id ,再可以调用 getPayInfo 进行签名?
就是把请求和签名两个步骤解耦开。
官方文档地址
https://pay.weixin.qq.com/doc/v3/partner/4012759974
The text was updated successfully, but these errors were encountered: