PHP code example of fyflzjz / payment
1. Go to this page and download the library: Download fyflzjz/payment 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/ */
fyflzjz / payment example snippets
//支付宝Aop配置
[AliPayAop]
app_id = ''
rsa_public_key = ''
rsa_private_key = ''
//微信支付JsApi配置
[WxPayJsApi]
app_id = ''
mch_id = ''
key = ''
app_secret = ''
//微信支付App配置
[WxPayApp]
app_id = ''
mch_id = ''
key = ''
app_secret = ''