android 微信支付回调接口怎么写
展开全部
之前搞微信支付一直不能够回调支付结果的回调页面,现在来说一下怎么成功回调页面
参照文档:调起支付的代码:
[java] view plain copy
private void sendPayReq(String appid, String partnerid, String prepayid, String packageValue, String noncestr, int timestamp, String sign) {
//微信注册APPID
IWXAPI api = WXAPIFactory.createWXAPI(this,null);
api.registerApp(appid);
PayReq request = new PayReq();
request.appId = appid;
request.partnerId = partnerid;
request.prepayId = prep
参照文档:调起支付的代码:
[java] view plain copy
private void sendPayReq(String appid, String partnerid, String prepayid, String packageValue, String noncestr, int timestamp, String sign) {
//微信注册APPID
IWXAPI api = WXAPIFactory.createWXAPI(this,null);
api.registerApp(appid);
PayReq request = new PayReq();
request.appId = appid;
request.partnerId = partnerid;
request.prepayId = prep
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询