';
echo '
' . __('Please choose a payment option:', 'event_espresso') . '
';
if (get_option('events_paypal_pro_active') == 'true'
|| get_option('events_eway_active') == 'true'
|| get_option('events_authnet_aim_active') == 'true'
|| get_option('events_firstdata_active') == 'true'
|| get_option('events_ideal_active') == 'true'
|| get_option('events_paytrace_active') == 'true'
)
{
echo '';
echo '
'.__('On-site Payment Processing', 'event_espresso').'
';
if (get_option('events_paypal_pro_active') == 'true'){
if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/paypal_pro/paypal_pro_vars.php")){
require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/paypal_pro/paypal_pro_vars.php");
}elseif (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/paypal_pro/paypal_pro_vars.php")){
require_once(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/paypal_pro/paypal_pro_vars.php");
}
}
if (get_option('events_eway_active') == 'true'){
if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/eway/eway_vars.php")){
require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/eway/eway_vars.php");
}elseif (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/eway/eway_vars.php")){
require_once(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/eway/eway_vars.php");
}
}
if (get_option('events_authnet_aim_active') == 'true'){
if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/aim/aim_vars.php")){
require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/aim/aim_vars.php");
}elseif (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/aim/aim_vars.php")){
require_once(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/aim/aim_vars.php");
}
}
if (get_option('events_firstdata_active') == 'true'){
if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/firstdata/firstdata_vars.php")){
require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/firstdata/firstdata_vars.php");
}elseif (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/firstdata/firstdata_vars.php")){
require_once(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/firstdata/firstdata_vars.php");
}
}
if (get_option('events_ideal_active') == 'true'){
if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/ideal/ideal_vars.php")){
require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/ideal/ideal_vars.php");
}elseif (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/ideal/ideal_vars.php")){
require_once(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/ideal/ideal_vars.php");
}
}
if (get_option('events_paytrace_active') == 'true'){
if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/paytrace/paytrace_vars.php")){
require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/paytrace/paytrace_vars.php");
}elseif (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/paytrace/paytrace_vars.php")){
require_once(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/paytrace/paytrace_vars.php");
}
}
echo '';
}
if (get_option('events_paypal_active') == 'true' || get_option('events_authnet_active') == 'true' || get_option('events_mwarrior_active') == 'true' || get_option('events_alipay_active') == 'true' || get_option('events_plugnpay_active') == 'true' || get_option('events_2checkout_active') == 'true'){
echo '';
echo '
'.__('Off-site Payments', 'event_espresso').'
';
echo '
';
echo '
';
}
$invoice_payment_settings = get_option('event_espresso_invoice_payment_settings');
if ((get_option('events_invoice_payment_active') == 'true' && $invoice_payment_settings['show'] != 'N')||get_option('events_check_payment_active') == 'true' || get_option('events_bank_payment_active') == 'true'){
echo '';
echo '
'.__('Off-line Payments', 'event_espresso').'
';
if (get_option('events_invoice_payment_active') == 'true'){
if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/invoice/invoice_vars.php")){
require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/invoice/invoice_vars.php");
}else{
require_once(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/invoice/invoice_vars.php");
}
}
if (get_option('events_check_payment_active') == 'true'||get_option('events_bank_payment_active') == 'true'){
?>
';
}
echo '
';