增加预订单回调处理,用于扩展信息

This commit is contained in:
egzosn
2019-10-08 22:05:53 +08:00
parent fdf5df5d5f
commit ad7efdce9d
9 changed files with 34 additions and 14 deletions

View File

@@ -153,7 +153,7 @@ public class AliPayService extends BasePayService<AliPayConfigStorage> {
@Override
public Map<String, Object> orderInfo(PayOrder order) {
Map<String, Object> orderInfo = getOrder(order);
Map<String, Object> orderInfo = getOrder(order);
String sign = null;
if (AliTransactionType.APP == order.getTransactionType() ){
@@ -233,7 +233,7 @@ public class AliPayService extends BasePayService<AliPayConfigStorage> {
// 支付宝处理完请求后,当前页面跳转到商户指定页面的路径,可空
orderInfo.put("return_url", payConfigStorage.getReturnUrl());
return orderInfo;
return preOrderHandler(orderInfo, order);
}