22 lines
1001 B
PHP
22 lines
1001 B
PHP
<?php
|
|
// Product Details
|
|
$itemNumber = "MS112345";
|
|
$itemName = "Evenement xyz";
|
|
$itemPrice = 75;
|
|
$currency = "USD";
|
|
|
|
/* PayPal REST API configuration
|
|
* You can generate API credentials from the PayPal developer panel.
|
|
* See your keys here: https://developer.paypal.com/dashboard/
|
|
*/
|
|
define('PAYPAL_SANDBOX', TRUE); //TRUE=Sandbox | FALSE=Production
|
|
define('PAYPAL_SANDBOX_CLIENT_ID', 'ASX6ldixTmfKnk1w7IKhfTyjTKmNwf8CBYD_vLdEz2-K0msADQmnp9MevIgIvjiSFzwGg3R4bZnvr1FV'); //PayPal Client ID for Sandbox
|
|
define('PAYPAL_SANDBOX_CLIENT_SECRET', 'ELuQIBgqgd1mk_ChzOJivkYBbxFy2nBe1d4ED6fIfYFQ7r6-0oBqVBHF5G0WaywNxlGgI8LiyN5yhISP'); //PayPal Client Secret for Sandbox
|
|
define('PAYPAL_PROD_CLIENT_ID', ''); //PayPal Client ID for Production
|
|
define('PAYPAL_PROD_CLIENT_SECRET', ''); //PayPal Client Secret for Production
|
|
|
|
// Database configuration
|
|
define('DB_HOST', '158.69.235.152');
|
|
define('DB_USERNAME', 'ms1inscription');
|
|
define('DB_PASSWORD', 'ms1911');
|
|
define('DB_NAME', 'dev_ms1inscription_preprod'); |