elixir-wechat / wechat_pay Goto Github PK
View Code? Open in Web Editor NEW💰 WechatPay「微信支付」in Elixir
Home Page: https://hex.pm/packages/wechat_pay
License: MIT License
💰 WechatPay「微信支付」in Elixir
Home Page: https://hex.pm/packages/wechat_pay
License: MIT License
@linjunpop Shall we make a new release?
To support https://github.com/michalmuskala/jason
for example:
defmodule MyPay do
use WechatPay, otp_app: :my_app, only: [:app]
end
Drop dependency on sweet_xml
https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_16&index=9
解密步骤如下:
(1)对加密串A做base64解码,得到加密串B
(2)对商户key做md5,得到32位小写key* ( key设置路径:微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置 )
(3)用key*对加密串B做AES-256-ECB解密
$ mix test
..
03:00:33.385 [error] 4124- fatal: :unexpected_end
................
Finished in 2.9 seconds (0.00s async, 2.9s sync)
18 tests, 0 failures
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.