'; echo '

' . __('Please choose a payment option:', 'event_espresso') . '

'; echo '
'; if (get_option('events_paypal_pro_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' || get_option('events_nab_active') == 'true' || get_option('events_stripe_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_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"); } } if (get_option('events_nab_active') == 'true') { if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/nab/nab_vars.php")) { require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/nab/nab_vars.php"); } elseif (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH . "gateways/nab/nab_vars.php")) { require_once(EVENT_ESPRESSO_PLUGINFULLPATH . "gateways/nab/nab_vars.php"); } espresso_display_nab($payor_data, $event_cost, $attendee_id, $event_id); } // RLC -begin if (get_option('events_stripe_active') == 'true'){ if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/stripe/stripe_vars.php")){ require_once(EVENT_ESPRESSO_GATEWAY_DIR . "/stripe/stripe_vars.php"); }elseif (file_exists(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/stripe/stripe_vars.php")){ require_once(EVENT_ESPRESSO_PLUGINFULLPATH."gateways/stripe/stripe_vars.php"); } } // RLC -end 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_eway_active') == 'true' || get_option('events_quickpay_active') == 'true' || get_option('events_2checkout_active') == 'true' || get_option('events_firstdata_connect_2_active') == 'true' || get_option('events_worldpay_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 '
'; echo '
';