WechatPay v0.7.0 API Reference

Modules

WechatPay provide toolkit for Wechat Payment Platform

The App payment method

The App payment method behaviour

The Handler behaviour is to handle the result of notification from Wechat’s Payment Gateway

The JSAPI payment method

The JSAPI payment method behaviour

The module act as an adapter to JSON library

The Native payment method

The Native payment method behaviour

Plug behaviour to handle Payment Notification from Wechat’s Payment Gateway

Plug behaviour to handle Refund Notification from Wechat’s Payment Gateway

Module to generate nonce string value

Module to sign data

Module to convert a map to XML string

Module to convert a XML string to map

Exceptions

Mix Tasks

Get WechatPay’s Sandbox API Key