package
6.5.1+incompatible
Repository: https://github.com/ftchinese/subscription-api.git
Documentation: pkg.go.dev

# Functions

DecodeXML parses wxpay's weird response XML data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewJSApiParams creates a new JSApiParams to be signed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewOrderResp converts PrePay from a wxpay.Params type.
No description provided by the author
No description provided by the author
NewWebhookParams converts wxpay.Params type to WebhookResult type.
No description provided by the author
NewWxPayClient creates a new instance of Client.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ColumnPayload wraps wxpay.Params to save into JSON column.
ColumnSDKParams saves SDKParams to a SQL JSON column.
JSApiParams creates an order when user is trying to pay inside wechat's embedded browser.
JSApiParamsJSON is used to implement Marshaller interface to avoid cyclic call of MarshalJSON.
NativeAppParams is used by native app to call SDK.
NativeAppParamsJSON is used to turn an empty NativeAppParams to json null.
OrderQueryParams contains parameters required to search an order.
OrderQueryResp for https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=9_2&index=4.
OrderResult contains the minimum essential data of an order response.
No description provided by the author
No description provided by the author
SDKParams contains all parameters required to cal wechat pay on every platform.
No description provided by the author
UnifiedOrderReq contains the data sent to wechat api to create an order.
WebhookResult contains the essential data of a webhook payload.
WxPayClient wraps wxpay.Client.
WxPayClientStore collects various wechat payment app in one place.

# Type aliases

No description provided by the author
TradeType is an enum for wechat's various nuance payment channel.