Changeset 2469709
- Timestamp:
- 02/05/2021 06:12:51 PM (5 years ago)
- Location:
- eupago-for-woocommerce
- Files:
-
- 1 deleted
- 9 edited
- 22 copied
-
tags/2.0.8 (copied) (copied from eupago-for-woocommerce/trunk)
-
tags/2.0.8/eupago-for-woocommerce.php (copied) (copied from eupago-for-woocommerce/trunk/eupago-for-woocommerce.php) (2 diffs)
-
tags/2.0.8/images/cc_icon.jpg (copied) (copied from eupago-for-woocommerce/trunk/images/cc_icon.jpg)
-
tags/2.0.8/images/pagaqui_banner.png (copied) (copied from eupago-for-woocommerce/trunk/images/pagaqui_banner.png)
-
tags/2.0.8/images/pagaqui_icon.png (copied) (copied from eupago-for-woocommerce/trunk/images/pagaqui_icon.png)
-
tags/2.0.8/includes/callback.php (deleted)
-
tags/2.0.8/includes/class-wc-eupago-api.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-api.php)
-
tags/2.0.8/includes/class-wc-eupago-callback.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-callback.php)
-
tags/2.0.8/includes/class-wc-eupago-cc.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-cc.php) (1 diff)
-
tags/2.0.8/includes/class-wc-eupago-mbway.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-mbway.php) (1 diff)
-
tags/2.0.8/includes/class-wc-eupago-multibanco.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-multibanco.php) (1 diff)
-
tags/2.0.8/includes/class-wc-eupago-pagaqui.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-pagaqui.php) (1 diff)
-
tags/2.0.8/includes/class-wc-eupago-paysafecard.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-paysafecard.php) (1 diff)
-
tags/2.0.8/includes/class-wc-eupago-paysafecash.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-paysafecash.php) (1 diff)
-
tags/2.0.8/includes/class-wc-eupago-payshop.php (copied) (copied from eupago-for-woocommerce/trunk/includes/class-wc-eupago-payshop.php) (1 diff)
-
tags/2.0.8/includes/views/html-admin-page.php (copied) (copied from eupago-for-woocommerce/trunk/includes/views/html-admin-page.php)
-
tags/2.0.8/includes/views/order-meta-box.php (copied) (copied from eupago-for-woocommerce/trunk/includes/views/order-meta-box.php)
-
tags/2.0.8/languages/eupago-for-woocommerce-pt_PT.mo (copied) (copied from eupago-for-woocommerce/trunk/languages/eupago-for-woocommerce-pt_PT.mo)
-
tags/2.0.8/languages/eupago-for-woocommerce-pt_PT.po (copied) (copied from eupago-for-woocommerce/trunk/languages/eupago-for-woocommerce-pt_PT.po)
-
tags/2.0.8/readme.txt (copied) (copied from eupago-for-woocommerce/trunk/readme.txt) (3 diffs)
-
tags/2.0.8/templates/emails/html-instructions.php (copied) (copied from eupago-for-woocommerce/trunk/templates/emails/html-instructions.php)
-
tags/2.0.8/templates/emails/plain-instructions.php (copied) (copied from eupago-for-woocommerce/trunk/templates/emails/plain-instructions.php)
-
tags/2.0.8/templates/payment-instructions.php (copied) (copied from eupago-for-woocommerce/trunk/templates/payment-instructions.php)
-
trunk/eupago-for-woocommerce.php (modified) (2 diffs)
-
trunk/includes/class-wc-eupago-cc.php (modified) (1 diff)
-
trunk/includes/class-wc-eupago-mbway.php (modified) (1 diff)
-
trunk/includes/class-wc-eupago-multibanco.php (modified) (1 diff)
-
trunk/includes/class-wc-eupago-pagaqui.php (modified) (1 diff)
-
trunk/includes/class-wc-eupago-paysafecard.php (modified) (1 diff)
-
trunk/includes/class-wc-eupago-paysafecash.php (modified) (1 diff)
-
trunk/includes/class-wc-eupago-payshop.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eupago-for-woocommerce/tags/2.0.8/eupago-for-woocommerce.php
r2348227 r2469709 4 4 * Plugin URI: http://www.webatual.pt 5 5 * Description: This plugin allows Portuguese costumers to pay WooCommerce orders with Multibanco, PayShop and MBWAY using the euPago gateway. 6 * Version: 2.0. 7.16 * Version: 2.0.8 7 7 * Author: WebAtual 8 8 * Author URI: http://www.webatual.pt 9 9 * Text Domain: eupago-for-woocommerce 10 10 * Domain Path: /lang 11 * WC tested up to: 4. 3.111 * WC tested up to: 4.5.2 12 12 **/ 13 13 … … 21 21 * @var string 22 22 */ 23 const VERSION = '2.0. 7.1';23 const VERSION = '2.0.8'; 24 24 25 25 /** -
eupago-for-woocommerce/tags/2.0.8/includes/class-wc-eupago-cc.php
r2347941 r2469709 296 296 297 297 /** 298 * Just for Portugal 299 */ 300 function disable_unless_portugal($available_gateways) { 301 if ( ! is_admin() ) { 302 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 303 if ( isset( $available_gateways[$this->id] ) ) { 304 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 305 unset($available_gateways[$this->id]); 298 * Just for Portugal 299 */ 300 function disable_unless_portugal($available_gateways) 301 { 302 if (!is_admin()) { 303 if (isset($available_gateways[$this->id])) { 304 if (isset(WC()->customer)) { 305 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 306 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 307 unset($available_gateways[$this->id]); 308 } 306 309 } 307 310 } -
eupago-for-woocommerce/tags/2.0.8/includes/class-wc-eupago-mbway.php
r2189184 r2469709 313 313 314 314 /** 315 * Just for Portugal 316 */ 317 function disable_unless_portugal($available_gateways) { 318 if ( ! is_admin() ) { 319 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 320 if ( isset( $available_gateways[$this->id] ) ) { 321 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 322 unset($available_gateways[$this->id]); 315 * Just for Portugal 316 */ 317 function disable_unless_portugal($available_gateways) 318 { 319 if (!is_admin()) { 320 if (isset(WC()->customer)) { 321 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 322 if (isset($available_gateways[$this->id])) { 323 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 324 unset($available_gateways[$this->id]); 325 } 323 326 } 324 327 } -
eupago-for-woocommerce/tags/2.0.8/includes/class-wc-eupago-multibanco.php
r2230205 r2469709 314 314 315 315 /** 316 * Just for Portugal 317 */ 318 function disable_unless_portugal($available_gateways) { 319 if ( ! is_admin() ) { 320 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 321 if ( isset( $available_gateways[$this->id] ) ) { 322 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 323 unset($available_gateways[$this->id]); 316 * Just for Portugal 317 */ 318 function disable_unless_portugal($available_gateways) 319 { 320 if (!is_admin()) { 321 if (isset($available_gateways[$this->id])) { 322 if (isset(WC()->customer)) { 323 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 324 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 325 unset($available_gateways[$this->id]); 326 } 324 327 } 325 328 } -
eupago-for-woocommerce/tags/2.0.8/includes/class-wc-eupago-pagaqui.php
r2189184 r2469709 273 273 274 274 /** 275 * Just for Portugal 276 */ 277 function disable_unless_portugal($available_gateways) { 278 if ( ! is_admin() ) { 279 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 280 if ( isset( $available_gateways[$this->id] ) ) { 281 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 282 unset($available_gateways[$this->id]); 275 * Just for Portugal 276 */ 277 function disable_unless_portugal($available_gateways) 278 { 279 if (!is_admin()) { 280 if (isset(WC()->customer)) { 281 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 282 if (isset($available_gateways[$this->id])) { 283 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 284 unset($available_gateways[$this->id]); 285 } 283 286 } 284 287 } -
eupago-for-woocommerce/tags/2.0.8/includes/class-wc-eupago-paysafecard.php
r2189184 r2469709 303 303 304 304 /** 305 * Just for Portugal 306 */ 307 function disable_unless_portugal($available_gateways) { 308 if ( ! is_admin() ) { 309 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 310 if ( isset( $available_gateways[$this->id] ) ) { 311 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 312 unset($available_gateways[$this->id]); 305 * Just for Portugal 306 */ 307 function disable_unless_portugal($available_gateways) 308 { 309 if (!is_admin()) { 310 if (isset(WC()->customer)) { 311 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 312 if (isset($available_gateways[$this->id])) { 313 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 314 unset($available_gateways[$this->id]); 315 } 313 316 } 314 317 } -
eupago-for-woocommerce/tags/2.0.8/includes/class-wc-eupago-paysafecash.php
r2189184 r2469709 300 300 301 301 /** 302 * Just for Portugal 303 */ 304 function disable_unless_portugal($available_gateways) { 305 if ( ! is_admin() ) { 306 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 307 if ( isset( $available_gateways[$this->id] ) ) { 308 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 309 unset($available_gateways[$this->id]); 302 * Just for Portugal 303 */ 304 function disable_unless_portugal($available_gateways) 305 { 306 if (!is_admin()) { 307 if (isset(WC()->customer)) { 308 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 309 if (isset($available_gateways[$this->id])) { 310 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 311 unset($available_gateways[$this->id]); 312 } 310 313 } 311 314 } -
eupago-for-woocommerce/tags/2.0.8/includes/class-wc-eupago-payshop.php
r2189184 r2469709 273 273 274 274 /** 275 * Just for Portugal 276 */ 277 function disable_unless_portugal($available_gateways) { 278 if ( ! is_admin() ) { 279 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 280 if ( isset( $available_gateways[$this->id] ) ) { 281 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 282 unset($available_gateways[$this->id]); 275 * Just for Portugal 276 */ 277 function disable_unless_portugal($available_gateways) 278 { 279 if (!is_admin()) { 280 if (isset(WC()->customer)) { 281 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 282 if (isset($available_gateways[$this->id])) { 283 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 284 unset($available_gateways[$this->id]); 285 } 283 286 } 284 287 } -
eupago-for-woocommerce/tags/2.0.8/readme.txt
r2348227 r2469709 5 5 Plugin URI: https://www.webatual.pt 6 6 Requires at least: 4.4 7 Tested up to: 5. 4.28 Stable tag: 2.0. 7.17 Tested up to: 5.6.1 8 Stable tag: 2.0.8 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 47 47 48 48 == Changelog == 49 50 = 2.0.8 = 51 * Bugfix 49 52 50 53 = 2.0.7.1 = … … 115 118 == Upgrade Notice == 116 119 120 = 2.0.8 = 121 * Small bugfix 122 117 123 = 2.0.7.1 = 118 124 * Add credit card icon -
eupago-for-woocommerce/trunk/eupago-for-woocommerce.php
r2348227 r2469709 4 4 * Plugin URI: http://www.webatual.pt 5 5 * Description: This plugin allows Portuguese costumers to pay WooCommerce orders with Multibanco, PayShop and MBWAY using the euPago gateway. 6 * Version: 2.0. 7.16 * Version: 2.0.8 7 7 * Author: WebAtual 8 8 * Author URI: http://www.webatual.pt 9 9 * Text Domain: eupago-for-woocommerce 10 10 * Domain Path: /lang 11 * WC tested up to: 4. 3.111 * WC tested up to: 4.5.2 12 12 **/ 13 13 … … 21 21 * @var string 22 22 */ 23 const VERSION = '2.0. 7.1';23 const VERSION = '2.0.8'; 24 24 25 25 /** -
eupago-for-woocommerce/trunk/includes/class-wc-eupago-cc.php
r2347941 r2469709 296 296 297 297 /** 298 * Just for Portugal 299 */ 300 function disable_unless_portugal($available_gateways) { 301 if ( ! is_admin() ) { 302 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 303 if ( isset( $available_gateways[$this->id] ) ) { 304 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 305 unset($available_gateways[$this->id]); 298 * Just for Portugal 299 */ 300 function disable_unless_portugal($available_gateways) 301 { 302 if (!is_admin()) { 303 if (isset($available_gateways[$this->id])) { 304 if (isset(WC()->customer)) { 305 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 306 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 307 unset($available_gateways[$this->id]); 308 } 306 309 } 307 310 } -
eupago-for-woocommerce/trunk/includes/class-wc-eupago-mbway.php
r2189184 r2469709 313 313 314 314 /** 315 * Just for Portugal 316 */ 317 function disable_unless_portugal($available_gateways) { 318 if ( ! is_admin() ) { 319 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 320 if ( isset( $available_gateways[$this->id] ) ) { 321 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 322 unset($available_gateways[$this->id]); 315 * Just for Portugal 316 */ 317 function disable_unless_portugal($available_gateways) 318 { 319 if (!is_admin()) { 320 if (isset(WC()->customer)) { 321 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 322 if (isset($available_gateways[$this->id])) { 323 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 324 unset($available_gateways[$this->id]); 325 } 323 326 } 324 327 } -
eupago-for-woocommerce/trunk/includes/class-wc-eupago-multibanco.php
r2230205 r2469709 314 314 315 315 /** 316 * Just for Portugal 317 */ 318 function disable_unless_portugal($available_gateways) { 319 if ( ! is_admin() ) { 320 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 321 if ( isset( $available_gateways[$this->id] ) ) { 322 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 323 unset($available_gateways[$this->id]); 316 * Just for Portugal 317 */ 318 function disable_unless_portugal($available_gateways) 319 { 320 if (!is_admin()) { 321 if (isset($available_gateways[$this->id])) { 322 if (isset(WC()->customer)) { 323 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 324 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 325 unset($available_gateways[$this->id]); 326 } 324 327 } 325 328 } -
eupago-for-woocommerce/trunk/includes/class-wc-eupago-pagaqui.php
r2189184 r2469709 273 273 274 274 /** 275 * Just for Portugal 276 */ 277 function disable_unless_portugal($available_gateways) { 278 if ( ! is_admin() ) { 279 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 280 if ( isset( $available_gateways[$this->id] ) ) { 281 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 282 unset($available_gateways[$this->id]); 275 * Just for Portugal 276 */ 277 function disable_unless_portugal($available_gateways) 278 { 279 if (!is_admin()) { 280 if (isset(WC()->customer)) { 281 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 282 if (isset($available_gateways[$this->id])) { 283 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 284 unset($available_gateways[$this->id]); 285 } 283 286 } 284 287 } -
eupago-for-woocommerce/trunk/includes/class-wc-eupago-paysafecard.php
r2189184 r2469709 303 303 304 304 /** 305 * Just for Portugal 306 */ 307 function disable_unless_portugal($available_gateways) { 308 if ( ! is_admin() ) { 309 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 310 if ( isset( $available_gateways[$this->id] ) ) { 311 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 312 unset($available_gateways[$this->id]); 305 * Just for Portugal 306 */ 307 function disable_unless_portugal($available_gateways) 308 { 309 if (!is_admin()) { 310 if (isset(WC()->customer)) { 311 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 312 if (isset($available_gateways[$this->id])) { 313 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 314 unset($available_gateways[$this->id]); 315 } 313 316 } 314 317 } -
eupago-for-woocommerce/trunk/includes/class-wc-eupago-paysafecash.php
r2189184 r2469709 300 300 301 301 /** 302 * Just for Portugal 303 */ 304 function disable_unless_portugal($available_gateways) { 305 if ( ! is_admin() ) { 306 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 307 if ( isset( $available_gateways[$this->id] ) ) { 308 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 309 unset($available_gateways[$this->id]); 302 * Just for Portugal 303 */ 304 function disable_unless_portugal($available_gateways) 305 { 306 if (!is_admin()) { 307 if (isset(WC()->customer)) { 308 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 309 if (isset($available_gateways[$this->id])) { 310 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 311 unset($available_gateways[$this->id]); 312 } 310 313 } 311 314 } -
eupago-for-woocommerce/trunk/includes/class-wc-eupago-payshop.php
r2189184 r2469709 273 273 274 274 /** 275 * Just for Portugal 276 */ 277 function disable_unless_portugal($available_gateways) { 278 if ( ! is_admin() ) { 279 $country = version_compare( WC_VERSION, '3.0', '>=' ) ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 280 if ( isset( $available_gateways[$this->id] ) ) { 281 if ( $available_gateways[$this->id]->only_portugal == 'yes' && trim( $country ) != 'PT' ) { 282 unset($available_gateways[$this->id]); 275 * Just for Portugal 276 */ 277 function disable_unless_portugal($available_gateways) 278 { 279 if (!is_admin()) { 280 if (isset(WC()->customer)) { 281 $country = version_compare(WC_VERSION, '3.0', '>=') ? WC()->customer->get_billing_country() : WC()->customer->get_country(); 282 if (isset($available_gateways[$this->id])) { 283 if ($available_gateways[$this->id]->only_portugal == 'yes' && trim($country) != 'PT') { 284 unset($available_gateways[$this->id]); 285 } 283 286 } 284 287 } -
eupago-for-woocommerce/trunk/readme.txt
r2348227 r2469709 5 5 Plugin URI: https://www.webatual.pt 6 6 Requires at least: 4.4 7 Tested up to: 5. 4.28 Stable tag: 2.0. 7.17 Tested up to: 5.6.1 8 Stable tag: 2.0.8 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 47 47 48 48 == Changelog == 49 50 = 2.0.8 = 51 * Bugfix 49 52 50 53 = 2.0.7.1 = … … 115 118 == Upgrade Notice == 116 119 120 = 2.0.8 = 121 * Small bugfix 122 117 123 = 2.0.7.1 = 118 124 * Add credit card icon
Note: See TracChangeset
for help on using the changeset viewer.