| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | exit; // Exit if accessed directly |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | // Report version externally |
| 35 | -define('WOO_VIPPS_VERSION', '6.1.7'); | |
| 35 | +define('WOO_VIPPS_VERSION', '6.2.1'); | |
| 36 | 36 | |
| 37 | 37 | define( 'WC_VIPPS_PAYMENT_MAIN_FILE', __FILE__ ); |
| 38 | 38 | |
| 39 | 39 | // Legacy way of starting test mode - please use developer- and test-modes from now on. IOK 2019-08-30 |
| @@ -50,9 +50,9 @@ | ||
| 50 | 50 | /* The QR Code functionality is in its own class for modularity reasons. It is a singleton too. */ |
| 51 | 51 | require_once(dirname(__FILE__) . '/VippsQRCodeController.class.php'); |
| 52 | 52 | VippsQRCodeController::register_hooks(); |
| 53 | 53 | |
| 54 | -/* If Vipps Checkout is activated, load its support. It can still be turned on and off. */ | |
| 54 | +/* If Checkout is activated, load its support. It can still be turned on and off. */ | |
| 55 | 55 | if (get_option('woo_vipps_checkout_activated', false)) { |
| 56 | 56 | require_once(dirname(__FILE__) . '/VippsCheckout.class.php'); |
| 57 | 57 | VippsCheckout::register_hooks(); |
| 58 | 58 | } |
| @@ -77,9 +77,9 @@ | ||
| 77 | 77 | foreach($_COOKIE as $key=>$value) unset($_COOKIE[$key]); |
| 78 | 78 | } |
| 79 | 79 | },1); |
| 80 | 80 | |
| 81 | -// Load the extra Vipps Checkout Shipping classes only when necessary | |
| 81 | +// Load the extra Checkout Shipping classes only when necessary | |
| 82 | 82 | add_action( 'woocommerce_shipping_init', function () { |
| 83 | 83 | if (!class_exists('VippsCheckout_Shipping_Method') && get_option('woo_vipps_checkout_activated', false)) { |
| 84 | 84 | require_once(dirname(__FILE__) . '/VippsCheckoutShippingMethods.php'); |
| 85 | 85 | } |