alipay-nodejs
支付宝支付 for node.js
Installation
npm install alipay-nodejs
Usage
获取APP支付签名后订单参数
var Alipay = ; var pay = app_id: 'xxxxxxxx' notify_url: 'https://xxxxxxxxx' app_private_key: fs //支付宝商户应用私钥 alipay_public_key: fs; var result = pay;console;
中间件
商户服务端处理支付宝的回调(express为例)
// 支付结果异步通知router;