PHP code example of ethan / laravel-llpay
1. Go to this page and download the library: Download ethan/laravel-llpay 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/ */
ethan / laravel-llpay example snippets
LianLianPay::InstantPay();
LianLianPay::Pay();
LianLianPay::Refund();
LianLianPay::Reconciliation();
//filesystems里的disk配置要配置连连对账单sftp服务器信息
//需要安装laravel的sftp插件
'llpay' => [
'driver' => 'sftp',
'host' => 'dev.lianlianpay.com',
'username' => '20170328000044444',
'password' => '123456',
'port' => 9122,
'root' => '/20170328000044444',
],