PluginProbe
Gravity Forms Eway / 2.2.3
Gravity Forms Eway v2.2.3
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.2.3, at gravityforms-eway.php

54 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: https://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.2.3
7 Author: WebAware
8 Author URI: https://shop.webaware.com.au/
9 Text Domain: gravityforms-eway
10 */
11
12 /*
13 copyright (c) 2012-2016 WebAware Pty Ltd (email : support@webaware.com.au)
14
15 This program is free software; you can redistribute it and/or
16 modify it under the terms of the GNU General Public License
17 as published by the Free Software Foundation; either version 2
18 of the License, or (at your option) any later version.
19
20 This program is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 GNU General Public License for more details.
24
25 You should have received a copy of the GNU General Public License
26 along with this program; if not, write to the Free Software
27 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28 */
29
30 if (!defined('ABSPATH')) {
31 exit;
32 }
33
34 define('GFEWAY_PLUGIN_FILE', __FILE__);
35 define('GFEWAY_PLUGIN_ROOT', dirname(__FILE__) . '/');
36 define('GFEWAY_PLUGIN_NAME', basename(dirname(__FILE__)) . '/' . basename(__FILE__));
37 define('GFEWAY_PLUGIN_OPTIONS', 'gfeway_plugin');
38 define('GFEWAY_PLUGIN_VERSION', '2.2.3');
39
40 // error message names
41 define('GFEWAY_ERROR_ALREADY_SUBMITTED', 'gfeway_err_already');
42 define('GFEWAY_ERROR_NO_AMOUNT', 'gfeway_err_no_amount');
43 define('GFEWAY_ERROR_REQ_CARD_HOLDER', 'gfeway_err_req_card_holder');
44 define('GFEWAY_ERROR_REQ_CARD_NAME', 'gfeway_err_req_card_name');
45 define('GFEWAY_ERROR_EWAY_FAIL', 'gfeway_err_eway_fail');
46
47 // custom fields
48 define('GFEWAY_FIELD_RECURRING', 'gfewayrecurring');
49
50
51 // instantiate the plug-in
52 require GFEWAY_PLUGIN_ROOT . 'includes/class.GFEwayPlugin.php';
53 GFEwayPlugin::getInstance();
54