WechatPay v0.7.0 WechatPay.Plug.Payment behaviour View Source

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

Official document: https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_7

See WechatPay.Handler for how to implement a handler.

Link to this section Summary

Link to this section Callbacks

Link to this callback call(conn, opts) View Source
call(conn :: Plug.Conn.t(), opts :: Plug.opts()) :: Plug.Conn.t()