<?php
/**
 * Plugin Name: Easy Digital Downloads - PayPal Website Payments Pro and PayPal Express Gateway
 * Plugin URL: https://easydigitaldownloads.com/downloads/paypal-pro-express/
 * Description: Adds a payment gateway for PayPal Website Payments Pro and PayPal Express Gateway
 * Version: 1.4.7
 * Requires PHP: 5.6
 * Requires at least: 4.9
 * Tested up to: 6.0
 * Author: Easy Digital Downloads
 * Author URI: https://easydigitaldownloads.com
 */

if ( ! defined( 'EPPE_PLUGIN_DIR' ) ) {
	define( 'EPPE_PLUGIN_DIR', dirname( __FILE__ ) );
}

define( 'EDD_EPPE_PLUGIN_FILE', __FILE__ );
define( 'EDD_EPPE_STORE_API_URL', 'https://easydigitaldownloads.com' );
define( 'EDD_EPPE_PRODUCT_NAME', 'PayPal Pro and PayPal Express' );
define( 'EDD_EPPE_VERSION', '1.4.7' );

require_once dirname( __FILE__ ) . '/vendor/autoload.php';
\EDD\ExtensionUtils\v1\ExtensionLoader::loadOrQuit( __FILE__, function() {
	require EPPE_PLUGIN_DIR . '/paypal/edd-functions.php';
}, array(
	'php'                    => '5.6',
	'easy-digital-downloads' => '2.9',
	'wp'                     => '4.9',
) );

