<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

// ------------------------------------------------------------------------
// Paypal IPN Class
// ------------------------------------------------------------------------
$CI  =& get_instance();

// Use PayPal on Sandbox or Live
$config['sandbox'] = $CI->settings->pp_sandbox ? TRUE : FALSE; // FALSE for live environment

// PayPal Business Email ID
$config['business'] = $CI->settings->pp_registered_email;

// If (and where) to log ipn to file
$config['paypal_lib_ipn_log_file'] = BASEPATH . 'logs/paypal_ipn.log';
$config['paypal_lib_ipn_log'] = TRUE;

// Where are the buttons located at 
$config['paypal_lib_button_path'] = 'buttons';

// What is the default currency?
$config['paypal_lib_currency_code'] = $CI->settings->default_currency;

?>
