2016年(48)
分类: JavaScript
2016-10-20 17:22:40
KoaHub平台基于Node.js开发的Koa 链接支付宝插件代码信息详情
alipay payment & notification APIs
Nodejs based Alipay payment & notification APIs
Create an Ali direct payment, return an Ali url so client can go to Ali pages to process payments.
Returns an promise. WAP version of Payment.createDirectPay(), which submit a XML format request to ALIPAY and returns an redirect url with valid request token.
Returns an promise which resolve with a JSON version of ALIPAY payment notification, and reject when the notification is not from ALIPAY or signature verification failed.
WAP version of Notification.directPayNotify(), which accepts a XML format payment notification.
MIT
wemall 开源微商城 ,微信商城,商城源码,三级分销,微生鲜,微水果,微外卖,微订餐---专业的o2o系统
wemall地址:
代码来源: