WooCommerce Square - Version 1.0.31

Version Description

  • 2018-06-05 =
  • Fix - SSL notice in admin shows even though SSL is provided.
  • Update - Send WC active prices to Square instead of tax exclusive.
  • Add - Hook wc_square_sync_to_square_price to filter prices sent to Square.

=

Download this release

Release Info

Developer royho
Plugin Icon 128x128 WooCommerce Square
Version 1.0.31
Comparing to
See all releases

Code changes from version 1.0.30 to 1.0.31

changelog.txt CHANGED
@@ -1,5 +1,10 @@
1
*** WooCommerce Square Changelog ***
2
3
= 1.0.30 - 2018-05-23 =
4
* Update - WC tested up to version 3.4
5
* Update - Privacy policy notification.
1
*** WooCommerce Square Changelog ***
2
3
+ = 1.0.31 - 2018-06-05 =
4
+ * Fix - SSL notice in admin shows even though SSL is provided.
5
+ * Update - Send WC active prices to Square instead of tax exclusive.
6
+ * Add - Hook `wc_square_sync_to_square_price` to filter prices sent to Square.
7
+
8
= 1.0.30 - 2018-05-23 =
9
* Update - WC tested up to version 3.4
10
* Update - Privacy policy notification.
includes/class-wc-square-utils.php CHANGED
@@ -40,11 +40,17 @@ class WC_Square_Utils {
40
);
41
42
if ( $variation instanceof WC_Product ) {
43
44
$formatted['name'] = __( 'Regular', 'woocommerce-square' );
45
$formatted['price_money'] = array(
46
'currency_code' => apply_filters( 'woocommerce_square_currency', get_woocommerce_currency() ),
47
- 'amount' => (int) WC_Square_Utils::format_amount_to_square( version_compare( WC_VERSION, '3.0.0', '<' ) ? $variation->get_display_price() : wc_get_price_excluding_tax( $variation ) ),
48
);
49
$formatted['sku'] = $variation->get_sku();
50
40
);
41
42
if ( $variation instanceof WC_Product ) {
43
+ if ( version_compare( WC_VERSION, '3.0.0', '<' ) ) {
44
+ $price = $variation->get_display_price();
45
+ } else {
46
+ // Will send the active price as is.
47
+ $price = $variation->get_price();
48
+ }
49
50
$formatted['name'] = __( 'Regular', 'woocommerce-square' );
51
$formatted['price_money'] = array(
52
'currency_code' => apply_filters( 'woocommerce_square_currency', get_woocommerce_currency() ),
53
+ 'amount' => (int) WC_Square_Utils::format_amount_to_square( apply_filters( 'wc_square_sync_to_square_price', $price, $variation ) ),
54
);
55
$formatted['sku'] = $variation->get_sku();
56
includes/payment/class-wc-square-gateway.php CHANGED
@@ -12,11 +12,11 @@ class WC_Square_Gateway extends WC_Payment_Gateway {
12
* Constructor
13
*/
14
public function __construct() {
15
- $this->id = 'square';
16
- $this->method_title = __( 'Square', 'woocommerce-square' );
17
- $this->method_description = __( 'Square works by adding payments fields in an iframe and then sending the details to Square for verification and processing.', 'woocommerce-square' );
18
- $this->has_fields = true;
19
- $this->supports = array(
20
'products',
21
'refunds',
22
);
@@ -78,9 +78,9 @@ class WC_Square_Gateway extends WC_Payment_Gateway {
78
return;
79
}
80
81
- // Show message if enabled and FORCE SSL is disabled and WordpressHTTPS plugin is not detected
82
- if ( ! WC_SQUARE_ENABLE_STAGING && get_option( 'woocommerce_force_ssl_checkout' ) === 'no' && ! class_exists( 'WordPressHTTPS' ) ) {
83
- echo '<div class="error"><p>' . sprintf( __( 'Square is enabled, but the <a href="%s">force SSL option</a> is disabled; your checkout is not secured! Please enable SSL and ensure your server has a valid SSL certificate.', 'woocommerce-square' ), admin_url( 'admin.php?page=wc-settings&tab=checkout' ) ) . '</p></div>';
84
}
85
}
86
12
* Constructor
13
*/
14
public function __construct() {
15
+ $this->id = 'square';
16
+ $this->method_title = __( 'Square', 'woocommerce-square' );
17
+ $this->method_description = __( 'Square works by adding payments fields in an iframe and then sending the details to Square for verification and processing.', 'woocommerce-square' );
18
+ $this->has_fields = true;
19
+ $this->supports = array(
20
'products',
21
'refunds',
22
);
78
return;
79
}
80
81
+ // Show message if SSL is not detected in checkout page.
82
+ if ( ! WC_SQUARE_ENABLE_STAGING && ! wc_checkout_is_https() ) {
83
+ echo '<div class="error"><p>' . sprintf( __( 'Square is enabled, but a SSL certificate is not detected. Your checkout may not be secure! Please ensure your server has a valid <a href="%1$s" target="_blank">SSL certificate</a>', 'woocommerce-square' ), 'https://en.wikipedia.org/wiki/Transport_Layer_Security' ) . '</p></div>';
84
}
85
}
86
languages/woocommerce-square.pot CHANGED
@@ -2,10 +2,10 @@
2
# This file is distributed under the same license as the WooCommerce Square package.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: WooCommerce Square 1.0.28\n"
6
"Report-Msgid-Bugs-To: "
7
"https://github.com/woocommerce/woocommerce-square/issues\n"
8
- "POT-Creation-Date: 2018-04-04 08:49:02+00:00\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=utf-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
@@ -15,6 +15,7 @@ msgstr ""
15
"X-Generator: grunt-wp-i18n1.0.1\n"
16
17
#: includes/admin/class-wc-square-admin-integration.php:20
18
#: includes/payment/class-wc-square-gateway.php:16
19
msgid "Square"
20
msgstr ""
@@ -51,17 +52,17 @@ msgid ""
51
msgstr ""
52
53
#: includes/admin/class-wc-square-admin-integration.php:69
54
- #: includes/payment/class-wc-square-gateway.php:149
55
msgid "Logging"
56
msgstr ""
57
58
#: includes/admin/class-wc-square-admin-integration.php:70
59
- #: includes/payment/class-wc-square-gateway.php:150
60
msgid "Log debug messages"
61
msgstr ""
62
63
#: includes/admin/class-wc-square-admin-integration.php:72
64
- #: includes/payment/class-wc-square-gateway.php:152
65
msgid "Save debug messages to the WooCommerce System Status log."
66
msgstr ""
67
@@ -245,6 +246,31 @@ msgstr ""
245
msgid "%s"
246
msgstr ""
247
248
#: includes/class-wc-square-connect.php:59
249
msgid "Square Sync Transients Cleared"
250
msgstr ""
@@ -263,7 +289,7 @@ msgid ""
263
"Useful when sync failed halfway through."
264
msgstr ""
265
266
- #: includes/class-wc-square-utils.php:44
267
msgid "Regular"
268
msgstr ""
269
@@ -433,173 +459,173 @@ msgid ""
433
"4111111111111111 with any CVC and a valid expiration date."
434
msgstr ""
435
436
- #: includes/payment/class-wc-square-gateway.php:80
437
msgid ""
438
- "Square is enabled, but the <a href=\"%s\">force SSL option</a> is disabled; "
439
- "your checkout is not secured! Please enable SSL and ensure your server has "
440
- "a valid SSL certificate."
441
msgstr ""
442
443
- #: includes/payment/class-wc-square-gateway.php:116
444
msgid "Enable/Disable"
445
msgstr ""
446
447
- #: includes/payment/class-wc-square-gateway.php:117
448
msgid "Enable Square"
449
msgstr ""
450
451
- #: includes/payment/class-wc-square-gateway.php:123
452
msgid "Title"
453
msgstr ""
454
455
- #: includes/payment/class-wc-square-gateway.php:125
456
msgid "This controls the title which the user sees during checkout."
457
msgstr ""
458
459
- #: includes/payment/class-wc-square-gateway.php:126
460
msgid "Credit card (Square)"
461
msgstr ""
462
463
- #: includes/payment/class-wc-square-gateway.php:129
464
msgid "Description"
465
msgstr ""
466
467
- #: includes/payment/class-wc-square-gateway.php:131
468
msgid "This controls the description which the user sees during checkout."
469
msgstr ""
470
471
- #: includes/payment/class-wc-square-gateway.php:132
472
msgid "Pay with your credit card via Square."
473
msgstr ""
474
475
- #: includes/payment/class-wc-square-gateway.php:135
476
msgid "Delay Capture"
477
msgstr ""
478
479
- #: includes/payment/class-wc-square-gateway.php:136
480
msgid "Enable Delay Capture"
481
msgstr ""
482
483
- #: includes/payment/class-wc-square-gateway.php:138
484
msgid ""
485
"When enabled, the request will only perform an Auth on the provided card. "
486
"You can then later perform either a Capture or Void."
487
msgstr ""
488
489
- #: includes/payment/class-wc-square-gateway.php:142
490
msgid "Create Customer"
491
msgstr ""
492
493
- #: includes/payment/class-wc-square-gateway.php:143
494
msgid "Enable Create Customer"
495
msgstr ""
496
497
- #: includes/payment/class-wc-square-gateway.php:145
498
msgid "When enabled, processing a payment will create a customer profile on Square."
499
msgstr ""
500
501
- #: includes/payment/class-wc-square-gateway.php:182
502
msgid "Card Number"
503
msgstr ""
504
505
- #: includes/payment/class-wc-square-gateway.php:187
506
msgid "Expiry (MM/YY)"
507
msgstr ""
508
509
- #: includes/payment/class-wc-square-gateway.php:188
510
- #: includes/payment/class-wc-square-gateway.php:255
511
msgid "MM / YY"
512
msgstr ""
513
514
- #: includes/payment/class-wc-square-gateway.php:192
515
msgid "Card Code"
516
msgstr ""
517
518
- #: includes/payment/class-wc-square-gateway.php:193
519
- #: includes/payment/class-wc-square-gateway.php:256
520
msgid "CVV"
521
msgstr ""
522
523
- #: includes/payment/class-wc-square-gateway.php:197
524
- #: includes/payment/class-wc-square-gateway.php:198
525
- #: includes/payment/class-wc-square-gateway.php:257
526
msgid "Card Postal Code"
527
msgstr ""
528
529
- #: includes/payment/class-wc-square-gateway.php:254
530
msgid "•••• •••• •••• ••••"
531
msgstr ""
532
533
- #: includes/payment/class-wc-square-gateway.php:315
534
- #: includes/payment/class-wc-square-gateway.php:322
535
- #: includes/payment/class-wc-square-gateway.php:346
536
msgid ""
537
"Error: Square was unable to complete the transaction. Please try again "
538
"later or use another means of payment."
539
msgstr ""
540
541
- #: includes/payment/class-wc-square-gateway.php:327
542
msgid "Payment Error: "
543
msgstr ""
544
545
- #: includes/payment/class-wc-square-gateway.php:359
546
- #: includes/payment/class-wc-square-payments.php:131
547
msgid "Square charge complete (Charge ID: %s)"
548
msgstr ""
549
550
- #: includes/payment/class-wc-square-gateway.php:368
551
msgid ""
552
"Square charge authorized (Authorized ID: %s). Process order to take "
553
"payment, or cancel to remove the pre-authorization."
554
msgstr ""
555
556
- #: includes/payment/class-wc-square-gateway.php:390
557
- #: includes/payment/class-wc-square-gateway.php:522
558
msgid "Error: %s"
559
msgstr ""
560
561
- #: includes/payment/class-wc-square-gateway.php:422
562
msgid "Guest"
563
msgstr ""
564
565
- #: includes/payment/class-wc-square-gateway.php:441
566
- #: includes/payment/class-wc-square-gateway.php:442
567
- #: includes/payment/class-wc-square-gateway.php:447
568
- #: includes/payment/class-wc-square-gateway.php:448
569
msgid "Error creating customer: %s"
570
msgstr ""
571
572
- #: includes/payment/class-wc-square-gateway.php:454
573
msgid "Customer created on Square: %s"
574
msgstr ""
575
576
- #: includes/payment/class-wc-square-gateway.php:511
577
msgid "Refunded %1$s - Refund ID: %2$s - Reason: %3$s"
578
msgstr ""
579
580
- #: includes/payment/class-wc-square-payments.php:83
581
msgid "Capture Charge"
582
msgstr ""
583
584
- #: includes/payment/class-wc-square-payments.php:123
585
- #: includes/payment/class-wc-square-payments.php:127
586
msgid "Unable to capture charge!"
587
msgstr ""
588
589
- #: includes/payment/class-wc-square-payments.php:137
590
msgid "Error unable to capture charge: %s"
591
msgstr ""
592
593
- #: includes/payment/class-wc-square-payments.php:167
594
- #: includes/payment/class-wc-square-payments.php:170
595
msgid "Unable to void charge!"
596
msgstr ""
597
598
- #: includes/payment/class-wc-square-payments.php:174
599
msgid "Square charge voided! (Charge ID: %s)"
600
msgstr ""
601
602
- #: includes/payment/class-wc-square-payments.php:180
603
msgid "Unable to void charge!: %s"
604
msgstr ""
605
@@ -615,26 +641,26 @@ msgid ""
615
"GBP, JPY, or USD."
616
msgstr ""
617
618
- #: woocommerce-square.php:331
619
msgid ""
620
"This process may take awhile depending on the amount of items that need to "
621
"be synced. Please do not close this tab/window or else the sync will "
622
"terminate. Click OK to continue to sync."
623
msgstr ""
624
625
- #: woocommerce-square.php:389
626
msgid ""
627
"WooCommerce Square Plugin requires WooCommerce to be installed and active. "
628
"You can download %s here."
629
msgstr ""
630
631
- #: woocommerce-square.php:407
632
msgid ""
633
"WooCommerce Square is almost ready. To get started, %1$sconnect your Square "
634
"Account.%2$s"
635
msgstr ""
636
637
- #: woocommerce-square.php:411
638
msgid ""
639
"WooCommerce Square is almost ready. Please %1$sset your business "
640
"location.%2$s"
2
# This file is distributed under the same license as the WooCommerce Square package.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: WooCommerce Square 1.0.30\n"
6
"Report-Msgid-Bugs-To: "
7
"https://github.com/woocommerce/woocommerce-square/issues\n"
8
+ "POT-Creation-Date: 2018-06-05 14:39:13+00:00\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=utf-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
15
"X-Generator: grunt-wp-i18n1.0.1\n"
16
17
#: includes/admin/class-wc-square-admin-integration.php:20
18
+ #: includes/admin/class-wc-square-privacy.php:12
19
#: includes/payment/class-wc-square-gateway.php:16
20
msgid "Square"
21
msgstr ""
52
msgstr ""
53
54
#: includes/admin/class-wc-square-admin-integration.php:69
55
+ #: includes/payment/class-wc-square-gateway.php:152
56
msgid "Logging"
57
msgstr ""
58
59
#: includes/admin/class-wc-square-admin-integration.php:70
60
+ #: includes/payment/class-wc-square-gateway.php:153
61
msgid "Log debug messages"
62
msgstr ""
63
64
#: includes/admin/class-wc-square-admin-integration.php:72
65
+ #: includes/payment/class-wc-square-gateway.php:155
66
msgid "Save debug messages to the WooCommerce System Status log."
67
msgstr ""
68
246
msgid "%s"
247
msgstr ""
248
249
+ #: includes/admin/class-wc-square-privacy.php:14
250
+ #: includes/admin/class-wc-square-privacy.php:15
251
+ msgid "WooCommerce Square Customer Data"
252
+ msgstr ""
253
+
254
+ #: includes/admin/class-wc-square-privacy.php:23
255
+ msgid ""
256
+ "By using this extension, you may be storing personal data or sharing data "
257
+ "with an external service. <a href=\"%s\" target=\"_blank\">Learn more about "
258
+ "how this works, including what you may want to include in your privacy "
259
+ "policy.</a>"
260
+ msgstr ""
261
+
262
+ #: includes/admin/class-wc-square-privacy.php:61
263
+ msgid "Customer Data"
264
+ msgstr ""
265
+
266
+ #: includes/admin/class-wc-square-privacy.php:65
267
+ msgid "Square customer id"
268
+ msgstr ""
269
+
270
+ #: includes/admin/class-wc-square-privacy.php:98
271
+ msgid "Square User Data Erased."
272
+ msgstr ""
273
+
274
#: includes/class-wc-square-connect.php:59
275
msgid "Square Sync Transients Cleared"
276
msgstr ""
289
"Useful when sync failed halfway through."
290
msgstr ""
291
292
+ #: includes/class-wc-square-utils.php:50
293
msgid "Regular"
294
msgstr ""
295
459
"4111111111111111 with any CVC and a valid expiration date."
460
msgstr ""
461
462
+ #: includes/payment/class-wc-square-gateway.php:83
463
msgid ""
464
+ "Square is enabled, but a SSL certificate is not detected. Your checkout may "
465
+ "not be secure! Please ensure your server has a valid <a href=\"%1$s\" "
466
+ "target=\"_blank\">SSL certificate</a>"
467
msgstr ""
468
469
+ #: includes/payment/class-wc-square-gateway.php:119
470
msgid "Enable/Disable"
471
msgstr ""
472
473
+ #: includes/payment/class-wc-square-gateway.php:120
474
msgid "Enable Square"
475
msgstr ""
476
477
+ #: includes/payment/class-wc-square-gateway.php:126
478
msgid "Title"
479
msgstr ""
480
481
+ #: includes/payment/class-wc-square-gateway.php:128
482
msgid "This controls the title which the user sees during checkout."
483
msgstr ""
484
485
+ #: includes/payment/class-wc-square-gateway.php:129
486
msgid "Credit card (Square)"
487
msgstr ""
488
489
+ #: includes/payment/class-wc-square-gateway.php:132
490
msgid "Description"
491
msgstr ""
492
493
+ #: includes/payment/class-wc-square-gateway.php:134
494
msgid "This controls the description which the user sees during checkout."
495
msgstr ""
496
497
+ #: includes/payment/class-wc-square-gateway.php:135
498
msgid "Pay with your credit card via Square."
499
msgstr ""
500
501
+ #: includes/payment/class-wc-square-gateway.php:138
502
msgid "Delay Capture"
503
msgstr ""
504
505
+ #: includes/payment/class-wc-square-gateway.php:139
506
msgid "Enable Delay Capture"
507
msgstr ""
508
509
+ #: includes/payment/class-wc-square-gateway.php:141
510
msgid ""
511
"When enabled, the request will only perform an Auth on the provided card. "
512
"You can then later perform either a Capture or Void."
513
msgstr ""
514
515
+ #: includes/payment/class-wc-square-gateway.php:145
516
msgid "Create Customer"
517
msgstr ""
518
519
+ #: includes/payment/class-wc-square-gateway.php:146
520
msgid "Enable Create Customer"
521
msgstr ""
522
523
+ #: includes/payment/class-wc-square-gateway.php:148
524
msgid "When enabled, processing a payment will create a customer profile on Square."
525
msgstr ""
526
527
+ #: includes/payment/class-wc-square-gateway.php:185
528
msgid "Card Number"
529
msgstr ""
530
531
+ #: includes/payment/class-wc-square-gateway.php:190
532
msgid "Expiry (MM/YY)"
533
msgstr ""
534
535
+ #: includes/payment/class-wc-square-gateway.php:191
536
+ #: includes/payment/class-wc-square-gateway.php:258
537
msgid "MM / YY"
538
msgstr ""
539
540
+ #: includes/payment/class-wc-square-gateway.php:195
541
msgid "Card Code"
542
msgstr ""
543
544
+ #: includes/payment/class-wc-square-gateway.php:196
545
+ #: includes/payment/class-wc-square-gateway.php:259
546
msgid "CVV"
547
msgstr ""
548
549
+ #: includes/payment/class-wc-square-gateway.php:200
550
+ #: includes/payment/class-wc-square-gateway.php:201
551
+ #: includes/payment/class-wc-square-gateway.php:260
552
msgid "Card Postal Code"
553
msgstr ""
554
555
+ #: includes/payment/class-wc-square-gateway.php:257
556
msgid "•••• •••• •••• ••••"
557
msgstr ""
558
559
+ #: includes/payment/class-wc-square-gateway.php:318
560
+ #: includes/payment/class-wc-square-gateway.php:325
561
+ #: includes/payment/class-wc-square-gateway.php:349
562
msgid ""
563
"Error: Square was unable to complete the transaction. Please try again "
564
"later or use another means of payment."
565
msgstr ""
566
567
+ #: includes/payment/class-wc-square-gateway.php:330
568
msgid "Payment Error: "
569
msgstr ""
570
571
+ #: includes/payment/class-wc-square-gateway.php:362
572
+ #: includes/payment/class-wc-square-payments.php:136
573
msgid "Square charge complete (Charge ID: %s)"
574
msgstr ""
575
576
+ #: includes/payment/class-wc-square-gateway.php:371
577
msgid ""
578
"Square charge authorized (Authorized ID: %s). Process order to take "
579
"payment, or cancel to remove the pre-authorization."
580
msgstr ""
581
582
+ #: includes/payment/class-wc-square-gateway.php:393
583
+ #: includes/payment/class-wc-square-gateway.php:525
584
msgid "Error: %s"
585
msgstr ""
586
587
+ #: includes/payment/class-wc-square-gateway.php:425
588
msgid "Guest"
589
msgstr ""
590
591
+ #: includes/payment/class-wc-square-gateway.php:444
592
+ #: includes/payment/class-wc-square-gateway.php:445
593
+ #: includes/payment/class-wc-square-gateway.php:450
594
+ #: includes/payment/class-wc-square-gateway.php:451
595
msgid "Error creating customer: %s"
596
msgstr ""
597
598
+ #: includes/payment/class-wc-square-gateway.php:457
599
msgid "Customer created on Square: %s"
600
msgstr ""
601
602
+ #: includes/payment/class-wc-square-gateway.php:514
603
msgid "Refunded %1$s - Refund ID: %2$s - Reason: %3$s"
604
msgstr ""
605
606
+ #: includes/payment/class-wc-square-payments.php:88
607
msgid "Capture Charge"
608
msgstr ""
609
610
+ #: includes/payment/class-wc-square-payments.php:128
611
+ #: includes/payment/class-wc-square-payments.php:132
612
msgid "Unable to capture charge!"
613
msgstr ""
614
615
+ #: includes/payment/class-wc-square-payments.php:142
616
msgid "Error unable to capture charge: %s"
617
msgstr ""
618
619
+ #: includes/payment/class-wc-square-payments.php:172
620
+ #: includes/payment/class-wc-square-payments.php:175
621
msgid "Unable to void charge!"
622
msgstr ""
623
624
+ #: includes/payment/class-wc-square-payments.php:179
625
msgid "Square charge voided! (Charge ID: %s)"
626
msgstr ""
627
628
+ #: includes/payment/class-wc-square-payments.php:185
629
msgid "Unable to void charge!: %s"
630
msgstr ""
631
641
"GBP, JPY, or USD."
642
msgstr ""
643
644
+ #: woocommerce-square.php:332
645
msgid ""
646
"This process may take awhile depending on the amount of items that need to "
647
"be synced. Please do not close this tab/window or else the sync will "
648
"terminate. Click OK to continue to sync."
649
msgstr ""
650
651
+ #: woocommerce-square.php:390
652
msgid ""
653
"WooCommerce Square Plugin requires WooCommerce to be installed and active. "
654
"You can download %s here."
655
msgstr ""
656
657
+ #: woocommerce-square.php:408
658
msgid ""
659
"WooCommerce Square is almost ready. To get started, %1$sconnect your Square "
660
"Account.%2$s"
661
msgstr ""
662
663
+ #: woocommerce-square.php:412
664
msgid ""
665
"WooCommerce Square is almost ready. Please %1$sset your business "
666
"location.%2$s"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: credit card, square, woocommerce, inventory sync
4
Requires at least: 4.4
5
Tested up to: 4.9
6
Requires PHP: 5.6
7
- Stable tag: 1.0.30
8
License: GPLv3
9
License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
@@ -57,10 +57,10 @@ If you get stuck, you can ask for help in the Plugin Forum.
57
58
== Changelog ==
59
60
- = 1.0.30 - 2018-05-23 =
61
- * Update - WC tested up to version 3.4
62
- * Update - Privacy policy notification.
63
- * Update - Export/erasure hooks added.
64
65
== Upgrade Notice ==
66
4
Requires at least: 4.4
5
Tested up to: 4.9
6
Requires PHP: 5.6
7
+ Stable tag: 1.0.31
8
License: GPLv3
9
License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
57
58
== Changelog ==
59
60
+ = 1.0.31 - 2018-06-05 =
61
+ * Fix - SSL notice in admin shows even though SSL is provided.
62
+ * Update - Send WC active prices to Square instead of tax exclusive.
63
+ * Add - Hook `wc_square_sync_to_square_price` to filter prices sent to Square.
64
65
== Upgrade Notice ==
66
woocommerce-square.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
* Plugin Name: WooCommerce Square
4
- * Version: 1.0.30
5
* Plugin URI: https://woocommerce.com/products/square/
6
* Description: Adds ability to sync inventory between WooCommerce and Square POS. In addition, you can also make purchases through the Square payment gateway.
7
* Author: WooCommerce
@@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) {
23
24
if ( ! class_exists( 'Woocommerce_Square' ) ) :
25
26
- define( 'WC_SQUARE_VERSION', '1.0.30' );
27
28
/**
29
* Main class.
1
<?php
2
/**
3
* Plugin Name: WooCommerce Square
4
+ * Version: 1.0.31
5
* Plugin URI: https://woocommerce.com/products/square/
6
* Description: Adds ability to sync inventory between WooCommerce and Square POS. In addition, you can also make purchases through the Square payment gateway.
7
* Author: WooCommerce
23
24
if ( ! class_exists( 'Woocommerce_Square' ) ) :
25
26
+ define( 'WC_SQUARE_VERSION', '1.0.31' );
27
28
/**
29
* Main class.