Download the PHP package moonpie/mp-virtual-pay without Composer
On this page you can find all versions of the php package moonpie/mp-virtual-pay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download moonpie/mp-virtual-pay
More information about moonpie/mp-virtual-pay
Files in moonpie/mp-virtual-pay
Download moonpie/mp-virtual-pay
More information about moonpie/mp-virtual-pay
Files in moonpie/mp-virtual-pay
Vendor moonpie
Package mp-virtual-pay
Short Description WeChat Mini Program Virtual Payment for EasyWeChat
License MIT
Homepage https://github.com/JingxuanZhang/moonpie_mp_virtual_pay
Package mp-virtual-pay
Short Description WeChat Mini Program Virtual Payment for EasyWeChat
License MIT
Homepage https://github.com/JingxuanZhang/moonpie_mp_virtual_pay
Please rate this library. Is it a good library?
Informations about the package mp-virtual-pay
Moonpie MP Virtual Pay
WeChat Mini Program Virtual Payment for EasyWeChat
微信小程序虚拟支付 for EasyWeChat
安装
配置
使用示例
iOS 退款问询处理
当 Apple 支付用户申请退款时,微信会向开发者发送退款问询通知(xpay_subscribe_ios_refund_query_notify),开发者需要在 3 秒内应答,否则微信会返回「不确定」给 Apple。
响应方法:
$event->approveRefund(string $evidence, string $resultInfo = '')- 同意退款(result_code=0)$event->rejectRefund(string $evidence, string $resultInfo = '')- 拒绝退款(result_code=1)$evidence为必填参数,用于退款审计
📚 API 模块说明
Balance(余额管理)
queryUserBalance($openid, $userIp, $sessionKey)- 查询用户代币余额queryBizBalance()- 查询商家账户余额
Order(订单管理)
buildVirtualPayData($signData, $mode, $sessionKey)- 生成wx.requestVirtualPayment需要的支付信息(下单);queryOrder($orderId, $openid, $env)- 查询订单notifyProvideGoods($orderId, $wxOrderId, $env)- 通知发货refundOrder($params)- 订单退款
Currency(代币管理)
currencyPay($params, $sessionKey)- 扣减代币cancelCurrencyPay($params, $sessionKey)- 代币支付退款presentCurrency($params)- 代币赠送
Goods(道具管理)
startUploadGoods($uploadItem, $env)- 启动批量上传道具queryUploadGoods($env)- 查询上传道具任务startPublishGoods($publishItem, $env)- 启动批量发布道具queryPublishGoods($env)- 查询发布道具任务
Withdraw(提现管理)
createWithdrawOrder($params)- 创建提现单queryWithdrawOrder($withdrawNo, $env)- 查询提现单
Fund(广告金管理)
queryTransferAccount($env)- 查询广告金充值账户queryAdverFunds($params)- 查询广告金发放记录createFundsBill($params)- 充值广告金bindTransferAccount($params)- 绑定广告金充值账户queryFundsBill($params)- 查询广告金充值记录queryRecoverBill($params)- 查询广告金回收记录downloadAdverfundsOrder($fundId, $env)- 下载广告金订单
Complaint(投诉管理)
getComplaintList($params)- 获取投诉列表getComplaintDetail($complaintId, $env)- 获取投诉详情getNegotiationHistory($complaintId, $offset, $limit, $env)- 获取协商历史responseComplaint($complaintId, $responseContent, $responseImages, $env)- 回复用户completeComplaint($complaintId, $env)- 完成投诉处理uploadVpFile($params)- 上传媒体文件getUploadFileSign($wxpayUrl, $convertCos, $complaintId, $env)- 获取文件下载签名
Bill(账单管理)
downloadBill($beginDs, $endDs)- 下载小程序账单
要求
- PHP >= 7.2
- easywechat/easywechat: ^4.0
许可证
MIT 许可证 - 详情请参见 LICENSE。
All versions of mp-virtual-pay with dependencies
PHP Build Version
Package Version
The package moonpie/mp-virtual-pay contains the following files
Loading the files please wait ...