24 lines
1.0 KiB
PHP
24 lines
1.0 KiB
PHP
<?php
|
|
// Basic configuration for PayPal integration.
|
|
// Fill in your Sandbox (or Live) credentials from developer.paypal.com
|
|
|
|
return [
|
|
// 'sandbox' or 'live'
|
|
'env' => 'sandbox',
|
|
|
|
// PayPal REST App credentials for your Partner (platform) app
|
|
'client_id' => 'AZ0RTbfvdUAECrswIOBVnSzLMBgvAzv8qI56YfXPGN46ukzx4qhmeflsOodvzNHE7wd5MRXupBxFmvr0',
|
|
'client_secret' => 'EN-EaI-l4s9_CQOWzvLhVa-N1JHMUWjR22b3kfn3u8q5IHa3-hGRe6X8Sh_0LRc3jZyGTKvsV3QjeW5U',
|
|
|
|
// Your Partner's PayPal Merchant ID (aka Payer ID). Required to look up merchant info by tracking_id
|
|
// Find this in Business Profile > Account IDs in your PayPal dashboard (sandbox or live as appropriate)
|
|
'partner_merchant_id' => 'NEG5HMUKCTQNL',
|
|
|
|
// Your base URL as accessed by the browser. Adjust port if using a different Apache port.
|
|
// For XAMPP default: http://localhost/payp
|
|
'base_url' => 'http://localhost/payp',
|
|
|
|
// Storage path (must be writable by Apache/PHP)
|
|
'storage_path' => __DIR__ . DIRECTORY_SEPARATOR . 'data',
|
|
];
|