This commit is contained in:
1 parent
71c8cb22ae
commit
bfecd0f0ae
2 files changed
+3
-2
No files matched your search
@@ -105,6 +105,8 @@ public class PayApi extends MchApi {
|
||||
throws WeixinException {
|
||||
String tradeType = payPackage.getTradeType();
|
||||
if (TradeType.MICROPAY.name().equalsIgnoreCase(tradeType)) {
|
||||
payPackage.declareWeixinPayAccount(weixinAccount);
|
||||
payPackage.setSign(weixinSignature.sign(payPackage));
|
||||
String para = XmlStream.toXML(payPackage);
|
||||
WeixinResponse response = weixinExecutor.post(
|
||||
getRequestUri("micropay_uri"), para);
|
||||
|
||||
Reference in new issue
Block a user