<?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'] = FALSE; /* * 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'] ? 'michae_1230046871_biz_api1.gmail.com' : 'donations_api1.vcccsar.org'; //$config['APIPassword'] = $config['Sandbox'] ? '1230046876' : 'B9HN5K9G5GKL5E8T'; //$config['APISignature'] = $config['Sandbox'] ? 'ADygIeKRVVqTmG9ALPvF-Y-2VN5PAviizztb1Ox7M-R2dST3qqTwWu5R' : 'ABHrMcCltjxSiy7MGHYH54nr5BgYA07A1-yT-iShTQeemhgiLd2RR1Xq'; $config['APIUsername'] = $config['Sandbox'] ? 'user_1323072569_per@tactusmobile.com' : 'donations_api1.vcccsar.org'; $config['APIPassword'] = $config['Sandbox'] ? '12345678' : 'B9HN5K9G5GKL5E8T'; $config['APISignature'] = $config['Sandbox'] ? 'ADygIeKRVVqTmG9ALPvF-Y-2VN5PAviizztb1Ox7M-R2dST3qqTwWu5R' : 'ABHrMcCltjxSiy7MGHYH54nr5BgYA07A1-yT-iShTQeemhgiLd2RR1Xq'; /* LIVE ONLY FOR VCCCSAR define('API_USERNAME', 'donations_api1.vcccsar.org'); define('API_PASSWORD', 'B9HN5K9G5GKL5E8T'); define('API_SIGNATURE', 'ABHrMcCltjxSiy7MGHYH54nr5BgYA07A1-yT-iShTQeemhgiLd2RR1Xq'); define('API_ENDPOINT', 'https://api-3t.paypal.com/nvp'); define('PAYPAL_URL', 'https://www.paypal.com/webscr&cmd=_express-checkout&token='); */ /* * 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'] ? 'SANDBOX_USERNAME_GOES_HERE' : 'PRODUCTION_USERNAME_GOGES_HERE'; $config['PayFlowPassword'] = $config['Sandbox'] ? 'SANDBOX_PASSWORD_GOES_HERE' : 'PRODUCTION_PASSWORD_GOES_HERE'; $config['PayFlowVendor'] = $config['Sandbox'] ? 'SANDBOX_VENDOR_GOES_HERE' : 'PRODUCTION_VENDOR_GOES_HERE'; $config['PayFlowPartner'] = $config['Sandbox'] ? 'SANDBOX_PARTNER_GOES_HERE' : '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'] = 'walid.islam77@gmail.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 */