WechatPay v0.9.0 API Reference

Modules

WechatPay provide toolkit for Wechat Payment Platform.

The Core API module

The App payment method.

API client.

The JSAPI payment method.

The module act as an adapter to JSON library

The Native payment method.

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

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

Mix Tasks

Get WechatPay's Sandbox API Key