PHP code example of faed / pay
1. Go to this page and download the library: Download faed/pay 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/ */
faed / pay example snippets
return [
//通道
'passageway'=>[
'JlPayXcxPay'=>[
//机构号
'org_code'=> '',
//商户号
'mch_id'=>'',
//私钥
'merPriKey'=>'',
//公钥
'JlPubKey'=> '',
//回调地址
'notify_url'=>'',
],
]
];
shell script
php artisan vendor:publish