前端h5调起⽀付宝扫码付款,附上启动⽀付宝常⽤命令
在开发⼀些⽀付宝相关功能的⽹页时,有些情况需要直接调起⽀付宝APP的某个功能,那么在前端直接⽤⼀段简单的命令来调起是最⽅便的。
⽤法也简单,直接⽤⼀个a标签来跳转就可以。
举个例⼦,⽐如我项⽬中使⽤的调起⽀付宝扫码付款——
<a href='alipays://platformapi/startapp?appId=20000067&url=⽀付宝收款码⽀付地址'> 跳转⽀付宝⽀付</a>
然后,有的时候这样也没办法成功调起,那么再加个前缀转化⼀下。
render.alipay/p/s/i?scheme=
PS:注意要把等号后⾯这串地址urlencode编码转化。
下⾯是⼀些常⽤的唤醒⽀付宝某项功能的命令
mes = “alipayqr://platformapi/startapp?saId=10000003”;⼿机充值
mes = “alipayqr://platformapi/startapp?saId=10000007”;扫⼀扫
mes = “alipayqr://platformapi/startapp?saId=10000009”;爱⼼捐赠
mes = “alipayqr://platformapi/startapp?saId=100000011”;⾸页
mes = “alipayqr://platformapi/startapp?saId=100000033”;话费卡转让
mes = “alipayqr://platformapi/startapp?saId=10000110”;关于
mes = “alipayqr://platformapi/startapp?saId=10000112”;服务授权
mes = “alipayqr://platformapi/startapp?saId=20000116”;转账
mes = “alipayqr://platformapi/startapp?saId=20000056”;付款码
mes = alipays://platformapi/startapp?appId=20000003;账单
mes = alipays://platformapi/startapp?appId=20000076;账单
mes = “alipays://platformapi/startapp?appId=20000006”;切换账户
mes = “alipays://platformapi/startapp?appId=20000008”;⽀付宝登出
mes = “alipays://platformapi/startapp?appId=20000009”;⼿机号注册
mes = “alipays://platformapi/startapp?appId=20000010”;绑定⼿机
mes = “alipays://platformapi/startapp?appId=20000011”;客服帮助
mes = “alipays://platformapi/startapp?appId=20000013”;修改⽀付密码
mes = “alipays://platformapi/startapp?appId=20000014”;我的银⾏卡
mes = “alipays://platformapi/startapp?appId=20000015”;回登录密码
mes = “alipays://platformapi/startapp?appId=20000017”;修改登录密码
mes = “alipays://platformapi/startapp?appId=20000019”;余额
mes = “alipays://platformapi/startapp?appId=20000020”;卡包
mes = “alipays://platformapi/startapp?appId=20000024”;⽀付宝设置
mes = “alipays://platformapi/startapp?appId=20000027”;账号切换
mes = “alipays://platformapi/startapp?appId=20000031”;设置个⼈头像
mes = “alipays://platformapi/startapp?appId=20000032”;余额宝
mes = “alipays://platformapi/startapp?appId=20000033”;提现
mes = “alipays://platformapi/startapp?appId=20000038”;⾝份验证
mes = “alipays://platformapi/startapp?appId=20000048”;添加⽣活好
mes = “alipays://platformapi/startapp?appId=20000049”;意见反馈
mes = “alipays://platformapi/startapp?appId=20000050”;打开地图
mes = “alipays://platformapi/startapp?appId=20000057”;账号管理
mes = “alipays://platformapi/startapp?appId=20000068”;快速挂失
mes = “alipays://platformapi/startapp?appId=20000068”;安全中⼼
mes = “alipays://platformapi/startapp?appId=20000071”;城市⼀卡通
mes = “alipays://platformapi/startapp?appId=20000078”;上银汇款
mes = “alipays://platformapi/startapp?appId=20000081”;更多
mes = “alipays://platformapi/startapp?appId=20000122”;⾸页活动
mes = “alipays://platformapi/startapp?appId=20000123”;收钱
mes = “alipayqr://platformapi/startapp?appId=68687017”;年度账单
mes = “alipayqr://platformapi/startapp?appId=20000101”;⽣活号
mes = “alipayqr://platformapi/startapp?appId=20000102”;打开nfc
mes = “alipayqr://platformapi/startapp?appId=20000107”;出境
mes = “alipayqr://platformapi/startapp?appId=20000108”;挂号就诊支付宝商家收款码怎么弄
mes = “alipayqr://platformapi/startapp?appId=20000110”;我的保障
mes = “alipayqr://platformapi/startapp?appId=20000115”;设备管理
mes = “alipayqr://platformapi/startapp?appId=20000119”;阿⾥游戏
mes = “alipayqr://platformapi/startapp?appId=20000118”;芝⿇信⽤
mes = “alipayqr://platformapi/startapp?appId=20000120”;饿了么
mes = “alipayqr://platformapi/startapp?appId=20000123”;收钱
mes = “alipayqr://platformapi/startapp?appId=20000125”;⾸页
mes = “alipayqr://platformapi/startapp?appId=20000126”;免费wifi
mes = “alipayqr://platformapi/startapp?appId=20000130”;滴滴
mes = “alipayqr://platformapi/startapp?appId=20000132”;亲情号
mes = “alipayqr://platformapi/startapp?appId=20000134”;股票⾃选
mes = “alipayqr://platformapi/startapp?appId=20000135”;⽕车票
mes = “alipayqr://platformapi/startapp?appId=20000136”;游戏充值
mes = “alipayqr://platformapi/startapp?appId=20000139”;酒店搜索
mes = “alipayqr://platformapi/startapp?appId=20000141”;修改昵称
mes = “alipayqr://platformapi/startapp?appId=20000142”;娱乐宝
mes = “alipayqr://platformapi/startapp?appId=20000143”;⽕车票汽车票预定mes = “alipayqr://platformapi/startapp?appId=20000146”;我的淘宝
mes = “alipayqr://platformapi/startapp?appId=20000150”;汇率换算
mes = “alipayqr://platformapi/startapp?appId=20000153”;游戏中⼼
mes = “alipayqr://platformapi/startapp?appId=20000155”;飞猪
mes = “alipayqr://platformapi/startapp?appId=20000157”;国际机票查询
mes = “alipayqr://platformapi/startapp?appId=20000160”;蚂蚁会员
mes = “alipayqr://platformapi/startapp?appId=20000161”;理财⼩⼯具
mes = “alipayqr://platformapi/startapp?appId=20000162”;⽺城通
mes = “alipayqr://platformapi/startapp?appId=20000165”;定期理财
mes = “alipayqr://platformapi/startapp?appId=20000161”;指纹⼿势解锁
mes = “alipayqr://platformapi/startapp?appId=20000168”;年度账单
mes = “alipayqr://platformapi/startapp?appId=20000176”;红包
mes = “alipayqr://platformapi/startapp?appId=20000183”;设置⼿势密码
mes = “alipayqr://platformapi/startapp?appId=20000161”;指纹⼿势解锁设定界⾯mes = “alipayqr://platformapi/startapp?appId=20000186”;通讯录
mes = “alipayqr://platformapi/startapp?appId=20000161”;绑定智能⼿环
mes = “alipayqr://platformapi/startapp?appId=20000197”;⾸页-热门游戏
mes = “alipayqr://platformapi/startapp?appId=20000199”;花呗
mes = “alipayqr://platformapi/startapp?appId=20000205”;亲情圈
mes = “alipayqr://platformapi/startapp?appId=20000218”;黄⾦
mes = “alipayqr://platformapi/startapp?appId=20000225”;借条
mes = “alipayqr://platformapi/startapp?appId=20000227”;卡包
mes = “alipayqr://platformapi/startapp?appId=20000234”;刷脸
mes = “alipayqr://platformapi/startapp?appId=20000235”;服务提醒
mes = “alipayqr://platformapi/startapp?appId=20000241”;车险服务
mes = “alipayqr://platformapi/startapp?appId=20000243”;总资产
mes = “alipayqr://platformapi/startapp?appId=20000248”;个性签名
mes = “alipayqr://platformapi/startapp?appId=20000252”;朋友模块
mes = “alipayqr://platformapi/startapp?appId=20000255”;账户充值
mes = “alipayqr://platformapi/startapp?appId=20000266”;邮箱账单
mes = “alipayqr://platformapi/startapp?appId=20000288”;聊天室
mes = “alipayqr://platformapi/startapp?appId=20000290”;可能认识的⼈
mes = “alipayqr://platformapi/startapp?appId=20000298”;证书管理
mes = “alipayqr://platformapi/startapp?appId=20000301”;多设备管理
mes = “alipayqr://platformapi/startapp?appId=20000305”;⽀付宝内付款码声波付mes = “alipayqr://platformapi/startapp?appId=20000307”;暗号
还有其他的欢迎评论分享⼀下~
发布评论