PluginProbe
Gravity Forms Eway / 2.1.1
Gravity Forms Eway v2.1.1
2.7.0 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 1.8.0 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 All 56 releases
gravityforms-eway / gravityforms-eway.php

gravityforms-eway.php in Gravity Forms Eway 2.1.1, at gravityforms-eway.php

55 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Gravity Forms eWAY
4 Plugin URI: http://shop.webaware.com.au/downloads/gravity-forms-eway/
5 Description: Integrate Gravity Forms with eWAY payment gateway, enabling end users to purchase goods and services through Gravity Forms.
6 Version: 2.1.1
7 Author: WebAware
8 Author URI: http://webaware.com.au/
9 Text Domain: gravityforms-eway
10 Domain Path: /languages/
11 */
12
13 /*
14 copyright (c) 2012-2016 WebAware Pty Ltd (email : support@webaware.com.au)
15
16 This program is free software; you can redistribute it and/or
17 modify it under the terms of the GNU General Public License
18 as published by the Free Software Foundation; either version 2
19 of the License, or (at your option) any later version.
20
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU General Public License for more details.
25
26 You should have received a copy of the GNU General Public License
27 along with this program; if not, write to the Free Software
28 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29 */
30
31 if (!defined('ABSPATH')) {
32 exit;
33 }
34
35 define('GFEWAY_PLUGIN_FILE', __FILE__);
36 define('GFEWAY_PLUGIN_ROOT', dirname(__FILE__) . '/');
37 define('GFEWAY_PLUGIN_NAME', basename(dirname(__FILE__)) . '/' . basename(__FILE__));
38 define('GFEWAY_PLUGIN_OPTIONS', 'gfeway_plugin');
39 define('GFEWAY_PLUGIN_VERSION', '2.1.1');
40
41 // error message names
42 define('GFEWAY_ERROR_ALREADY_SUBMITTED', 'gfeway_err_already');
43 define('GFEWAY_ERROR_NO_AMOUNT', 'gfeway_err_no_amount');
44 define('GFEWAY_ERROR_REQ_CARD_HOLDER', 'gfeway_err_req_card_holder');
45 define('GFEWAY_ERROR_REQ_CARD_NAME', 'gfeway_err_req_card_name');
46 define('GFEWAY_ERROR_EWAY_FAIL', 'gfeway_err_eway_fail');
47
48 // custom fields
49 define('GFEWAY_FIELD_RECURRING', 'gfewayrecurring');
50
51
52 // instantiate the plug-in
53 require GFEWAY_PLUGIN_ROOT . 'includes/class.GFEwayPlugin.php';
54 GFEwayPlugin::getInstance();
55