PHP code example of arakakitatsuki / simple-paypay-payment
1. Go to this page and download the library: Download arakakitatsuki/simple-paypay-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/ */
arakakitatsuki / simple-paypay-payment example snippets
php artisan vendor:publish
return [
'key' => env('PAY_PAY_KEY_FOR_TEST'),
'secret' => env('PAY_APY_SECRET_FOR_TEST'),
'merchant_id' => env('MERCHANT_ID'),
'redirect_url' => env('REDIRECT_URL', 'http://localhost'),
'execution_environment' => env('SANDBOX')
];