| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/demo_google/application/config/ |
Upload 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;
/**
* PayPal API Version
* --------------------------
*
* The library is currently using PayPal API version 119.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.
*
* We have included our sandbox seller account credentials here so the demo will work right away.
* If you have your own sandbox account you may simply replace these values with your own.
*
* You may obtain live credentials by logging into the following with your PayPal account:
* https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run
*/
$config['APIUsername'] = $config['Sandbox'] ? 'gsell_1323239795_biz_api1.onesolution.com.hk' : 'PRODUCTION_USERNAME_GOGES_HERE';
$config['APIPassword'] = $config['Sandbox'] ? '1323239817' : 'PRODUCTION_PASSWORD_GOGES_HERE';
$config['APISignature'] = $config['Sandbox'] ? 'AFcWxV21C7fd0v3bYYYRCpSSRl31A2Ni4PMlMO01P84TBKRiL0XIEELh' : 'PRODUCTION_SIGNATURE_GOGES_HERE';
/**
* Payflow Gateway API Credentials
*
* NOTE: PayFlow credentials are only required for PayFlow specific demo kits.
* -------------------------------
*
* 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'] ? 'tester' : '';
$config['PayFlowPassword'] = $config['Sandbox'] ? 'Pr0t3ct!' : '';
$config['PayFlowVendor'] = $config['Sandbox'] ? 'angelleye' : '';
$config['PayFlowPartner'] = $config['Sandbox'] ? 'PayPal' : 'PayPal';
/**
* PayPal Adaptive Payments
*
* NOTE: These settings are only required for Adaptive Payments specific demo kits.
* ----------------------------------
*
* 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';
$config['DeviceID'] = '';
$config['DeviceIpAddress'] = $_SERVER['REMOTE_ADDR'];
/**
* 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';
/* End of file paypal_sample.php */
/* Location: ./system/application/config/paypal_sample.php */