# wechatpay **Repository Path**: mryy1996/wechatpay ## Basic Information - **Project Name**: wechatpay - **Description**: 微信支付sdk - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-18 - **Last Updated**: 2021-03-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wechatpay 微信支付sdk ### 小程序和公众号支付 ##### 支付请求 ```php getType('weapp'); //获取支付参数 $param=$weapp->getPayParam( '支付测试', time(), 1, '127.0.0.1', 'http://www.baidu.com', 'xxx', '123' ); ``` ##### 支付通知检查 ```php check(); ``` ##### 退款申请 ```php refund( '1111111', time(), 1, 1, 'http://www.baidu.com' ); ``` ##### 退款通知检查 ```php check_refund(); ``` ##### 成功应答 ```php return_success(); ``` #### 其他支付完善中。。。。