WooCommerce Payments – Fully Integrated Solution Built and Supported by Woo - Version 3.2.3

Version Description

  • 2021-11-01 =
  • Fix - Card fields on checkout not shown when the 'Enable payments via saved cards' setting is disabled.
Download this release

Release Info

Developer automattic
Plugin Icon 128x128 WooCommerce Payments – Fully Integrated Solution Built and Supported by Woo
Version 3.2.3
Comparing to
See all releases

Code changes from version 3.2.2 to 3.2.3

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  *** WooCommerce Payments Changelog ***
2
 
 
 
 
3
  = 3.2.2 - 2021-10-29 =
4
  * Fix - Multisite compatibility - don't load subscriptions-core if already loaded by another multisite plugin.
5
  * Fix - Errors when attempting to get the WooCommerce Subscriptions Core version during PayPal requests.
1
  *** WooCommerce Payments Changelog ***
2
 
3
+ = 3.2.3 - 2021-11-01 =
4
+ * Fix - Card fields on checkout not shown when the 'Enable payments via saved cards' setting is disabled.
5
+
6
  = 3.2.2 - 2021-10-29 =
7
  * Fix - Multisite compatibility - don't load subscriptions-core if already loaded by another multisite plugin.
8
  * Fix - Errors when attempting to get the WooCommerce Subscriptions Core version during PayPal requests.
includes/class-wc-payment-gateway-wcpay.php CHANGED
@@ -659,10 +659,16 @@ class WC_Payment_Gateway_WCPay extends WC_Payment_Gateway_CC {
659
  true
660
  );
661
 
 
 
 
 
 
 
662
  wp_register_script(
663
  'WCPAY_CHECKOUT',
664
  plugins_url( 'dist/checkout.js', WCPAY_PLUGIN_FILE ),
665
- [ 'stripe', 'wc-checkout', 'woocommerce-tokenization-form' ],
666
  WC_Payments::get_file_version( 'dist/checkout.js' ),
667
  true
668
  );
659
  true
660
  );
661
 
662
+ $script_dependencies = [ 'stripe', 'wc-checkout' ];
663
+
664
+ if ( $this->supports( 'tokenization' ) ) {
665
+ $script_dependencies[] = 'woocommerce-tokenization-form';
666
+ }
667
+
668
  wp_register_script(
669
  'WCPAY_CHECKOUT',
670
  plugins_url( 'dist/checkout.js', WCPAY_PLUGIN_FILE ),
671
+ $script_dependencies,
672
  WC_Payments::get_file_version( 'dist/checkout.js' ),
673
  true
674
  );
includes/payment-methods/class-upe-payment-gateway.php CHANGED
@@ -108,10 +108,16 @@ class UPE_Payment_Gateway extends WC_Payment_Gateway_WCPay {
108
  true
109
  );
110
 
 
 
 
 
 
 
111
  wp_register_script(
112
  'wcpay-upe-checkout',
113
  plugins_url( 'dist/upe_checkout.js', WCPAY_PLUGIN_FILE ),
114
- [ 'stripe', 'wc-checkout', 'woocommerce-tokenization-form' ],
115
  WC_Payments::get_file_version( 'dist/upe_checkout.js' ),
116
  true
117
  );
108
  true
109
  );
110
 
111
+ $script_dependencies = [ 'stripe', 'wc-checkout' ];
112
+
113
+ if ( $this->supports( 'tokenization' ) ) {
114
+ $script_dependencies[] = 'woocommerce-tokenization-form';
115
+ }
116
+
117
  wp_register_script(
118
  'wcpay-upe-checkout',
119
  plugins_url( 'dist/upe_checkout.js', WCPAY_PLUGIN_FILE ),
120
+ $script_dependencies,
121
  WC_Payments::get_file_version( 'dist/upe_checkout.js' ),
122
  true
123
  );
languages/woocommerce-payments.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the WooCommerce Payments package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Payments 3.2.2\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-payments\n"
8
- "POT-Creation-Date: 2021-10-29 03:02:14+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -489,44 +489,44 @@ msgid ""
489
  "and refresh the page to try again."
490
  msgstr ""
491
 
492
- #: includes/class-wc-payment-gateway-wcpay.php:685
493
  msgid "Save payment information to my account for future purchases."
494
  msgstr ""
495
 
496
- #: includes/class-wc-payment-gateway-wcpay.php:773
497
  #. translators: link to Stripe testing page
498
  msgid ""
499
  "<strong>Test mode:</strong> use the test VISA card 4242424242424242 with "
500
  "any expiry date and CVC, or any test card numbers listed <a>here</a>."
501
  msgstr ""
502
 
503
- #: includes/class-wc-payment-gateway-wcpay.php:809
504
  #: includes/payment-methods/class-giropay-payment-gateway.php:192
505
  #: includes/payment-methods/class-sepa-payment-gateway.php:126
506
  #: includes/payment-methods/class-sofort-payment-gateway.php:183
507
- #: includes/payment-methods/class-upe-payment-gateway.php:762
508
  msgid ""
509
  "An error was encountered when preparing the payment form. Please try again "
510
  "later."
511
  msgstr ""
512
 
513
- #: includes/class-wc-payment-gateway-wcpay.php:830
514
- #: includes/payment-methods/class-upe-payment-gateway.php:352
515
  msgid "Your payment was not processed."
516
  msgstr ""
517
 
518
- #: includes/class-wc-payment-gateway-wcpay.php:853
519
  #: includes/compat/subscriptions/trait-wc-payment-gateway-wcpay-subscriptions.php:255
520
  #: includes/payment-methods/class-giropay-payment-gateway.php:242
521
  #: includes/payment-methods/class-sofort-payment-gateway.php:233
522
- #: includes/payment-methods/class-upe-payment-gateway.php:903
523
  #. translators: %1: the failed payment amount, %2: error message
524
  msgid ""
525
  "A payment of %1$s <strong>failed</strong> to complete with the following "
526
  "message: <code>%2$s</code>."
527
  msgstr ""
528
 
529
- #: includes/class-wc-payment-gateway-wcpay.php:872
530
  #. translators: %1: the failed payment amount
531
  msgid ""
532
  "A payment of %1$s <strong>failed</strong> to complete because of too many "
@@ -534,17 +534,17 @@ msgid ""
534
  "more attempts temporarily."
535
  msgstr ""
536
 
537
- #: includes/class-wc-payment-gateway-wcpay.php:994
538
  #. translators: %1: the last 4 digit of the credit card
539
  msgid "Payment method is changed to: <strong>Credit card ending in %1$s</strong>."
540
  msgstr ""
541
 
542
- #: includes/class-wc-payment-gateway-wcpay.php:1006
543
  msgid "Credit / Debit Card"
544
  msgstr ""
545
 
546
- #: includes/class-wc-payment-gateway-wcpay.php:1246
547
- #: includes/class-wc-payment-gateway-wcpay.php:1979
548
  #. translators: %1: the successfully charged amount, %2: transaction ID of the
549
  #. payment
550
  msgid ""
@@ -552,22 +552,22 @@ msgid ""
552
  "WooCommerce Payments (<a>%2$s</a>)."
553
  msgstr ""
554
 
555
- #: includes/class-wc-payment-gateway-wcpay.php:1270
556
- #: includes/class-wc-payment-gateway-wcpay.php:2001
557
  #. translators: %1: the authorized amount, %2: transaction ID of the payment
558
  msgid ""
559
  "A payment of %1$s was <strong>authorized</strong> using WooCommerce "
560
  "Payments (<a>%2$s</a>)."
561
  msgstr ""
562
 
563
- #: includes/class-wc-payment-gateway-wcpay.php:1290
564
  #. translators: %1: the authorized amount, %2: transaction ID of the payment
565
  msgid ""
566
  "A payment of %1$s was <strong>started</strong> using WooCommerce Payments "
567
  "(<code>%2$s</code>)."
568
  msgstr ""
569
 
570
- #: includes/class-wc-payment-gateway-wcpay.php:1372
571
  #. translators: an error message which will appear if a user tries to refund an
572
  #. order which is has been authorized but not yet charged.
573
  msgid ""
@@ -577,108 +577,108 @@ msgid ""
577
  "trigger a refund via the 'Refund' button."
578
  msgstr ""
579
 
580
- #: includes/class-wc-payment-gateway-wcpay.php:1380
581
  msgid "The refund amount is not valid."
582
  msgstr ""
583
 
584
- #: includes/class-wc-payment-gateway-wcpay.php:1399
585
  #. translators: %1: the successfully charged amount, %2: error message
586
  msgid "A refund of %1$s failed to complete: %2$s"
587
  msgstr ""
588
 
589
- #: includes/class-wc-payment-gateway-wcpay.php:1416
590
  #. translators: %1: the successfully charged amount
591
  msgid "A refund of %1$s was successfully processed using WooCommerce Payments."
592
  msgstr ""
593
 
594
- #: includes/class-wc-payment-gateway-wcpay.php:1422
595
  #. translators: %1: the successfully charged amount, %2: reason
596
  msgid ""
597
  "A refund of %1$s was successfully processed using WooCommerce Payments. "
598
  "Reason: %2$s"
599
  msgstr ""
600
 
601
- #: includes/class-wc-payment-gateway-wcpay.php:1462
602
  #: client/settings/general-settings/index.js:42
603
  msgid ""
604
  "Dev mode is active so all transactions will be in test mode. This setting "
605
  "is only available to live accounts."
606
  msgstr ""
607
 
608
- #: includes/class-wc-payment-gateway-wcpay.php:1467
609
  #: client/settings/advanced-settings/debug-mode.js:32
610
  msgid "Dev mode is active so logging is on by default."
611
  msgstr ""
612
 
613
- #: includes/class-wc-payment-gateway-wcpay.php:1606
614
  msgid "Failed to update statement descriptor. "
615
  msgstr ""
616
 
617
- #: includes/class-wc-payment-gateway-wcpay.php:1634
618
  msgid ""
619
  "Customer bank statement is invalid. Statement should be between 5 and 22 "
620
  "characters long, contain at least single Latin character and does not "
621
  "contain special characters: ' \" * &lt; &gt;"
622
  msgstr ""
623
 
624
- #: includes/class-wc-payment-gateway-wcpay.php:1657
625
  msgid "Capture charge"
626
  msgstr ""
627
 
628
- #: includes/class-wc-payment-gateway-wcpay.php:1658
629
  msgid "Cancel authorization"
630
  msgstr ""
631
 
632
- #: includes/class-wc-payment-gateway-wcpay.php:1720
633
  #. translators: %1: the successfully charged amount
634
  msgid ""
635
  "A payment of %1$s was <strong>successfully captured</strong> using "
636
  "WooCommerce Payments."
637
  msgstr ""
638
 
639
- #: includes/class-wc-payment-gateway-wcpay.php:1734
640
  #. translators: %1: the failed capture amount, %2: error message
641
  msgid ""
642
  "A capture of %1$s <strong>failed</strong> to complete with the following "
643
  "message: <code>%2$s</code>."
644
  msgstr ""
645
 
646
- #: includes/class-wc-payment-gateway-wcpay.php:1751
647
  #. translators: %1: the failed capture amount
648
  msgid "A capture of %1$s <strong>failed</strong> to complete."
649
  msgstr ""
650
 
651
- #: includes/class-wc-payment-gateway-wcpay.php:1807
652
  msgid "Payment authorization was successfully <strong>cancelled</strong>."
653
  msgstr ""
654
 
655
- #: includes/class-wc-payment-gateway-wcpay.php:1815
656
  #. translators: %1: error message
657
  msgid ""
658
  "Canceling authorization <strong>failed</strong> to complete with the "
659
  "following message: <code>%1$s</code>."
660
  msgstr ""
661
 
662
- #: includes/class-wc-payment-gateway-wcpay.php:1830
663
  msgid "Canceling authorization <strong>failed</strong> to complete."
664
  msgstr ""
665
 
666
- #: includes/class-wc-payment-gateway-wcpay.php:1923
667
- #: includes/payment-methods/class-upe-payment-gateway.php:130
668
- #: includes/payment-methods/class-upe-payment-gateway.php:205
669
  msgid ""
670
  "We're not able to process this payment. Please refresh the page and try "
671
  "again."
672
  msgstr ""
673
 
674
- #: includes/class-wc-payment-gateway-wcpay.php:1932
675
- #: includes/class-wc-payment-gateway-wcpay.php:1945
676
- #: includes/class-wc-payment-gateway-wcpay.php:1959
677
- #: includes/payment-methods/class-upe-payment-gateway.php:513
678
  msgid "We're not able to process this payment. Please try again later."
679
  msgstr ""
680
 
681
- #: includes/class-wc-payment-gateway-wcpay.php:1941
682
  #: includes/payment-methods/class-cc-payment-method.php:47
683
  #. translators: This will be used to indicate an unknown value for an ID.
684
  #: client/payment-details/payment-method/card-present/index.js:42
@@ -686,21 +686,21 @@ msgstr ""
686
  msgid "unknown"
687
  msgstr ""
688
 
689
- #: includes/class-wc-payment-gateway-wcpay.php:2025
690
  #. translators: %1: the authorized amount, %2: transaction ID of the payment
691
  msgid ""
692
  "A payment of %1$s <strong>failed</strong> using WooCommerce Payments "
693
  "(<a>%2$s</a>)."
694
  msgstr ""
695
 
696
- #: includes/class-wc-payment-gateway-wcpay.php:2053
697
  #. translators: %1: the authorized amount, %2: transaction ID of the payment
698
  msgid ""
699
  "A payment of %1$s <strong>failed</strong> using WooCommerce Payments "
700
  "(<code>%2$s</code>)."
701
  msgstr ""
702
 
703
- #: includes/class-wc-payment-gateway-wcpay.php:2104
704
  #. translators: %1: transaction ID of the payment or a translated string
705
  #. indicating an unknown ID.
706
  msgid ""
@@ -709,20 +709,20 @@ msgid ""
709
  "so it was ignored and the order was not updated."
710
  msgstr ""
711
 
712
- #: includes/class-wc-payment-gateway-wcpay.php:2148
713
  msgid "A WooCommerce Payments payment method was not provided"
714
  msgstr ""
715
 
716
- #: includes/class-wc-payment-gateway-wcpay.php:2160
717
  msgid "We're not able to add this payment method. Please try again later"
718
  msgstr ""
719
 
720
- #: includes/class-wc-payment-gateway-wcpay.php:2169
721
  msgid "Failed to add the provided payment method. Please try again later"
722
  msgstr ""
723
 
724
- #: includes/class-wc-payment-gateway-wcpay.php:2267
725
- #: includes/payment-methods/class-upe-payment-gateway.php:272
726
  msgid ""
727
  "We're not able to add this payment method. Please refresh the page and try "
728
  "again."
@@ -1480,16 +1480,16 @@ msgstr ""
1480
  msgid "Popular payment methods"
1481
  msgstr ""
1482
 
1483
- #: includes/payment-methods/class-upe-payment-gateway.php:419
1484
  msgid "Payment method successfully added."
1485
  msgstr ""
1486
 
1487
- #: includes/payment-methods/class-upe-payment-gateway.php:559
1488
  #. translators: localized exception message
1489
  msgid "UPE payment failed: %s"
1490
  msgstr ""
1491
 
1492
- #: includes/payment-methods/class-upe-payment-gateway.php:720
1493
  #. translators: link to Stripe testing page
1494
  msgid ""
1495
  "<strong>Test mode:</strong> use the test VISA card 4242424242424242 with "
@@ -1498,7 +1498,7 @@ msgid ""
1498
  "<a>here</a>."
1499
  msgstr ""
1500
 
1501
- #: includes/payment-methods/class-upe-payment-gateway.php:803
1502
  msgid "Unable to update UPE appearance values at this time."
1503
  msgstr ""
1504
 
2
  # This file is distributed under the same license as the WooCommerce Payments package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Payments 3.2.3\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-payments\n"
8
+ "POT-Creation-Date: 2021-11-01 00:38:11+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
489
  "and refresh the page to try again."
490
  msgstr ""
491
 
492
+ #: includes/class-wc-payment-gateway-wcpay.php:691
493
  msgid "Save payment information to my account for future purchases."
494
  msgstr ""
495
 
496
+ #: includes/class-wc-payment-gateway-wcpay.php:779
497
  #. translators: link to Stripe testing page
498
  msgid ""
499
  "<strong>Test mode:</strong> use the test VISA card 4242424242424242 with "
500
  "any expiry date and CVC, or any test card numbers listed <a>here</a>."
501
  msgstr ""
502
 
503
+ #: includes/class-wc-payment-gateway-wcpay.php:815
504
  #: includes/payment-methods/class-giropay-payment-gateway.php:192
505
  #: includes/payment-methods/class-sepa-payment-gateway.php:126
506
  #: includes/payment-methods/class-sofort-payment-gateway.php:183
507
+ #: includes/payment-methods/class-upe-payment-gateway.php:768
508
  msgid ""
509
  "An error was encountered when preparing the payment form. Please try again "
510
  "later."
511
  msgstr ""
512
 
513
+ #: includes/class-wc-payment-gateway-wcpay.php:836
514
+ #: includes/payment-methods/class-upe-payment-gateway.php:358
515
  msgid "Your payment was not processed."
516
  msgstr ""
517
 
518
+ #: includes/class-wc-payment-gateway-wcpay.php:859
519
  #: includes/compat/subscriptions/trait-wc-payment-gateway-wcpay-subscriptions.php:255
520
  #: includes/payment-methods/class-giropay-payment-gateway.php:242
521
  #: includes/payment-methods/class-sofort-payment-gateway.php:233
522
+ #: includes/payment-methods/class-upe-payment-gateway.php:909
523
  #. translators: %1: the failed payment amount, %2: error message
524
  msgid ""
525
  "A payment of %1$s <strong>failed</strong> to complete with the following "
526
  "message: <code>%2$s</code>."
527
  msgstr ""
528
 
529
+ #: includes/class-wc-payment-gateway-wcpay.php:878
530
  #. translators: %1: the failed payment amount
531
  msgid ""
532
  "A payment of %1$s <strong>failed</strong> to complete because of too many "
534
  "more attempts temporarily."
535
  msgstr ""
536
 
537
+ #: includes/class-wc-payment-gateway-wcpay.php:1000
538
  #. translators: %1: the last 4 digit of the credit card
539
  msgid "Payment method is changed to: <strong>Credit card ending in %1$s</strong>."
540
  msgstr ""
541
 
542
+ #: includes/class-wc-payment-gateway-wcpay.php:1012
543
  msgid "Credit / Debit Card"
544
  msgstr ""
545
 
546
+ #: includes/class-wc-payment-gateway-wcpay.php:1252
547
+ #: includes/class-wc-payment-gateway-wcpay.php:1985
548
  #. translators: %1: the successfully charged amount, %2: transaction ID of the
549
  #. payment
550
  msgid ""
552
  "WooCommerce Payments (<a>%2$s</a>)."
553
  msgstr ""
554
 
555
+ #: includes/class-wc-payment-gateway-wcpay.php:1276
556
+ #: includes/class-wc-payment-gateway-wcpay.php:2007
557
  #. translators: %1: the authorized amount, %2: transaction ID of the payment
558
  msgid ""
559
  "A payment of %1$s was <strong>authorized</strong> using WooCommerce "
560
  "Payments (<a>%2$s</a>)."
561
  msgstr ""
562
 
563
+ #: includes/class-wc-payment-gateway-wcpay.php:1296
564
  #. translators: %1: the authorized amount, %2: transaction ID of the payment
565
  msgid ""
566
  "A payment of %1$s was <strong>started</strong> using WooCommerce Payments "
567
  "(<code>%2$s</code>)."
568
  msgstr ""
569
 
570
+ #: includes/class-wc-payment-gateway-wcpay.php:1378
571
  #. translators: an error message which will appear if a user tries to refund an
572
  #. order which is has been authorized but not yet charged.
573
  msgid ""
577
  "trigger a refund via the 'Refund' button."
578
  msgstr ""
579
 
580
+ #: includes/class-wc-payment-gateway-wcpay.php:1386
581
  msgid "The refund amount is not valid."
582
  msgstr ""
583
 
584
+ #: includes/class-wc-payment-gateway-wcpay.php:1405
585
  #. translators: %1: the successfully charged amount, %2: error message
586
  msgid "A refund of %1$s failed to complete: %2$s"
587
  msgstr ""
588
 
589
+ #: includes/class-wc-payment-gateway-wcpay.php:1422
590
  #. translators: %1: the successfully charged amount
591
  msgid "A refund of %1$s was successfully processed using WooCommerce Payments."
592
  msgstr ""
593
 
594
+ #: includes/class-wc-payment-gateway-wcpay.php:1428
595
  #. translators: %1: the successfully charged amount, %2: reason
596
  msgid ""
597
  "A refund of %1$s was successfully processed using WooCommerce Payments. "
598
  "Reason: %2$s"
599
  msgstr ""
600
 
601
+ #: includes/class-wc-payment-gateway-wcpay.php:1468
602
  #: client/settings/general-settings/index.js:42
603
  msgid ""
604
  "Dev mode is active so all transactions will be in test mode. This setting "
605
  "is only available to live accounts."
606
  msgstr ""
607
 
608
+ #: includes/class-wc-payment-gateway-wcpay.php:1473
609
  #: client/settings/advanced-settings/debug-mode.js:32
610
  msgid "Dev mode is active so logging is on by default."
611
  msgstr ""
612
 
613
+ #: includes/class-wc-payment-gateway-wcpay.php:1612
614
  msgid "Failed to update statement descriptor. "
615
  msgstr ""
616
 
617
+ #: includes/class-wc-payment-gateway-wcpay.php:1640
618
  msgid ""
619
  "Customer bank statement is invalid. Statement should be between 5 and 22 "
620
  "characters long, contain at least single Latin character and does not "
621
  "contain special characters: ' \" * &lt; &gt;"
622
  msgstr ""
623
 
624
+ #: includes/class-wc-payment-gateway-wcpay.php:1663
625
  msgid "Capture charge"
626
  msgstr ""
627
 
628
+ #: includes/class-wc-payment-gateway-wcpay.php:1664
629
  msgid "Cancel authorization"
630
  msgstr ""
631
 
632
+ #: includes/class-wc-payment-gateway-wcpay.php:1726
633
  #. translators: %1: the successfully charged amount
634
  msgid ""
635
  "A payment of %1$s was <strong>successfully captured</strong> using "
636
  "WooCommerce Payments."
637
  msgstr ""
638
 
639
+ #: includes/class-wc-payment-gateway-wcpay.php:1740
640
  #. translators: %1: the failed capture amount, %2: error message
641
  msgid ""
642
  "A capture of %1$s <strong>failed</strong> to complete with the following "
643
  "message: <code>%2$s</code>."
644
  msgstr ""
645
 
646
+ #: includes/class-wc-payment-gateway-wcpay.php:1757
647
  #. translators: %1: the failed capture amount
648
  msgid "A capture of %1$s <strong>failed</strong> to complete."
649
  msgstr ""
650
 
651
+ #: includes/class-wc-payment-gateway-wcpay.php:1813
652
  msgid "Payment authorization was successfully <strong>cancelled</strong>."
653
  msgstr ""
654
 
655
+ #: includes/class-wc-payment-gateway-wcpay.php:1821
656
  #. translators: %1: error message
657
  msgid ""
658
  "Canceling authorization <strong>failed</strong> to complete with the "
659
  "following message: <code>%1$s</code>."
660
  msgstr ""
661
 
662
+ #: includes/class-wc-payment-gateway-wcpay.php:1836
663
  msgid "Canceling authorization <strong>failed</strong> to complete."
664
  msgstr ""
665
 
666
+ #: includes/class-wc-payment-gateway-wcpay.php:1929
667
+ #: includes/payment-methods/class-upe-payment-gateway.php:136
668
+ #: includes/payment-methods/class-upe-payment-gateway.php:211
669
  msgid ""
670
  "We're not able to process this payment. Please refresh the page and try "
671
  "again."
672
  msgstr ""
673
 
674
+ #: includes/class-wc-payment-gateway-wcpay.php:1938
675
+ #: includes/class-wc-payment-gateway-wcpay.php:1951
676
+ #: includes/class-wc-payment-gateway-wcpay.php:1965
677
+ #: includes/payment-methods/class-upe-payment-gateway.php:519
678
  msgid "We're not able to process this payment. Please try again later."
679
  msgstr ""
680
 
681
+ #: includes/class-wc-payment-gateway-wcpay.php:1947
682
  #: includes/payment-methods/class-cc-payment-method.php:47
683
  #. translators: This will be used to indicate an unknown value for an ID.
684
  #: client/payment-details/payment-method/card-present/index.js:42
686
  msgid "unknown"
687
  msgstr ""
688
 
689
+ #: includes/class-wc-payment-gateway-wcpay.php:2031
690
  #. translators: %1: the authorized amount, %2: transaction ID of the payment
691
  msgid ""
692
  "A payment of %1$s <strong>failed</strong> using WooCommerce Payments "
693
  "(<a>%2$s</a>)."
694
  msgstr ""
695
 
696
+ #: includes/class-wc-payment-gateway-wcpay.php:2059
697
  #. translators: %1: the authorized amount, %2: transaction ID of the payment
698
  msgid ""
699
  "A payment of %1$s <strong>failed</strong> using WooCommerce Payments "
700
  "(<code>%2$s</code>)."
701
  msgstr ""
702
 
703
+ #: includes/class-wc-payment-gateway-wcpay.php:2110
704
  #. translators: %1: transaction ID of the payment or a translated string
705
  #. indicating an unknown ID.
706
  msgid ""
709
  "so it was ignored and the order was not updated."
710
  msgstr ""
711
 
712
+ #: includes/class-wc-payment-gateway-wcpay.php:2154
713
  msgid "A WooCommerce Payments payment method was not provided"
714
  msgstr ""
715
 
716
+ #: includes/class-wc-payment-gateway-wcpay.php:2166
717
  msgid "We're not able to add this payment method. Please try again later"
718
  msgstr ""
719
 
720
+ #: includes/class-wc-payment-gateway-wcpay.php:2175
721
  msgid "Failed to add the provided payment method. Please try again later"
722
  msgstr ""
723
 
724
+ #: includes/class-wc-payment-gateway-wcpay.php:2273
725
+ #: includes/payment-methods/class-upe-payment-gateway.php:278
726
  msgid ""
727
  "We're not able to add this payment method. Please refresh the page and try "
728
  "again."
1480
  msgid "Popular payment methods"
1481
  msgstr ""
1482
 
1483
+ #: includes/payment-methods/class-upe-payment-gateway.php:425
1484
  msgid "Payment method successfully added."
1485
  msgstr ""
1486
 
1487
+ #: includes/payment-methods/class-upe-payment-gateway.php:565
1488
  #. translators: localized exception message
1489
  msgid "UPE payment failed: %s"
1490
  msgstr ""
1491
 
1492
+ #: includes/payment-methods/class-upe-payment-gateway.php:726
1493
  #. translators: link to Stripe testing page
1494
  msgid ""
1495
  "<strong>Test mode:</strong> use the test VISA card 4242424242424242 with "
1498
  "<a>here</a>."
1499
  msgstr ""
1500
 
1501
+ #: includes/payment-methods/class-upe-payment-gateway.php:809
1502
  msgid "Unable to update UPE appearance values at this time."
1503
  msgstr ""
1504
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, payment, payment request, credit card, automattic
4
  Requires at least: 5.6
5
  Tested up to: 5.8.1
6
  Requires PHP: 7.0
7
- Stable tag: 3.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -98,6 +98,9 @@ Please note that our support for the checkout block is still experimental and th
98
 
99
  == Changelog ==
100
 
 
 
 
101
  = 3.2.2 - 2021-10-29 =
102
  * Fix - Multisite compatibility - don't load subscriptions-core if already loaded by another multisite plugin.
103
  * Fix - Errors when attempting to get the WooCommerce Subscriptions Core version during PayPal requests.
4
  Requires at least: 5.6
5
  Tested up to: 5.8.1
6
  Requires PHP: 7.0
7
+ Stable tag: 3.2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
98
 
99
  == Changelog ==
100
 
101
+ = 3.2.3 - 2021-11-01 =
102
+ * Fix - Card fields on checkout not shown when the 'Enable payments via saved cards' setting is disabled.
103
+
104
  = 3.2.2 - 2021-10-29 =
105
  * Fix - Multisite compatibility - don't load subscriptions-core if already loaded by another multisite plugin.
106
  * Fix - Errors when attempting to get the WooCommerce Subscriptions Core version during PayPal requests.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInite23918c00ac2cfd159e655b107d2bff1::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit522a778cab728fd24a7865ae23985279::getLoader();
vendor/autoload_packages.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInite23918c00ac2cfd159e655b107d2bff1
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInite23918c00ac2cfd159e655b107d2bff1
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInite23918c00ac2cfd159e655b107d2bff1', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInite23918c00ac2cfd159e655b107d2bff1', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInite23918c00ac2cfd159e655b107d2bff1::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit522a778cab728fd24a7865ae23985279
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit522a778cab728fd24a7865ae23985279', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit522a778cab728fd24a7865ae23985279', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit522a778cab728fd24a7865ae23985279::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInite23918c00ac2cfd159e655b107d2bff1
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
@@ -215,9 +215,9 @@ class ComposerStaticInite23918c00ac2cfd159e655b107d2bff1
215
  public static function getInitializer(ClassLoader $loader)
216
  {
217
  return \Closure::bind(function () use ($loader) {
218
- $loader->prefixLengthsPsr4 = ComposerStaticInite23918c00ac2cfd159e655b107d2bff1::$prefixLengthsPsr4;
219
- $loader->prefixDirsPsr4 = ComposerStaticInite23918c00ac2cfd159e655b107d2bff1::$prefixDirsPsr4;
220
- $loader->classMap = ComposerStaticInite23918c00ac2cfd159e655b107d2bff1::$classMap;
221
 
222
  }, null, ClassLoader::class);
223
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit522a778cab728fd24a7865ae23985279
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
215
  public static function getInitializer(ClassLoader $loader)
216
  {
217
  return \Closure::bind(function () use ($loader) {
218
+ $loader->prefixLengthsPsr4 = ComposerStaticInit522a778cab728fd24a7865ae23985279::$prefixLengthsPsr4;
219
+ $loader->prefixDirsPsr4 = ComposerStaticInit522a778cab728fd24a7865ae23985279::$prefixDirsPsr4;
220
+ $loader->classMap = ComposerStaticInit522a778cab728fd24a7865ae23985279::$classMap;
221
 
222
  }, null, ClassLoader::class);
223
  }
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '58a4078582ec4ef2a314d8029dbe1c3f9019d00a',
9
  'name' => 'woocommerce/payments',
10
  'dev' => false,
11
  ),
@@ -163,7 +163,7 @@
163
  'type' => 'wordpress-plugin',
164
  'install_path' => __DIR__ . '/../../',
165
  'aliases' => array(),
166
- 'reference' => '58a4078582ec4ef2a314d8029dbe1c3f9019d00a',
167
  'dev_requirement' => false,
168
  ),
169
  'woocommerce/subscriptions-core' => array(
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '2e8584d0e50c60405c128eeb66ca4ab68e5f14bc',
9
  'name' => 'woocommerce/payments',
10
  'dev' => false,
11
  ),
163
  'type' => 'wordpress-plugin',
164
  'install_path' => __DIR__ . '/../../',
165
  'aliases' => array(),
166
+ 'reference' => '2e8584d0e50c60405c128eeb66ca4ab68e5f14bc',
167
  'dev_requirement' => false,
168
  ),
169
  'woocommerce/subscriptions-core' => array(
vendor/jetpack-autoloader/class-autoloader-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-container.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-hook-manager.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-latest-autoloader-guard.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-manifest-reader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-path-processor.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugin-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugins-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-loader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-selector.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpe23918c00ac2cfd159e655b107d2bff1;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp522a778cab728fd24a7865ae23985279;
9
 
10
  // phpcs:ignore
11
 
woocommerce-payments.php CHANGED
@@ -11,7 +11,7 @@
11
  * WC requires at least: 4.4
12
  * WC tested up to: 5.8.0
13
  * Requires WP: 5.6
14
- * Version: 3.2.2
15
  *
16
  * @package WooCommerce\Payments
17
  */
11
  * WC requires at least: 4.4
12
  * WC tested up to: 5.8.0
13
  * Requires WP: 5.6
14
+ * Version: 3.2.3
15
  *
16
  * @package WooCommerce\Payments
17
  */