\EasyWeChatPayment

Namespaces

CashCoupon
LuckyMoney
MerchantPay

Classes

API Class API.
Merchant Class Merchant.
Notify Class Notify.
Order Class Order.
Payment Class Payment.
RefundNotify

Functions

generate_sign()

generate_sign(array  $attributes, string  $key, string  $encryptMethod = 'md5') : string

Generate a signature.

Parameters

array $attributes
string $key
string $encryptMethod

Returns

string

get_client_ip()

get_client_ip() : string

Get client ip.

Returns

string

get_server_ip()

get_server_ip() : string

Get current server ip.

Returns

string