-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacquiropay-gateway-woocommerce.php
46 lines (41 loc) · 1.62 KB
/
acquiropay-gateway-woocommerce.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* @wordpress-plugin
* Plugin Name: Gateway for AcquiroPay in WooCommerce
* Plugin URI: https://github.com/ivanmtw/acquiropay_gateway_woocommerce
* Description: Enable to accept payments with credit cards through AcquiroPay.com in your WooCommerce store
* Author: Ivan Matveev
* Author URI: https://github.com/ivanmtw/
* Version: 0.1.1
* WC requires at least: 3.0.0
* WC tested up to: 4.0.0
* Text Domain: acquiropay-gateway-woocommerce
* Domain Path: /i18n/languages
*
* Copyright: (c) 2020-2020 Ivan Matveev ([email protected]) and WooCommerce
*
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*
* @package AcquiroPay-Gateway-WooCommerce
* @author Ivan Matveev [email protected]
* @category Admin
* @copyright Copyright (c) 2020 Ivan Matveev ([email protected]) and WooCommerce
* @version 0.0.2
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
*
* Gateway for online credit card payments with AcquiroPay.com and iPSP.com services.
*/
/**
* Exit if accessed directly.
*/
defined( 'ABSPATH' ) or exit;
define( 'AGW_CURRENT_VERSION', '0.1.1' );
define( 'AGW_GATEWAY_ID', 'gateway_acquiropay' );
define( 'AGW_GATEWAY_NAME', 'acquiropay-gateway-woocommerce' );
define( 'AGW_GATEWAY_TITLE', 'Gateway for AcquiroPay in WooCommerce' );
include_once( __DIR__ . '/includes/functions/functions.php' );
add_action( 'plugins_loaded', 'wc_gateway_acquiropay_init' );
function wc_gateway_acquiropay_init() {
include_once( __DIR__ . '/includes/classes/WC_Gateway_AcquiroPay.php' );
}