WxPay Installation Add this line to your application's Gemfile: gem 'wx_pay' And then execute: $ bundle Or install it yourself as: $ gem install wx_pay Usage A simple wx program pay (developer version) Reference https://pay.weixin.qq.com/wiki/doc/api/index.html. https://github.com/jasl/wx_pay.git