Chinaunix首页 | 论坛 | 博客
  • 博客访问: 53413
  • 博文数量: 48
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 260
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-12 11:48
文章分类
文章存档

2016年(48)

我的朋友

分类: JavaScript

2016-10-20 17:22:40

KoaHub平台基于Node.js开发的Koa 链接支付宝插件代码信息详情

easy-alipay

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地址:
代码来源:

阅读(829) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~