Payment Plugins for Stripe WooCommerce - Version 3.3.7

Version Description

  • Added - If locale is "fi" change to "fi-FI"
  • Added - Filter "wc_stripe_get_klarna_args"
  • Updated - PHP8, replace round with wc_format_decimal for GPay
Download this release

Release Info

Developer mr.clayton
Plugin Icon wp plugin Payment Plugins for Stripe WooCommerce
Version 3.3.7
Comparing to
See all releases

Code changes from version 3.3.6 to 3.3.7

i18n/languages/woo-stripe-payment.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Stripe For WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Stripe For WooCommerce 3.3.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-stripe-payment\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-07-23T02:27:54+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: woo-stripe-payment\n"
@@ -233,21 +233,21 @@ msgstr ""
233
 
234
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1556
235
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1587
236
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:230
237
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:291
238
  msgid "Shipping"
239
  msgstr ""
240
 
241
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1564
242
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1590
243
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:240
244
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:301
245
  msgid "Discount"
246
  msgstr ""
247
 
248
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1567
249
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:258
250
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:323
251
  msgid "Tax"
252
  msgstr ""
253
 
@@ -1235,31 +1235,31 @@ msgstr ""
1235
  msgid "If enabled, the payment option labels will use the Stripe translated text."
1236
  msgstr ""
1237
 
1238
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:250
1239
  msgid "Fee total"
1240
  msgstr ""
1241
 
1242
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:315
1243
  msgid "Fee"
1244
  msgstr ""
1245
 
1246
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:350
1247
  msgid "Pay Now"
1248
  msgstr ""
1249
 
1250
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:351
1251
  msgid "Pay Later"
1252
  msgstr ""
1253
 
1254
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:352
1255
  msgid "Pay Over Time"
1256
  msgstr ""
1257
 
1258
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:365
1259
  msgid "Click %1$shere%2$s for Klarna test payment methods."
1260
  msgstr ""
1261
 
1262
- #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:371
1263
  #: packages/blocks/assets/js/payment-methods/local-payment/klarna/hooks/use-process-payment.js:31
1264
  #: packages/blocks/build/commons.js:3985
1265
  msgid "Your purchase is not approved."
2
  # This file is distributed under the same license as the Stripe For WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Stripe For WooCommerce 3.3.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-stripe-payment\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2021-08-10T00:20:20+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: woo-stripe-payment\n"
233
 
234
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1556
235
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1587
236
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:233
237
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:294
238
  msgid "Shipping"
239
  msgstr ""
240
 
241
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1564
242
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1590
243
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:243
244
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:304
245
  msgid "Discount"
246
  msgstr ""
247
 
248
  #: includes/abstract/abstract-wc-payment-gateway-stripe.php:1567
249
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:261
250
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:326
251
  msgid "Tax"
252
  msgstr ""
253
 
1235
  msgid "If enabled, the payment option labels will use the Stripe translated text."
1236
  msgstr ""
1237
 
1238
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:253
1239
  msgid "Fee total"
1240
  msgstr ""
1241
 
1242
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:318
1243
  msgid "Fee"
1244
  msgstr ""
1245
 
1246
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:353
1247
  msgid "Pay Now"
1248
  msgstr ""
1249
 
1250
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:354
1251
  msgid "Pay Later"
1252
  msgstr ""
1253
 
1254
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:355
1255
  msgid "Pay Over Time"
1256
  msgstr ""
1257
 
1258
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:368
1259
  msgid "Click %1$shere%2$s for Klarna test payment methods."
1260
  msgstr ""
1261
 
1262
+ #: includes/gateways/class-wc-payment-gateway-stripe-klarna.php:374
1263
  #: packages/blocks/assets/js/payment-methods/local-payment/klarna/hooks/use-process-payment.js:31
1264
  #: packages/blocks/build/commons.js:3985
1265
  msgid "Your purchase is not approved."
includes/class-stripe.php CHANGED
@@ -25,7 +25,7 @@ class WC_Stripe_Manager {
25
  *
26
  * @var string
27
  */
28
- public $version = '3.3.6';
29
 
30
  /**
31
  *
25
  *
26
  * @var string
27
  */
28
+ public $version = '3.3.7';
29
 
30
  /**
31
  *
includes/controllers/class-wc-stripe-controller-googlepay.php CHANGED
@@ -131,7 +131,7 @@ class WC_Stripe_Controller_GooglePay extends WC_Stripe_Rest_Controller {
131
  'currencyCode' => get_woocommerce_currency(),
132
  'countryCode' => WC()->countries->get_base_country(),
133
  'totalPriceStatus' => 'FINAL',
134
- 'totalPrice' => strval( round( WC()->cart->total, 2 ) ),
135
  'displayItems' => $this->gateway->get_display_items(),
136
  'totalPriceLabel' => __( 'Total', 'woo-stripe-payment' ),
137
  ),
131
  'currencyCode' => get_woocommerce_currency(),
132
  'countryCode' => WC()->countries->get_base_country(),
133
  'totalPriceStatus' => 'FINAL',
134
+ 'totalPrice' => wc_format_decimal( WC()->cart->total, 2 ),
135
  'displayItems' => $this->gateway->get_display_items(),
136
  'totalPriceLabel' => __( 'Total', 'woo-stripe-payment' ),
137
  ),
includes/gateways/class-wc-payment-gateway-stripe-googlepay.php CHANGED
@@ -126,7 +126,7 @@ class WC_Payment_Gateway_Stripe_GooglePay extends WC_Payment_Gateway_Stripe {
126
  return array(
127
  'label' => $label,
128
  'type' => $type,
129
- 'price' => strval( round( $price, 2 ) )
130
  );
131
  }
132
 
@@ -134,7 +134,7 @@ class WC_Payment_Gateway_Stripe_GooglePay extends WC_Payment_Gateway_Stripe {
134
  return array(
135
  'label' => esc_attr( $product->get_name() ),
136
  'type' => 'SUBTOTAL',
137
- 'price' => strval( round( $product->get_price(), 2 ) )
138
  );
139
  }
140
 
@@ -151,7 +151,7 @@ class WC_Payment_Gateway_Stripe_GooglePay extends WC_Payment_Gateway_Stripe {
151
  return array(
152
  'label' => $label,
153
  'type' => $type,
154
- 'price' => strval( round( $price, 2 ) )
155
  );
156
  }
157
 
126
  return array(
127
  'label' => $label,
128
  'type' => $type,
129
+ 'price' => wc_format_decimal( $price, 2 )
130
  );
131
  }
132
 
134
  return array(
135
  'label' => esc_attr( $product->get_name() ),
136
  'type' => 'SUBTOTAL',
137
+ 'price' => wc_format_decimal( $product->get_price(), 2 )
138
  );
139
  }
140
 
151
  return array(
152
  'label' => $label,
153
  'type' => $type,
154
+ 'price' => wc_format_decimal( $price, 2 )
155
  );
156
  }
157
 
includes/gateways/class-wc-payment-gateway-stripe-klarna.php CHANGED
@@ -174,6 +174,9 @@ class WC_Payment_Gateway_Stripe_Klarna extends WC_Payment_Gateway_Stripe_Local_P
174
  $args['source_order'] = array();
175
 
176
  if ( ( $locale = get_locale() ) ) {
 
 
 
177
  $args['klarna']['locale'] = str_replace( '_', '-', substr( $locale, 0, 5 ) );
178
  }
179
 
@@ -196,7 +199,7 @@ class WC_Payment_Gateway_Stripe_Klarna extends WC_Payment_Gateway_Stripe_Local_P
196
  $this->add_klarna_line_items_from_cart( $args, WC()->cart, $currency );
197
  }
198
 
199
- return $args;
200
  }
201
 
202
  /**
174
  $args['source_order'] = array();
175
 
176
  if ( ( $locale = get_locale() ) ) {
177
+ if ( $locale == 'fi' ) {
178
+ $locale = 'fi-FI';
179
+ }
180
  $args['klarna']['locale'] = str_replace( '_', '-', substr( $locale, 0, 5 ) );
181
  }
182
 
199
  $this->add_klarna_line_items_from_cart( $args, WC()->cart, $currency );
200
  }
201
 
202
+ return apply_filters( 'wc_stripe_get_klarna_args', $args, $this );
203
  }
204
 
205
  /**
packages/blocks/assets/js/components/checkout/payment-method-label/style.scss CHANGED
@@ -2,6 +2,7 @@
2
  display: flex;
3
  align-items: center;
4
  flex-wrap: wrap;
 
5
 
6
  .wc-block-components-payment-method-label {
7
  flex: 0 1 auto;
2
  display: flex;
3
  align-items: center;
4
  flex-wrap: wrap;
5
+ width: 100%;
6
 
7
  .wc-block-components-payment-method-label {
8
  flex: 0 1 auto;
packages/blocks/assets/js/payment-methods/local-payment/styles.scss CHANGED
@@ -1,8 +1,15 @@
1
  .wc-stripe-label-container {
 
 
 
 
 
 
2
  &.stripe_ideal {
3
  img {
4
  &.wc-block-components-payment-method-icon--stripe_ideal {
5
  height: 29px;
 
6
  }
7
 
8
  }
@@ -12,6 +19,7 @@
12
  img {
13
  &.wc-block-components-payment-method-icon--stripe_p24 {
14
  height: 25px;
 
15
  }
16
 
17
  }
@@ -21,6 +29,7 @@
21
  img {
22
  &.wc-block-components-payment-method-icon--stripe_bancontact {
23
  height: 26px;
 
24
  }
25
 
26
  }
@@ -30,6 +39,7 @@
30
  img {
31
  &.wc-block-components-payment-method-icon--stripe_eps {
32
  height: 34px;
 
33
  }
34
 
35
  }
@@ -39,6 +49,7 @@
39
  img {
40
  &.wc-block-components-payment-method-icon--stripe_multibanco {
41
  height: 45px;
 
42
  }
43
 
44
  }
@@ -48,6 +59,7 @@
48
  img {
49
  &.wc-block-components-payment-method-icon--stripe_sepa {
50
  height: 17px;
 
51
  }
52
 
53
  }
@@ -57,6 +69,7 @@
57
  img {
58
  &.wc-block-components-payment-method-icon--stripe_sofort {
59
  height: 22px;
 
60
  }
61
 
62
  }
@@ -66,6 +79,7 @@
66
  img {
67
  &.wc-block-components-payment-method-icon--stripe_fpx {
68
  height: 22px;
 
69
  }
70
 
71
  }
@@ -75,6 +89,7 @@
75
  img {
76
  &.wc-block-components-payment-method-icon--stripe_alipay {
77
  height: 25px;
 
78
  }
79
 
80
  }
@@ -84,6 +99,8 @@
84
  img {
85
  &.wc-block-components-payment-method-icon--stripe_klarna {
86
  height: 26px;
 
 
87
  }
88
 
89
  }
1
  .wc-stripe-label-container {
2
+ .wc-block-components-payment-method-icons {
3
+ .wc-block-components-payment-method-icon {
4
+ max-width: 100% !important;
5
+ }
6
+ }
7
+
8
  &.stripe_ideal {
9
  img {
10
  &.wc-block-components-payment-method-icon--stripe_ideal {
11
  height: 29px;
12
+ max-height: 29px;
13
  }
14
 
15
  }
19
  img {
20
  &.wc-block-components-payment-method-icon--stripe_p24 {
21
  height: 25px;
22
+ max-height: 25px;
23
  }
24
 
25
  }
29
  img {
30
  &.wc-block-components-payment-method-icon--stripe_bancontact {
31
  height: 26px;
32
+ max-height: 26px;
33
  }
34
 
35
  }
39
  img {
40
  &.wc-block-components-payment-method-icon--stripe_eps {
41
  height: 34px;
42
+ max-height: 34px;
43
  }
44
 
45
  }
49
  img {
50
  &.wc-block-components-payment-method-icon--stripe_multibanco {
51
  height: 45px;
52
+ max-height: 45px;
53
  }
54
 
55
  }
59
  img {
60
  &.wc-block-components-payment-method-icon--stripe_sepa {
61
  height: 17px;
62
+ max-height: 17px;
63
  }
64
 
65
  }
69
  img {
70
  &.wc-block-components-payment-method-icon--stripe_sofort {
71
  height: 22px;
72
+ max-height: 22px;
73
  }
74
 
75
  }
79
  img {
80
  &.wc-block-components-payment-method-icon--stripe_fpx {
81
  height: 22px;
82
+ max-height: 22px;
83
  }
84
 
85
  }
89
  img {
90
  &.wc-block-components-payment-method-icon--stripe_alipay {
91
  height: 25px;
92
+ max-height: 25px;
93
  }
94
 
95
  }
99
  img {
100
  &.wc-block-components-payment-method-icon--stripe_klarna {
101
  height: 26px;
102
+ max-height: 26px;
103
+ max-width: 48px;
104
  }
105
 
106
  }
packages/blocks/build/style-rtl.css CHANGED
@@ -1 +1 @@
1
- .wc-stripe-express__sm li[id^=express-payment-method-stripe_]{padding-right:0!important;padding-left:0!important;width:100%}.wc-stripe-express__sm li[id^=express-payment-method-stripe_]:nth-child(n+2),ul:not(.wc-stripe-express__sm) li[id^=express-payment-method-stripe_]:nth-child(n+3){margin-top:10px}.wc-stripe-save-payment-method{align-items:center;display:flex;flex-wrap:wrap;margin-top:1em}.wc-stripe-save-payment-method input[type=checkbox]{height:20px;opacity:0;position:absolute;width:20px}.wc-stripe-save-payment-method input[type=checkbox]:checked+svg{display:block;height:auto}.wc-stripe-save-payment-method span{margin-right:5px}.wc-stripe-save-payment-method label{background-color:#fff;border:1px solid #bababa;border-radius:3px;display:block;height:20px;margin:0;padding:0;position:relative;width:20px}.wc-stripe-save-payment-method svg{display:none}.wc-stripe-label-container{align-items:center;display:flex;flex-wrap:wrap}.wc-stripe-label-container .wc-block-components-payment-method-label{flex:0 1 auto}.wc-stripe-label-container .wc-block-components-payment-method-icons{display:flex;flex:1 1 auto;justify-content:flex-end}.wc-stripe-blocks-payment-method__desc+.wc-stripe-blocks-payment-method-content{margin-top:10px}.wc-stripe-blocks-payment-method__desc+.wc-stripe-blocks-payment-method-content.no-content{margin-top:0}.wc-stripe-blocks-radio-control__option{align-items:center;display:flex}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__label{margin-right:10px}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__input{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:#fff;border:2px solid #50575e;border-radius:50%;display:inline-block;min-height:15px;min-width:15px;position:relative}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__input:checked:before{background:#000;border-radius:50%;content:"";display:block;right:50%;min-height:8px;min-width:8px;position:absolute;top:50%;transform:translate(50%,-50%)}.wc-stripe-label-container.stripe_ach img.wc-block-components-payment-method-icon--stripe_ach{height:25px}.wc-stripe-blocks-ach__creds{margin-top:10px}.wc-stripe-blocks-ach__creds .wc-stripe-blocks-ach__creds-label{font-weight:700}@supports(-webkit-appearance:-apple-pay-button){.wc-stripe-apple-pay-container .apple-pay-button{-webkit-appearance:-apple-pay-button!important;height:40px;max-height:40px;max-width:100%;min-width:200px;width:100%}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-black{-apple-pay-button-style:#000}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-white{-apple-pay-button-style:#fff}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-white-with-line{-apple-pay-button-style:white-outline}}.apple-pay-block-editor{align-items:center;background-color:#000;border-radius:4px;display:flex;height:40px;justify-content:center;width:100%}.apple-pay-block-editor img{height:100%;max-height:40px}.wc-stripe-inline-form{border:1px solid #e0e0e0;border-radius:2px;padding:10px 8px}.wc-stripe-card-container+.wc-block-components-payment-methods__save-card-info,.wc-stripe-save-payment-method+.wc-block-components-payment-methods__save-card-info{display:none}.wc-stripe-custom-form-error{color:#cc1818;font-size:16px;width:100%}.wc-stripe-custom-form .wc-stripe-card{bottom:7px;height:20px;position:absolute;left:0;width:32px}.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label img.wc-block-components-payment-method-icon--stripe_googlepay_icon,.wc-stripe-label-container .wc-block-components-payment-method-icon--stripe_googlepay_icon{height:26px}.wc-stripe-gpay-container .wc-stripe-gpay-button-container .gpay-card-info-container-fill button.long{min-width:200px}.wc-stripe-gpay-container .wc-block-components-validation-error{margin-top:5px;position:relative}.gpay-block-editor{align-items:center;background-color:#000;border-radius:4px;display:flex;height:40px;justify-content:center;overflow:hidden;width:100%}.gpay-block-editor img{max-height:40px}.wc-stripe-klarna-loader{box-sizing:border-box;display:flex;height:30px;justify-content:center;position:relative;transform:scale(.65);width:100%}.wc-stripe-klarna-loader div{animation:klarna-payments-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-radius:50%;border:3px solid transparent;border-top-color:#000;box-sizing:border-box;display:block;height:30px;position:absolute;width:30px}.wc-stripe-klarna-loader div:first-child{animation-delay:-.45s}.wc-stripe-klarna-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-klarna-loader div:nth-child(3){animation-delay:-.15s}@keyframes klarna-payments-loader{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wc-stripe-blocks-klarna-container ul{list-style:none;margin:0;padding:0}.wc-stripe-blocks-klarna-container .wc-stripe-blocks-radio-accordion .wc-stripe-blocks-radio-accordion__content{display:none}.wc-stripe-blocks-klarna-container .wc-stripe-blocks-radio-accordion .wc-stripe-blocks-radio-accordion__content.wc-stripe-blocks-radio-accordion__content-visible{display:block}.wc-stripe-label-container.stripe_ideal img.wc-block-components-payment-method-icon--stripe_ideal{height:29px}.wc-stripe-label-container.stripe_p24 img.wc-block-components-payment-method-icon--stripe_p24{height:25px}.wc-stripe-label-container.stripe_bancontact img.wc-block-components-payment-method-icon--stripe_bancontact{height:26px}.wc-stripe-label-container.stripe_eps img.wc-block-components-payment-method-icon--stripe_eps{height:34px}.wc-stripe-label-container.stripe_multibanco img.wc-block-components-payment-method-icon--stripe_multibanco{height:45px}.wc-stripe-label-container.stripe_sepa img.wc-block-components-payment-method-icon--stripe_sepa{height:17px}.wc-stripe-label-container.stripe_fpx img.wc-block-components-payment-method-icon--stripe_fpx,.wc-stripe-label-container.stripe_sofort img.wc-block-components-payment-method-icon--stripe_sofort{height:22px}.wc-stripe-label-container.stripe_alipay img.wc-block-components-payment-method-icon--stripe_alipay{height:25px}.wc-stripe-label-container.stripe_klarna img.wc-block-components-payment-method-icon--stripe_klarna{height:26px}.wc-stripe-local-payment-container{align-items:center;border:1px solid #dadce0;border-radius:4px;display:flex;min-height:42px}.wc-stripe-local-payment-container.AuBankAccountElement,.wc-stripe-local-payment-container.IbanElement{padding-right:10px}.wc-stripe-local-payment-container .StripeElement{flex:1}#wc-stripe-block-qrcode+p{margin-top:5px}.wechat-validation-error .wc-block-components-validation-error{position:relative}.wc-stripe-blocks-afterpay-offsite__container{display:flex;justify-content:center;width:100%}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite{display:flex;flex-wrap:wrap;font-size:16px;justify-content:center;max-width:320px;text-align:center}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite img{max-width:105px}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite p{margin:1em 0 0;width:100%}.wc-stripe-blocks-afterpay__label .AfterpayMessage{margin-bottom:0!important;margin-top:0!important}.wc-stripe-blocks-afterpay__label .AfterpayMessage-logoSvg{display:inline-block;max-width:90px}.wc-stripe-blocks-afterpay__label .AfterpayMessage-learnMore{font-size:16px;vertical-align:middle}.payment-request-block-editor{align-items:center;background-color:#32325d;border-radius:4px;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:16px;font-weight:600;height:40px;justify-content:center}.payment-request-block-editor .icon-container{align-items:center;display:flex;position:relative}.payment-request-block-editor .icon-container span{margin-bottom:5px}.payment-request-block-editor .icon-container canvas.PaymentRequestButton-icon{-ms-flex-negative:0;-webkit-flex-shrink:0;flex-shrink:0;height:20px;margin:0 7px -1px -1px;position:relative;width:20px;will-change:opacity;z-index:10}.payment-request-block-editor .icon-container .payment-request-arrow{border-bottom:4px solid;border-left:4px solid;height:12px;position:absolute;left:8px;transform:rotate(45deg);width:12px;z-index:99}
1
+ .wc-stripe-express__sm li[id^=express-payment-method-stripe_]{padding-right:0!important;padding-left:0!important;width:100%}.wc-stripe-express__sm li[id^=express-payment-method-stripe_]:nth-child(n+2),ul:not(.wc-stripe-express__sm) li[id^=express-payment-method-stripe_]:nth-child(n+3){margin-top:10px}.wc-stripe-save-payment-method{align-items:center;display:flex;flex-wrap:wrap;margin-top:1em}.wc-stripe-save-payment-method input[type=checkbox]{height:20px;opacity:0;position:absolute;width:20px}.wc-stripe-save-payment-method input[type=checkbox]:checked+svg{display:block;height:auto}.wc-stripe-save-payment-method span{margin-right:5px}.wc-stripe-save-payment-method label{background-color:#fff;border:1px solid #bababa;border-radius:3px;display:block;height:20px;margin:0;padding:0;position:relative;width:20px}.wc-stripe-save-payment-method svg{display:none}.wc-stripe-label-container{align-items:center;display:flex;flex-wrap:wrap;width:100%}.wc-stripe-label-container .wc-block-components-payment-method-label{flex:0 1 auto}.wc-stripe-label-container .wc-block-components-payment-method-icons{display:flex;flex:1 1 auto;justify-content:flex-end}.wc-stripe-blocks-payment-method__desc+.wc-stripe-blocks-payment-method-content{margin-top:10px}.wc-stripe-blocks-payment-method__desc+.wc-stripe-blocks-payment-method-content.no-content{margin-top:0}.wc-stripe-blocks-radio-control__option{align-items:center;display:flex}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__label{margin-right:10px}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__input{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:#fff;border:2px solid #50575e;border-radius:50%;display:inline-block;min-height:15px;min-width:15px;position:relative}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__input:checked:before{background:#000;border-radius:50%;content:"";display:block;right:50%;min-height:8px;min-width:8px;position:absolute;top:50%;transform:translate(50%,-50%)}.wc-stripe-label-container.stripe_ach img.wc-block-components-payment-method-icon--stripe_ach{height:25px}.wc-stripe-blocks-ach__creds{margin-top:10px}.wc-stripe-blocks-ach__creds .wc-stripe-blocks-ach__creds-label{font-weight:700}@supports(-webkit-appearance:-apple-pay-button){.wc-stripe-apple-pay-container .apple-pay-button{-webkit-appearance:-apple-pay-button!important;height:40px;max-height:40px;max-width:100%;min-width:200px;width:100%}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-black{-apple-pay-button-style:#000}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-white{-apple-pay-button-style:#fff}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-white-with-line{-apple-pay-button-style:white-outline}}.apple-pay-block-editor{align-items:center;background-color:#000;border-radius:4px;display:flex;height:40px;justify-content:center;width:100%}.apple-pay-block-editor img{height:100%;max-height:40px}.wc-stripe-inline-form{border:1px solid #e0e0e0;border-radius:2px;padding:10px 8px}.wc-stripe-card-container+.wc-block-components-payment-methods__save-card-info,.wc-stripe-save-payment-method+.wc-block-components-payment-methods__save-card-info{display:none}.wc-stripe-custom-form-error{color:#cc1818;font-size:16px;width:100%}.wc-stripe-custom-form .wc-stripe-card{bottom:7px;height:20px;position:absolute;left:0;width:32px}.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label img.wc-block-components-payment-method-icon--stripe_googlepay_icon,.wc-stripe-label-container .wc-block-components-payment-method-icon--stripe_googlepay_icon{height:26px}.wc-stripe-gpay-container .wc-stripe-gpay-button-container .gpay-card-info-container-fill button.long{min-width:200px}.wc-stripe-gpay-container .wc-block-components-validation-error{margin-top:5px;position:relative}.gpay-block-editor{align-items:center;background-color:#000;border-radius:4px;display:flex;height:40px;justify-content:center;overflow:hidden;width:100%}.gpay-block-editor img{max-height:40px}.wc-stripe-klarna-loader{box-sizing:border-box;display:flex;height:30px;justify-content:center;position:relative;transform:scale(.65);width:100%}.wc-stripe-klarna-loader div{animation:klarna-payments-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-radius:50%;border:3px solid transparent;border-top-color:#000;box-sizing:border-box;display:block;height:30px;position:absolute;width:30px}.wc-stripe-klarna-loader div:first-child{animation-delay:-.45s}.wc-stripe-klarna-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-klarna-loader div:nth-child(3){animation-delay:-.15s}@keyframes klarna-payments-loader{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.wc-stripe-blocks-klarna-container ul{list-style:none;margin:0;padding:0}.wc-stripe-blocks-klarna-container .wc-stripe-blocks-radio-accordion .wc-stripe-blocks-radio-accordion__content{display:none}.wc-stripe-blocks-klarna-container .wc-stripe-blocks-radio-accordion .wc-stripe-blocks-radio-accordion__content.wc-stripe-blocks-radio-accordion__content-visible{display:block}.wc-stripe-label-container .wc-block-components-payment-method-icons .wc-block-components-payment-method-icon{max-width:100%!important}.wc-stripe-label-container.stripe_ideal img.wc-block-components-payment-method-icon--stripe_ideal{height:29px;max-height:29px}.wc-stripe-label-container.stripe_p24 img.wc-block-components-payment-method-icon--stripe_p24{height:25px;max-height:25px}.wc-stripe-label-container.stripe_bancontact img.wc-block-components-payment-method-icon--stripe_bancontact{height:26px;max-height:26px}.wc-stripe-label-container.stripe_eps img.wc-block-components-payment-method-icon--stripe_eps{height:34px;max-height:34px}.wc-stripe-label-container.stripe_multibanco img.wc-block-components-payment-method-icon--stripe_multibanco{height:45px;max-height:45px}.wc-stripe-label-container.stripe_sepa img.wc-block-components-payment-method-icon--stripe_sepa{height:17px;max-height:17px}.wc-stripe-label-container.stripe_fpx img.wc-block-components-payment-method-icon--stripe_fpx,.wc-stripe-label-container.stripe_sofort img.wc-block-components-payment-method-icon--stripe_sofort{height:22px;max-height:22px}.wc-stripe-label-container.stripe_alipay img.wc-block-components-payment-method-icon--stripe_alipay{height:25px;max-height:25px}.wc-stripe-label-container.stripe_klarna img.wc-block-components-payment-method-icon--stripe_klarna{height:26px;max-height:26px;max-width:48px}.wc-stripe-local-payment-container{align-items:center;border:1px solid #dadce0;border-radius:4px;display:flex;min-height:42px}.wc-stripe-local-payment-container.AuBankAccountElement,.wc-stripe-local-payment-container.IbanElement{padding-right:10px}.wc-stripe-local-payment-container .StripeElement{flex:1}#wc-stripe-block-qrcode+p{margin-top:5px}.wechat-validation-error .wc-block-components-validation-error{position:relative}.wc-stripe-blocks-afterpay-offsite__container{display:flex;justify-content:center;width:100%}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite{display:flex;flex-wrap:wrap;font-size:16px;justify-content:center;max-width:320px;text-align:center}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite img{max-width:105px}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite p{margin:1em 0 0;width:100%}.wc-stripe-blocks-afterpay__label .AfterpayMessage{margin-bottom:0!important;margin-top:0!important}.wc-stripe-blocks-afterpay__label .AfterpayMessage-logoSvg{display:inline-block;max-width:90px}.wc-stripe-blocks-afterpay__label .AfterpayMessage-learnMore{font-size:16px;vertical-align:middle}.payment-request-block-editor{align-items:center;background-color:#32325d;border-radius:4px;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:16px;font-weight:600;height:40px;justify-content:center}.payment-request-block-editor .icon-container{align-items:center;display:flex;position:relative}.payment-request-block-editor .icon-container span{margin-bottom:5px}.payment-request-block-editor .icon-container canvas.PaymentRequestButton-icon{-ms-flex-negative:0;-webkit-flex-shrink:0;flex-shrink:0;height:20px;margin:0 7px -1px -1px;position:relative;width:20px;will-change:opacity;z-index:10}.payment-request-block-editor .icon-container .payment-request-arrow{border-bottom:4px solid;border-left:4px solid;height:12px;position:absolute;left:8px;transform:rotate(45deg);width:12px;z-index:99}
packages/blocks/build/style.css CHANGED
@@ -1 +1 @@
1
- .wc-stripe-express__sm li[id^=express-payment-method-stripe_]{padding-left:0!important;padding-right:0!important;width:100%}.wc-stripe-express__sm li[id^=express-payment-method-stripe_]:nth-child(n+2),ul:not(.wc-stripe-express__sm) li[id^=express-payment-method-stripe_]:nth-child(n+3){margin-top:10px}.wc-stripe-save-payment-method{align-items:center;display:flex;flex-wrap:wrap;margin-top:1em}.wc-stripe-save-payment-method input[type=checkbox]{height:20px;opacity:0;position:absolute;width:20px}.wc-stripe-save-payment-method input[type=checkbox]:checked+svg{display:block;height:auto}.wc-stripe-save-payment-method span{margin-left:5px}.wc-stripe-save-payment-method label{background-color:#fff;border:1px solid #bababa;border-radius:3px;display:block;height:20px;margin:0;padding:0;position:relative;width:20px}.wc-stripe-save-payment-method svg{display:none}.wc-stripe-label-container{align-items:center;display:flex;flex-wrap:wrap}.wc-stripe-label-container .wc-block-components-payment-method-label{flex:0 1 auto}.wc-stripe-label-container .wc-block-components-payment-method-icons{display:flex;flex:1 1 auto;justify-content:flex-end}.wc-stripe-blocks-payment-method__desc+.wc-stripe-blocks-payment-method-content{margin-top:10px}.wc-stripe-blocks-payment-method__desc+.wc-stripe-blocks-payment-method-content.no-content{margin-top:0}.wc-stripe-blocks-radio-control__option{align-items:center;display:flex}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__label{margin-left:10px}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__input{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:#fff;border:2px solid #50575e;border-radius:50%;display:inline-block;min-height:15px;min-width:15px;position:relative}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__input:checked:before{background:#000;border-radius:50%;content:"";display:block;left:50%;min-height:8px;min-width:8px;position:absolute;top:50%;transform:translate(-50%,-50%)}.wc-stripe-label-container.stripe_ach img.wc-block-components-payment-method-icon--stripe_ach{height:25px}.wc-stripe-blocks-ach__creds{margin-top:10px}.wc-stripe-blocks-ach__creds .wc-stripe-blocks-ach__creds-label{font-weight:700}@supports(-webkit-appearance:-apple-pay-button){.wc-stripe-apple-pay-container .apple-pay-button{-webkit-appearance:-apple-pay-button!important;height:40px;max-height:40px;max-width:100%;min-width:200px;width:100%}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-black{-apple-pay-button-style:#000}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-white{-apple-pay-button-style:#fff}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-white-with-line{-apple-pay-button-style:white-outline}}.apple-pay-block-editor{align-items:center;background-color:#000;border-radius:4px;display:flex;height:40px;justify-content:center;width:100%}.apple-pay-block-editor img{height:100%;max-height:40px}.wc-stripe-inline-form{border:1px solid #e0e0e0;border-radius:2px;padding:10px 8px}.wc-stripe-card-container+.wc-block-components-payment-methods__save-card-info,.wc-stripe-save-payment-method+.wc-block-components-payment-methods__save-card-info{display:none}.wc-stripe-custom-form-error{color:#cc1818;font-size:16px;width:100%}.wc-stripe-custom-form .wc-stripe-card{bottom:7px;height:20px;position:absolute;right:0;width:32px}.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label img.wc-block-components-payment-method-icon--stripe_googlepay_icon,.wc-stripe-label-container .wc-block-components-payment-method-icon--stripe_googlepay_icon{height:26px}.wc-stripe-gpay-container .wc-stripe-gpay-button-container .gpay-card-info-container-fill button.long{min-width:200px}.wc-stripe-gpay-container .wc-block-components-validation-error{margin-top:5px;position:relative}.gpay-block-editor{align-items:center;background-color:#000;border-radius:4px;display:flex;height:40px;justify-content:center;overflow:hidden;width:100%}.gpay-block-editor img{max-height:40px}.wc-stripe-klarna-loader{box-sizing:border-box;display:flex;height:30px;justify-content:center;position:relative;transform:scale(.65);width:100%}.wc-stripe-klarna-loader div{animation:klarna-payments-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-radius:50%;border:3px solid transparent;border-top-color:#000;box-sizing:border-box;display:block;height:30px;position:absolute;width:30px}.wc-stripe-klarna-loader div:first-child{animation-delay:-.45s}.wc-stripe-klarna-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-klarna-loader div:nth-child(3){animation-delay:-.15s}@keyframes klarna-payments-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wc-stripe-blocks-klarna-container ul{list-style:none;margin:0;padding:0}.wc-stripe-blocks-klarna-container .wc-stripe-blocks-radio-accordion .wc-stripe-blocks-radio-accordion__content{display:none}.wc-stripe-blocks-klarna-container .wc-stripe-blocks-radio-accordion .wc-stripe-blocks-radio-accordion__content.wc-stripe-blocks-radio-accordion__content-visible{display:block}.wc-stripe-label-container.stripe_ideal img.wc-block-components-payment-method-icon--stripe_ideal{height:29px}.wc-stripe-label-container.stripe_p24 img.wc-block-components-payment-method-icon--stripe_p24{height:25px}.wc-stripe-label-container.stripe_bancontact img.wc-block-components-payment-method-icon--stripe_bancontact{height:26px}.wc-stripe-label-container.stripe_eps img.wc-block-components-payment-method-icon--stripe_eps{height:34px}.wc-stripe-label-container.stripe_multibanco img.wc-block-components-payment-method-icon--stripe_multibanco{height:45px}.wc-stripe-label-container.stripe_sepa img.wc-block-components-payment-method-icon--stripe_sepa{height:17px}.wc-stripe-label-container.stripe_fpx img.wc-block-components-payment-method-icon--stripe_fpx,.wc-stripe-label-container.stripe_sofort img.wc-block-components-payment-method-icon--stripe_sofort{height:22px}.wc-stripe-label-container.stripe_alipay img.wc-block-components-payment-method-icon--stripe_alipay{height:25px}.wc-stripe-label-container.stripe_klarna img.wc-block-components-payment-method-icon--stripe_klarna{height:26px}.wc-stripe-local-payment-container{align-items:center;border:1px solid #dadce0;border-radius:4px;display:flex;min-height:42px}.wc-stripe-local-payment-container.AuBankAccountElement,.wc-stripe-local-payment-container.IbanElement{padding-left:10px}.wc-stripe-local-payment-container .StripeElement{flex:1}#wc-stripe-block-qrcode+p{margin-top:5px}.wechat-validation-error .wc-block-components-validation-error{position:relative}.wc-stripe-blocks-afterpay-offsite__container{display:flex;justify-content:center;width:100%}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite{display:flex;flex-wrap:wrap;font-size:16px;justify-content:center;max-width:320px;text-align:center}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite img{max-width:105px}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite p{margin:1em 0 0;width:100%}.wc-stripe-blocks-afterpay__label .AfterpayMessage{margin-bottom:0!important;margin-top:0!important}.wc-stripe-blocks-afterpay__label .AfterpayMessage-logoSvg{display:inline-block;max-width:90px}.wc-stripe-blocks-afterpay__label .AfterpayMessage-learnMore{font-size:16px;vertical-align:middle}.payment-request-block-editor{align-items:center;background-color:#32325d;border-radius:4px;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:16px;font-weight:600;height:40px;justify-content:center}.payment-request-block-editor .icon-container{align-items:center;display:flex;position:relative}.payment-request-block-editor .icon-container span{margin-bottom:5px}.payment-request-block-editor .icon-container canvas.PaymentRequestButton-icon{-ms-flex-negative:0;-webkit-flex-shrink:0;flex-shrink:0;height:20px;margin:0 -1px -1px 7px;position:relative;width:20px;will-change:opacity;z-index:10}.payment-request-block-editor .icon-container .payment-request-arrow{border-bottom:4px solid;border-right:4px solid;height:12px;position:absolute;right:8px;transform:rotate(-45deg);width:12px;z-index:99}
1
+ .wc-stripe-express__sm li[id^=express-payment-method-stripe_]{padding-left:0!important;padding-right:0!important;width:100%}.wc-stripe-express__sm li[id^=express-payment-method-stripe_]:nth-child(n+2),ul:not(.wc-stripe-express__sm) li[id^=express-payment-method-stripe_]:nth-child(n+3){margin-top:10px}.wc-stripe-save-payment-method{align-items:center;display:flex;flex-wrap:wrap;margin-top:1em}.wc-stripe-save-payment-method input[type=checkbox]{height:20px;opacity:0;position:absolute;width:20px}.wc-stripe-save-payment-method input[type=checkbox]:checked+svg{display:block;height:auto}.wc-stripe-save-payment-method span{margin-left:5px}.wc-stripe-save-payment-method label{background-color:#fff;border:1px solid #bababa;border-radius:3px;display:block;height:20px;margin:0;padding:0;position:relative;width:20px}.wc-stripe-save-payment-method svg{display:none}.wc-stripe-label-container{align-items:center;display:flex;flex-wrap:wrap;width:100%}.wc-stripe-label-container .wc-block-components-payment-method-label{flex:0 1 auto}.wc-stripe-label-container .wc-block-components-payment-method-icons{display:flex;flex:1 1 auto;justify-content:flex-end}.wc-stripe-blocks-payment-method__desc+.wc-stripe-blocks-payment-method-content{margin-top:10px}.wc-stripe-blocks-payment-method__desc+.wc-stripe-blocks-payment-method-content.no-content{margin-top:0}.wc-stripe-blocks-radio-control__option{align-items:center;display:flex}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__label{margin-left:10px}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__input{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:#fff;border:2px solid #50575e;border-radius:50%;display:inline-block;min-height:15px;min-width:15px;position:relative}.wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__input:checked:before{background:#000;border-radius:50%;content:"";display:block;left:50%;min-height:8px;min-width:8px;position:absolute;top:50%;transform:translate(-50%,-50%)}.wc-stripe-label-container.stripe_ach img.wc-block-components-payment-method-icon--stripe_ach{height:25px}.wc-stripe-blocks-ach__creds{margin-top:10px}.wc-stripe-blocks-ach__creds .wc-stripe-blocks-ach__creds-label{font-weight:700}@supports(-webkit-appearance:-apple-pay-button){.wc-stripe-apple-pay-container .apple-pay-button{-webkit-appearance:-apple-pay-button!important;height:40px;max-height:40px;max-width:100%;min-width:200px;width:100%}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-black{-apple-pay-button-style:#000}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-white{-apple-pay-button-style:#fff}.wc-stripe-apple-pay-container .apple-pay-button.apple-pay-button-white-with-line{-apple-pay-button-style:white-outline}}.apple-pay-block-editor{align-items:center;background-color:#000;border-radius:4px;display:flex;height:40px;justify-content:center;width:100%}.apple-pay-block-editor img{height:100%;max-height:40px}.wc-stripe-inline-form{border:1px solid #e0e0e0;border-radius:2px;padding:10px 8px}.wc-stripe-card-container+.wc-block-components-payment-methods__save-card-info,.wc-stripe-save-payment-method+.wc-block-components-payment-methods__save-card-info{display:none}.wc-stripe-custom-form-error{color:#cc1818;font-size:16px;width:100%}.wc-stripe-custom-form .wc-stripe-card{bottom:7px;height:20px;position:absolute;right:0;width:32px}.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label img.wc-block-components-payment-method-icon--stripe_googlepay_icon,.wc-stripe-label-container .wc-block-components-payment-method-icon--stripe_googlepay_icon{height:26px}.wc-stripe-gpay-container .wc-stripe-gpay-button-container .gpay-card-info-container-fill button.long{min-width:200px}.wc-stripe-gpay-container .wc-block-components-validation-error{margin-top:5px;position:relative}.gpay-block-editor{align-items:center;background-color:#000;border-radius:4px;display:flex;height:40px;justify-content:center;overflow:hidden;width:100%}.gpay-block-editor img{max-height:40px}.wc-stripe-klarna-loader{box-sizing:border-box;display:flex;height:30px;justify-content:center;position:relative;transform:scale(.65);width:100%}.wc-stripe-klarna-loader div{animation:klarna-payments-loader 1.3s cubic-bezier(.5,0,.5,1) infinite;border-radius:50%;border:3px solid transparent;border-top-color:#000;box-sizing:border-box;display:block;height:30px;position:absolute;width:30px}.wc-stripe-klarna-loader div:first-child{animation-delay:-.45s}.wc-stripe-klarna-loader div:nth-child(2){animation-delay:-.3s}.wc-stripe-klarna-loader div:nth-child(3){animation-delay:-.15s}@keyframes klarna-payments-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wc-stripe-blocks-klarna-container ul{list-style:none;margin:0;padding:0}.wc-stripe-blocks-klarna-container .wc-stripe-blocks-radio-accordion .wc-stripe-blocks-radio-accordion__content{display:none}.wc-stripe-blocks-klarna-container .wc-stripe-blocks-radio-accordion .wc-stripe-blocks-radio-accordion__content.wc-stripe-blocks-radio-accordion__content-visible{display:block}.wc-stripe-label-container .wc-block-components-payment-method-icons .wc-block-components-payment-method-icon{max-width:100%!important}.wc-stripe-label-container.stripe_ideal img.wc-block-components-payment-method-icon--stripe_ideal{height:29px;max-height:29px}.wc-stripe-label-container.stripe_p24 img.wc-block-components-payment-method-icon--stripe_p24{height:25px;max-height:25px}.wc-stripe-label-container.stripe_bancontact img.wc-block-components-payment-method-icon--stripe_bancontact{height:26px;max-height:26px}.wc-stripe-label-container.stripe_eps img.wc-block-components-payment-method-icon--stripe_eps{height:34px;max-height:34px}.wc-stripe-label-container.stripe_multibanco img.wc-block-components-payment-method-icon--stripe_multibanco{height:45px;max-height:45px}.wc-stripe-label-container.stripe_sepa img.wc-block-components-payment-method-icon--stripe_sepa{height:17px;max-height:17px}.wc-stripe-label-container.stripe_fpx img.wc-block-components-payment-method-icon--stripe_fpx,.wc-stripe-label-container.stripe_sofort img.wc-block-components-payment-method-icon--stripe_sofort{height:22px;max-height:22px}.wc-stripe-label-container.stripe_alipay img.wc-block-components-payment-method-icon--stripe_alipay{height:25px;max-height:25px}.wc-stripe-label-container.stripe_klarna img.wc-block-components-payment-method-icon--stripe_klarna{height:26px;max-height:26px;max-width:48px}.wc-stripe-local-payment-container{align-items:center;border:1px solid #dadce0;border-radius:4px;display:flex;min-height:42px}.wc-stripe-local-payment-container.AuBankAccountElement,.wc-stripe-local-payment-container.IbanElement{padding-left:10px}.wc-stripe-local-payment-container .StripeElement{flex:1}#wc-stripe-block-qrcode+p{margin-top:5px}.wechat-validation-error .wc-block-components-validation-error{position:relative}.wc-stripe-blocks-afterpay-offsite__container{display:flex;justify-content:center;width:100%}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite{display:flex;flex-wrap:wrap;font-size:16px;justify-content:center;max-width:320px;text-align:center}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite img{max-width:105px}.wc-stripe-blocks-afterpay-offsite__container .wc-stripe-blocks-afterpay__offsite p{margin:1em 0 0;width:100%}.wc-stripe-blocks-afterpay__label .AfterpayMessage{margin-bottom:0!important;margin-top:0!important}.wc-stripe-blocks-afterpay__label .AfterpayMessage-logoSvg{display:inline-block;max-width:90px}.wc-stripe-blocks-afterpay__label .AfterpayMessage-learnMore{font-size:16px;vertical-align:middle}.payment-request-block-editor{align-items:center;background-color:#32325d;border-radius:4px;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:16px;font-weight:600;height:40px;justify-content:center}.payment-request-block-editor .icon-container{align-items:center;display:flex;position:relative}.payment-request-block-editor .icon-container span{margin-bottom:5px}.payment-request-block-editor .icon-container canvas.PaymentRequestButton-icon{-ms-flex-negative:0;-webkit-flex-shrink:0;flex-shrink:0;height:20px;margin:0 -1px -1px 7px;position:relative;width:20px;will-change:opacity;z-index:10}.payment-request-block-editor .icon-container .payment-request-arrow{border-bottom:4px solid;border-right:4px solid;height:12px;position:absolute;right:8px;transform:rotate(-45deg);width:12px;z-index:99}
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: stripe, ach, klarna, credit card, apple pay, google pay, ideal, sepa, sofo
4
  Requires at least: 3.0.1
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
- Stable tag: 3.3.6
8
  Copyright: Payment Plugins
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -60,6 +60,10 @@ If you're site is not loading over https, then Stripe won't render the Payment R
60
  8. Edit payment gateways on the product page
61
 
62
  == Changelog ==
 
 
 
 
63
  = 3.3.6 =
64
  * Added - WooFunnels integration that supports credit cards, Apple Pay, GPay, and Payment Request gateway
65
  * Added - Support for "WooCommerce All Products For Subscriptions" plugin
4
  Requires at least: 3.0.1
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
+ Stable tag: 3.3.7
8
  Copyright: Payment Plugins
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
60
  8. Edit payment gateways on the product page
61
 
62
  == Changelog ==
63
+ = 3.3.7 =
64
+ * Added - If locale is "fi" change to "fi-FI"
65
+ * Added - Filter "wc_stripe_get_klarna_args"
66
+ * Updated - PHP8, replace round with wc_format_decimal for GPay
67
  = 3.3.6 =
68
  * Added - WooFunnels integration that supports credit cards, Apple Pay, GPay, and Payment Request gateway
69
  * Added - Support for "WooCommerce All Products For Subscriptions" plugin
stripe-payments.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Stripe For WooCommerce
4
  * Plugin URI: https://docs.paymentplugins.com/wc-stripe/config/
5
  * Description: Accept Credit Cards, Google Pay, Apple Pay, ACH, Klarna and more using Stripe.
6
- * Version: 3.3.6
7
  * Author: Payment Plugins, support@paymentplugins.com
8
  * Text Domain: woo-stripe-payment
9
  * Domain Path: /i18n/languages/
3
  * Plugin Name: Stripe For WooCommerce
4
  * Plugin URI: https://docs.paymentplugins.com/wc-stripe/config/
5
  * Description: Accept Credit Cards, Google Pay, Apple Pay, ACH, Klarna and more using Stripe.
6
+ * Version: 3.3.7
7
  * Author: Payment Plugins, support@paymentplugins.com
8
  * Text Domain: woo-stripe-payment
9
  * Domain Path: /i18n/languages/