PHP code example of mjy191 / laravel-wx-pay-v3
1. Go to this page and download the library: Download mjy191/laravel-wx-pay-v3 library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mjy191 / laravel-wx-pay-v3 example snippets
artisan vendor:publish --provider="Mjy191\LaravelWxPayV3\ServiceProvider"
Mjy191\LaravelWxPayV3\ServiceProvider::class``
运行命令发布配置config/wx.php
配置微信小程序的支付
新建app/Exceptions/ApiException.php
捕获ApiException抛出的异常进行处理