| | |
| | | AlipayTradePagePayRequest alipayRequest = new AlipayTradePagePayRequest(); |
| | | String bizContent = "{\"out_trade_no\":\"" + shopId + "\",\"total_amount\":\"" + feiyong + "\",\"subject\":\"" + chongzhiCompany + "\",\"body\":\"" + card + "\",\"product_code\":\"FAST_INSTANT_TRADE_PAY\"}"; |
| | | alipayRequest.setBizContent(bizContent); |
| | | alipayRequest.setReturnUrl("http://localhost:8888/HxzkFlow/page/index.jsp"); |
| | | alipayRequest.setNotifyUrl("http://localhost:8888/HxzkFlow/order/payed"); |
| | | // alipayRequest.setReturnUrl("http://a.iotposition.com:8088/HxzkFlow/page/index.jsp"); |
| | | // alipayRequest.setNotifyUrl("http://a.iotposition.com:8088/HxzkFlow/order/payed"); |
| | | // alipayRequest.setReturnUrl("http://localhost:8888/HxzkFlow/page/index.jsp"); |
| | | // alipayRequest.setNotifyUrl("http://localhost:8888/HxzkFlow/order/payed"); |
| | | alipayRequest.setReturnUrl("http://a.iotposition.com:8088/HxzkFlow/page/index.jsp"); |
| | | alipayRequest.setNotifyUrl("http://a.iotposition.com:8088/HxzkFlow/order/payed"); |
| | | String result = ((AlipayTradePagePayResponse)alipayClient.pageExecute(alipayRequest)).getBody(); |
| | | out.print(result); |
| | | } catch (Throwable var20) { |
| | |
| | | AlipayTradePagePayRequest alipayRequest = new AlipayTradePagePayRequest(); |
| | | String bizContent = "{\"out_trade_no\":\"" + shopId + "\",\"total_amount\":\"" + feiyong + "\",\"subject\":\"" + chongzhiCompany + "\",\"body\":\"" + fuwuqi + "\",\"product_code\":\"FAST_INSTANT_TRADE_PAY\"}"; |
| | | alipayRequest.setBizContent(bizContent); |
| | | alipayRequest.setReturnUrl("http://a.iotposition.com:8088/HxzkFlow/"); |
| | | alipayRequest.setReturnUrl("http://a.iotposition.com:8088/HxzkFlow/page/index.jsp"); |
| | | alipayRequest.setNotifyUrl("http://a.iotposition.com:8088/HxzkFlow/order/payedFuwuqi"); |
| | | String result = ((AlipayTradePagePayResponse)alipayClient.pageExecute(alipayRequest)).getBody(); |
| | | out.print(result); |