支付宝刷脸发起支付接口,唤起支付暂未编写

This commit is contained in:
egzosn
2019-11-24 22:03:28 +08:00
parent 2c998e9cf5
commit b9a6173ab8
2 changed files with 17 additions and 1 deletions

View File

@@ -216,6 +216,7 @@ public class AliPayService extends BasePayService<AliPayConfigStorage, PayOrder>
break;
case BAR_CODE:
case WAVE_CODE:
case SECURITY_CODE:
bizContent.put("scene", order.getTransactionType().toString().toLowerCase());
bizContent.put(PRODUCT_CODE, "FACE_TO_FACE_PAYMENT");
bizContent.put("auth_code", order.getAuthCode());

View File

@@ -49,6 +49,16 @@ public enum AliTransactionType implements TransactionType {
* 声波付
*/
WAVE_CODE("alipay.trade.pay"),
/**
* 刷脸付
*/
SECURITY_CODE("alipay.trade.pay"),
/**
* 人脸初始化刷脸付
* 暂时未接入
*
*/
SMILEPAY("zoloz.authentication.customer.smilepay.initialize"),
//交易辅助接口
/**
@@ -86,7 +96,12 @@ public enum AliTransactionType implements TransactionType {
/**
* 转账查询
*/
TRANS_QUERY("alipay.fund.trans.order.query")
TRANS_QUERY("alipay.fund.trans.order.query"),
/**
* 查询刷脸结果信息
* 暂时未接入
*/
FTOKEN_QUERY("zoloz.authentication.customer.ftoken.query")
;