\behavior\wechatPaymentBehavior

Summary

Methods
Properties
Constants
wechatPaymentPrepare()
wechatPaySuccess()
wechatPaySuccessProduct()
wechatPaySuccessProductr()
wechatPaySuccessUserRecharge()
yuePayProduct()
wechatPayOrderRefund()
routinePayOrderRefund()
userRechargeRefund()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

wechatPaymentPrepare()

wechatPaymentPrepare(  $order,   $prepay_id) 

下单成功之后

Parameters

$order
$prepay_id

wechatPaySuccess()

wechatPaySuccess(  $notify) : boolean|mixed

支付成功后

Parameters

$notify

Returns

boolean|mixed

wechatPaySuccessProduct()

wechatPaySuccessProduct(  $orderId,   $notify) : boolean

商品订单支付成功后 微信公众号

Parameters

$orderId
$notify

Returns

boolean

wechatPaySuccessProductr()

wechatPaySuccessProductr(  $orderId,   $notify) : boolean

商品订单支付成功后 小程序

Parameters

$orderId
$notify

Returns

boolean

wechatPaySuccessUserRecharge()

wechatPaySuccessUserRecharge(  $orderId,   $notify) : boolean

用户充值成功后

Parameters

$orderId
$notify

Returns

boolean

yuePayProduct()

yuePayProduct(  $userInfo,   $orderInfo) 

使用余额支付订单时

Parameters

$userInfo
$orderInfo

wechatPayOrderRefund()

wechatPayOrderRefund(  $orderNo, array  $opt) 

微信支付订单退款

Parameters

$orderNo
array $opt

routinePayOrderRefund()

routinePayOrderRefund(  $orderNo, array  $opt) 

Parameters

$orderNo
array $opt

userRechargeRefund()

userRechargeRefund(  $orderNo, array  $opt) 

微信支付充值退款

Parameters

$orderNo
array $opt