80 lines
3.6 KiB
PHP
Executable File
80 lines
3.6 KiB
PHP
Executable File
<?php
|
|
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Sandbox / Test Mode
|
|
* -------------------------
|
|
* TRUE means you'll be hitting PayPal's sandbox/test servers. FALSE means you'll be hitting the live servers.
|
|
*/
|
|
$config['Sandbox'] = TRUE;
|
|
//$config['paypal_lib_currency_code'] = 'USD';
|
|
/*
|
|
* PayPal API Version
|
|
* ------------------
|
|
* The library is currently using PayPal API version 123.0.
|
|
* You may adjust this value here and then pass it into the PayPal object when you create it within your scripts to override if necessary.
|
|
*/
|
|
$config['APIVersion'] = '123.0';
|
|
|
|
/*
|
|
* PayPal Gateway API Credentials
|
|
* ------------------------------
|
|
* These are your PayPal API credentials for working with the PayPal gateway directly.
|
|
* These are used any time you're using the parent PayPal class within the library.
|
|
*
|
|
* We're using shorthand if/else statements here to set both Sandbox and Production values.
|
|
* Your sandbox values go on the left and your live values go on the right.
|
|
*
|
|
* You may obtain these credentials by logging into the following with your PayPal account.
|
|
* Sandbox: https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run
|
|
* Live: https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run
|
|
*
|
|
*/
|
|
$config['APIUsername'] = $config['Sandbox'] ? 'rizvi.mahmud.plabon_api1.gmail.com' : 'PRODUCTION_USERNAME_GOES_HERE';
|
|
$config['APIPassword'] = $config['Sandbox'] ? 'HWK7HG8KF5MS2AMW' : 'PRODUCTION_PASSWORD_GOES_HERE';
|
|
$config['APISignature'] = $config['Sandbox'] ? 'Aaw-Fd69z.JLuiq13ejMN-CsSMuuAPEXWUFPF5QW9sD22fp1hosGIFKo' : 'PRODUCTION_SIGNATURE_GOES_HERE';
|
|
|
|
/*
|
|
* Payflow Gateway API Credentials
|
|
* ------------------------------
|
|
* These are the credentials you use for your PayPal Manager: http://manager.paypal.com
|
|
* These are used when you're working with the PayFlow child class.
|
|
*
|
|
* We're using shorthand if/else statements here to set both Sandbox and Production values.
|
|
* Your sandbox values go on the left and your live values go on the right.
|
|
*
|
|
* You may use the same credentials you use to login to your PayPal Manager,
|
|
* or you may create API specific credentials from within your PayPal Manager account.
|
|
*/
|
|
$config['PayFlowUsername'] = $config['Sandbox'] ? 'FNSQPQ4B85EYJ' : 'PRODUCTION_USERNAME_GOGES_HERE';
|
|
$config['PayFlowPassword'] = $config['Sandbox'] ? 'rijhipla1!' : 'PRODUCTION_PASSWORD_GOES_HERE';
|
|
$config['PayFlowVendor'] = $config['Sandbox'] ? 'FNSQPQ4B85EYJ' : 'PRODUCTION_VENDOR_GOES_HERE';
|
|
$config['PayFlowPartner'] = $config['Sandbox'] ? 'PayPal' : 'PRODUCTION_PARTNER_GOES_HERE';
|
|
|
|
/*
|
|
* PayPal Application ID
|
|
* --------------------------------------
|
|
* The application is only required with Adaptive Payments applications.
|
|
* You obtain your application ID but submitting it for approval within your
|
|
* developer account at http://developer.paypal.com
|
|
*
|
|
* We're using shorthand if/else statements here to set both Sandbox and Production values.
|
|
* Your sandbox values go on the left and your live values go on the right.
|
|
* The sandbox value included here is a global value provided for developrs to use in the PayPal sandbox.
|
|
*/
|
|
$config['ApplicationID'] = $config['Sandbox'] ? 'APP-80W284485P519543T' : 'PRODUCTION_APP_ID_GOES_HERE';
|
|
|
|
/*
|
|
* PayPal Developer Account Email Address
|
|
* This is the email address that you use to sign in to http://developer.paypal.com
|
|
*/
|
|
$config['DeveloperEmailAccount'] = 'some@email.com';
|
|
|
|
/**
|
|
* Third Party User Values
|
|
* These can be setup here or within each caller directly when setting up the PayPal object.
|
|
*/
|
|
$config['DeviceID'] = 'DEVICE_ID_GOES_HERE';
|
|
|
|
/* End of file paypal.php */
|
|
/* Location: ./system/application/config/paypal.php */ |