cn.ezeyc.edpaliplug.pay.AliPay Maven / Gradle / Ivy
The newest version!
package cn.ezeyc.edpaliplug.pay;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
public class AliPay {
private static String createTrade(Long orderId,String outTradeNo,String amount,String alipayUserId){
// // 商品明细信息,按需传入
// JSONArray goodsDetail = new JSONArray();
// JSONObject goods1 = new JSONObject();
// goods1.put("goods_id", order.getGoodsId());
// goods1.put("goods_name", order.getGoodsContent());
// goods1.put("quantity", 1);
// goods1.put("price", order.getMarketPrice());
// goodsDetail.add(goods1);
// return AliPayUtil.aliPayTradeCreated(outTradeNo, amount, alipayUserId,payNotify,goodsDetail);
return null;
}
}