启用支付宝支付(WAP)

1、支付宝支付(WAP)对接配置

[info] 预支付订单、跳转及回调处理Controller /dodo/src/main/java/com/pay/action/front/PayAction.java

2、唤起支付网关

  1. 参见方法:
  2. /dodo/src/main/java/com/pay/action/front/PayAction.java:givealipay

3、前台支付完成后,页面跳转

  1. 参见方法:
  2. /dodo/src/main/java/com/pay/action/front/PayAction.java:givealipayend

4、接收回调

  1. 参见方法:PayAction.javaalipayNotify
  2. ......省略代码......
  3. // 业务1的回调
  4. if (payBusiType == PayBusiType.BUSI1) {
  5. }
  6. // 业务2的回调
  7. else if (payBusiType == PayBusiType.BUSI2) {
  8. }
  9. ......省略代码......