WooCommerce Stripe Payment Gateway - Version 4.1.14

Version Description

  • 2019-01-10 =
  • Remove - Stripe specific styling to allow themes to style accordingly.
  • Tweak - Handle error if product is not found in payment request.

See changelog for all versions.

=

Download this release

Release Info

Developer royho
Plugin Icon 128x128 WooCommerce Stripe Payment Gateway
Version 4.1.14
Comparing to
See all releases

Code changes from version 4.1.13 to 4.1.14

assets/css/stripe-future-styles.css DELETED
@@ -1 +0,0 @@
1
- .wc-stripe-elements-field,.wc-stripe-iban-element-field{border:1px solid #ddd;margin:5px 0;padding:5px;background-color:#fff;outline:0}#payment .methods label[for=payment_method_stripe],#payment .methods label[for=payment_method_stripe_alipay],#payment .methods label[for=payment_method_stripe_bancontact],#payment .methods label[for=payment_method_stripe_eps],#payment .methods label[for=payment_method_stripe_giropay],#payment .methods label[for=payment_method_stripe_ideal],#payment .methods label[for=payment_method_stripe_multibanco],#payment .methods label[for=payment_method_stripe_p24],#payment .methods label[for=payment_method_stripe_sepa],#payment .methods label[for=payment_method_stripe_sofort]{display:inline}#add_payment_method #payment ul.payment_methods li img.stripe-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-icon{max-width:40px;padding-left:3px;margin:0}#add_payment_method #payment ul.payment_methods li img.stripe-bancontact-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-bancontact-icon{max-height:65px;max-width:45px}#add_payment_method #payment ul.payment_methods li img.stripe-ideal-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-ideal-icon{max-height:35px}#add_payment_method #payment ul.payment_methods li img.stripe-p24-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-p24-icon{max-width:65px}#add_payment_method #payment ul.payment_methods li img.stripe-alipay-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-alipay-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li img.stripe-sofort-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-sofort-icon{max-width:55px}#add_payment_method #payment ul.payment_methods li img.stripe-sepa-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-sepa-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li img.stripe-multibanco-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-multibanco-icon{max-height:30px}#add_payment_method #payment ul.payment_methods li img.stripe-eps-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-eps-icon{max-height:30px}#add_payment_method #payment ul.payment_methods li img.stripe-giropay-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-giropay-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li .stripe-credit-card-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-credit-card-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/credit-card.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-visa-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-visa-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/visa.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-amex-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-amex-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/amex.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-diners-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-diners-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/diners.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-discover-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-discover-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/discover.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-jcb-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-jcb-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/jcb.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-maestro-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-maestro-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/maestro.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-mastercard-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-mastercard-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/mastercard.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods .stripe-card-group,.woocommerce-checkout #payment ul.payment_methods .stripe-card-group{position:relative}
assets/css/stripe-storefront-styles.css DELETED
@@ -1 +0,0 @@
1
- .woocommerce-checkout #payment .payment_method_stripe label[for=payment_method_stripe]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe label[for=payment_method_stripe]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_bancontact label[for=payment_method_stripe_bancontact]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_bancontact label[for=payment_method_stripe_bancontact]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_alipay label[for=payment_method_stripe_alipay]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_alipay label[for=payment_method_stripe_alipay]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_eps label[for=payment_method_stripe_eps]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_eps label[for=payment_method_stripe_eps]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_giropay label[for=payment_method_stripe_giropay]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_giropay label[for=payment_method_stripe_giropay]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_ideal label[for=payment_method_stripe_ideal]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_ideal label[for=payment_method_stripe_ideal]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_multibanco label[for=payment_method_stripe_multibanco]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_multibanco label[for=payment_method_stripe_multibanco]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_p24 label[for=payment_method_stripe_p24]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_p24 label[for=payment_method_stripe_p24]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_sepa label[for=payment_method_stripe_sepa]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_sepa label[for=payment_method_stripe_sepa]{display:block;padding-left:1.41575em}.woocommerce-checkout #payment .payment_method_stripe_sofort label[for=payment_method_stripe_sofort]{display:block;padding-left:1.41575em}#add_payment_method #payment .payment_method_stripe_sofort label[for=payment_method_stripe_sofort]{display:block;padding-left:1.41575em}
assets/css/stripe-styles.css CHANGED
@@ -1 +1 @@
1
- .wc-stripe-elements-field,.wc-stripe-iban-element-field{border:1px solid #ddd;margin:5px 0;padding:5px;background-color:#fff;outline:0}#add_payment_method .woocommerce-PaymentMethod label{margin-left:10px}#add_payment_method li{clear:right}#add_payment_method #wc-stripe_sepa-form{padding:10px}form#order_review #payment_method_stripe{margin:25px 0 25px 25px}form#order_review #payment_method_stripe_sepa{margin:25px 0 25px 25px}form#order_review .payment_methods label{margin-left:10px}form#order_review li{clear:right}form#order_review #wc-stripe_sepa-form{padding:10px}.wc_payment_method .payment_box label{display:inline}#add_payment_method #payment .payment_method_stripe,.woocommerce-checkout #payment .payment_method_stripe{position:relative}#add_payment_method #payment .payment_method_stripe_bancontact,.woocommerce-checkout #payment .payment_method_stripe_bancontact{position:relative}#add_payment_method #payment .payment_method_stripe_alipay,.woocommerce-checkout #payment .payment_method_stripe_alipay{position:relative}#add_payment_method #payment .payment_method_stripe_eps,.woocommerce-checkout #payment .payment_method_stripe_eps{position:relative}#add_payment_method #payment .payment_method_stripe_giropay,.woocommerce-checkout #payment .payment_method_stripe_giropay{position:relative}#add_payment_method #payment .payment_method_stripe_ideal,.woocommerce-checkout #payment .payment_method_stripe_ideal{position:relative}#add_payment_method #payment .payment_method_stripe_multibanco,.woocommerce-checkout #payment .payment_method_stripe_multibanco{position:relative}#add_payment_method #payment .payment_method_stripe_p24,.woocommerce-checkout #payment .payment_method_stripe_p24{position:relative}#add_payment_method #payment .payment_method_stripe_sepa,.woocommerce-checkout #payment .payment_method_stripe_sepa{position:relative}#add_payment_method #payment .payment_method_stripe_sofort,.woocommerce-checkout #payment .payment_method_stripe_sofort{position:relative}#add_payment_method #payment input#payment_method_stripe,.woocommerce-checkout #payment input#payment_method_stripe{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_bancontact,.woocommerce-checkout #payment input#payment_method_stripe_bancontact{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_alipay,.woocommerce-checkout #payment input#payment_method_stripe_alipay{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_eps,.woocommerce-checkout #payment input#payment_method_stripe_eps{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_giropay,.woocommerce-checkout #payment input#payment_method_stripe_giropay{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_ideal,.woocommerce-checkout #payment input#payment_method_stripe_ideal{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_multibanco,.woocommerce-checkout #payment input#payment_method_stripe_multibanco{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_p24,.woocommerce-checkout #payment input#payment_method_stripe_p24{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_sepa,.woocommerce-checkout #payment input#payment_method_stripe_sepa{position:absolute;top:6px}#add_payment_method #payment input#payment_method_stripe_sofort,.woocommerce-checkout #payment input#payment_method_stripe_sofort{position:absolute;top:6px}.woocommerce-checkout #payment .payment_method_stripe label[for=payment_method_stripe]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe label[for=payment_method_stripe]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_bancontact label[for=payment_method_stripe_bancontact]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe_bancontact label[for=payment_method_stripe_bancontact]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_alipay label[for=payment_method_stripe_alipay]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe_alipay label[for=payment_method_stripe_alipay]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_eps label[for=payment_method_stripe_eps]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe_eps label[for=payment_method_stripe_eps]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_giropay label[for=payment_method_stripe_giropay]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe_giropay label[for=payment_method_stripe_giropay]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_ideal label[for=payment_method_stripe_ideal]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe_ideal label[for=payment_method_stripe_ideal]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_multibanco label[for=payment_method_stripe_multibanco]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe_multibanco label[for=payment_method_stripe_multibanco]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_p24 label[for=payment_method_stripe_p24]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe_p24 label[for=payment_method_stripe_p24]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_sepa label[for=payment_method_stripe_sepa]{display:block;padding-left:32px}#add_payment_method #payment .payment_method_stripe_sepa label[for=payment_method_stripe_sepa]{display:block;padding-left:20px}#add_payment_method #payment .payment_method_stripe_sofort label[for=payment_method_stripe_sofort],.woocommerce-checkout #payment .payment_method_stripe_sofort label[for=payment_method_stripe_sofort]{display:block;padding-left:32px}#add_payment_method #payment ul.payment_methods li img.stripe-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-icon{float:right;max-width:40px;padding-left:3px;margin:0}#add_payment_method #payment ul.payment_methods li img.stripe-bancontact-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-bancontact-icon{max-height:65px;max-width:45px}#add_payment_method #payment ul.payment_methods li img.stripe-ideal-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-ideal-icon{max-height:35px}#add_payment_method #payment ul.payment_methods li img.stripe-p24-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-p24-icon{max-width:65px}#add_payment_method #payment ul.payment_methods li img.stripe-alipay-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-alipay-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li img.stripe-sofort-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-sofort-icon{max-width:55px}#add_payment_method #payment ul.payment_methods li img.stripe-sepa-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-sepa-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li img.stripe-multibanco-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-multibanco-icon{max-height:30px}#add_payment_method #payment ul.payment_methods li img.stripe-eps-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-eps-icon{max-height:30px}#add_payment_method #payment ul.payment_methods li img.stripe-giropay-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-giropay-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li .stripe-credit-card-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-credit-card-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/credit-card.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-visa-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-visa-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/visa.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-amex-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-amex-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/amex.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-diners-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-diners-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/diners.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-discover-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-discover-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/discover.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-jcb-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-jcb-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/jcb.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-maestro-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-maestro-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/maestro.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-mastercard-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-mastercard-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/mastercard.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods .stripe-card-group,.woocommerce-checkout #payment ul.payment_methods .stripe-card-group{position:relative}
1
+ .wc-stripe-elements-field,.wc-stripe-iban-element-field{border:1px solid #ddd;margin:5px 0;padding:5px;background-color:#fff;outline:0}#payment .methods li.woocommerce-SavedPaymentMethods-token label{display:inline}#payment .methods li.woocommerce-SavedPaymentMethods-new label{display:inline}#add_payment_method #payment ul.payment_methods li img.stripe-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-icon{max-width:40px;padding-left:3px;margin:0}#add_payment_method #payment ul.payment_methods li img.stripe-bancontact-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-bancontact-icon{max-height:65px;max-width:45px}#add_payment_method #payment ul.payment_methods li img.stripe-ideal-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-ideal-icon{max-height:35px}#add_payment_method #payment ul.payment_methods li img.stripe-p24-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-p24-icon{max-width:65px}#add_payment_method #payment ul.payment_methods li img.stripe-alipay-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-alipay-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li img.stripe-sofort-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-sofort-icon{max-width:55px}#add_payment_method #payment ul.payment_methods li img.stripe-sepa-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-sepa-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li img.stripe-multibanco-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-multibanco-icon{max-height:30px}#add_payment_method #payment ul.payment_methods li img.stripe-eps-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-eps-icon{max-height:30px}#add_payment_method #payment ul.payment_methods li img.stripe-giropay-icon,.woocommerce-checkout #payment ul.payment_methods li img.stripe-giropay-icon{max-width:50px}#add_payment_method #payment ul.payment_methods li .stripe-credit-card-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-credit-card-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/credit-card.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-visa-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-visa-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/visa.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-amex-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-amex-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/amex.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-diners-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-diners-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/diners.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-discover-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-discover-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/discover.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-jcb-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-jcb-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/jcb.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-maestro-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-maestro-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/maestro.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods li .stripe-mastercard-brand,.woocommerce-checkout #payment ul.payment_methods li .stripe-mastercard-brand{position:absolute;top:50%;margin-top:-10px;right:10px;background:no-repeat url(../images/mastercard.svg);display:block;width:30px;height:24px}#add_payment_method #payment ul.payment_methods .stripe-card-group,.woocommerce-checkout #payment ul.payment_methods .stripe-card-group{position:relative}
assets/css/stripe-styles.scss ADDED
@@ -0,0 +1,60 @@
1
+ .wc-stripe-elements-field, .wc-stripe-iban-element-field { border:1px solid #ddd; margin:5px 0; padding:5px; background-color:#fff; outline:0; }
2
+ #payment .methods li.woocommerce-SavedPaymentMethods-token label { display: inline; }
3
+ #payment .methods li.woocommerce-SavedPaymentMethods-new label { display: inline; }
4
+
5
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-icon,
6
+ #add_payment_method #payment ul.payment_methods li img.stripe-icon { max-width: 40px; padding-left: 3px; margin: 0; }
7
+
8
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-bancontact-icon,
9
+ #add_payment_method #payment ul.payment_methods li img.stripe-bancontact-icon { max-height: 65px; max-width: 45px; }
10
+
11
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-ideal-icon,
12
+ #add_payment_method #payment ul.payment_methods li img.stripe-ideal-icon { max-height: 35px; }
13
+
14
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-p24-icon,
15
+ #add_payment_method #payment ul.payment_methods li img.stripe-p24-icon { max-width: 65px; }
16
+
17
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-alipay-icon,
18
+ #add_payment_method #payment ul.payment_methods li img.stripe-alipay-icon { max-width: 50px; }
19
+
20
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-sofort-icon,
21
+ #add_payment_method #payment ul.payment_methods li img.stripe-sofort-icon { max-width: 55px; }
22
+
23
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-sepa-icon,
24
+ #add_payment_method #payment ul.payment_methods li img.stripe-sepa-icon { max-width: 50px; }
25
+
26
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-multibanco-icon,
27
+ #add_payment_method #payment ul.payment_methods li img.stripe-multibanco-icon { max-height: 30px; }
28
+
29
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-eps-icon,
30
+ #add_payment_method #payment ul.payment_methods li img.stripe-eps-icon { max-height: 30px; }
31
+
32
+ .woocommerce-checkout #payment ul.payment_methods li img.stripe-giropay-icon,
33
+ #add_payment_method #payment ul.payment_methods li img.stripe-giropay-icon { max-width: 50px; }
34
+
35
+ .woocommerce-checkout #payment ul.payment_methods li .stripe-credit-card-brand,
36
+ #add_payment_method #payment ul.payment_methods li .stripe-credit-card-brand { position: absolute; top: 50%; margin-top: -10px; right: 10px; background: no-repeat url( '../images/credit-card.svg' ); display: block; width: 30px; height: 24px; }
37
+
38
+ .woocommerce-checkout #payment ul.payment_methods li .stripe-visa-brand,
39
+ #add_payment_method #payment ul.payment_methods li .stripe-visa-brand { position: absolute; top: 50%; margin-top: -10px; right: 10px; background: no-repeat url( '../images/visa.svg' ); display: block; width: 30px; height: 24px; }
40
+
41
+ .woocommerce-checkout #payment ul.payment_methods li .stripe-amex-brand,
42
+ #add_payment_method #payment ul.payment_methods li .stripe-amex-brand { position: absolute; top: 50%; margin-top: -10px; right: 10px; background: no-repeat url( '../images/amex.svg' ); display: block; width: 30px; height: 24px; }
43
+
44
+ .woocommerce-checkout #payment ul.payment_methods li .stripe-diners-brand,
45
+ #add_payment_method #payment ul.payment_methods li .stripe-diners-brand { position: absolute; top: 50%; margin-top: -10px; right: 10px; background: no-repeat url( '../images/diners.svg' ); display: block; width: 30px; height: 24px; }
46
+
47
+ .woocommerce-checkout #payment ul.payment_methods li .stripe-discover-brand,
48
+ #add_payment_method #payment ul.payment_methods li .stripe-discover-brand { position: absolute; top: 50%; margin-top: -10px; right: 10px; background: no-repeat url( '../images/discover.svg' ); display: block; width: 30px; height: 24px; }
49
+
50
+ .woocommerce-checkout #payment ul.payment_methods li .stripe-jcb-brand,
51
+ #add_payment_method #payment ul.payment_methods li .stripe-jcb-brand { position: absolute; top: 50%; margin-top: -10px; right: 10px; background: no-repeat url( '../images/jcb.svg' ); display: block; width: 30px; height: 24px; }
52
+
53
+ .woocommerce-checkout #payment ul.payment_methods li .stripe-maestro-brand,
54
+ #add_payment_method #payment ul.payment_methods li .stripe-maestro-brand { position: absolute; top: 50%; margin-top: -10px; right: 10px; background: no-repeat url( '../images/maestro.svg' ); display: block; width: 30px; height: 24px; }
55
+
56
+ .woocommerce-checkout #payment ul.payment_methods li .stripe-mastercard-brand,
57
+ #add_payment_method #payment ul.payment_methods li .stripe-mastercard-brand { position: absolute; top: 50%; margin-top: -10px; right: 10px; background: no-repeat url( '../images/mastercard.svg' ); display: block; width: 30px; height: 24px; }
58
+
59
+ .woocommerce-checkout #payment ul.payment_methods .stripe-card-group,
60
+ #add_payment_method #payment ul.payment_methods .stripe-card-group { position: relative; }
assets/css/stripe-twentyseventeen-styles.css DELETED
@@ -1 +0,0 @@
1
- .woocommerce-checkout #payment .payment_method_stripe label[for=payment_method_stripe]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe label[for=payment_method_stripe]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_bancontact label[for=payment_method_stripe_bancontact]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_bancontact label[for=payment_method_stripe_bancontact]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_alipay label[for=payment_method_stripe_alipay]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_alipay label[for=payment_method_stripe_alipay]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_eps label[for=payment_method_stripe_eps]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_eps label[for=payment_method_stripe_eps]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_giropay label[for=payment_method_stripe_giropay]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_giropay label[for=payment_method_stripe_giropay]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_ideal label[for=payment_method_stripe_ideal]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_ideal label[for=payment_method_stripe_ideal]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_multibanco label[for=payment_method_stripe_multibanco]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_multibanco label[for=payment_method_stripe_multibanco]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_p24 label[for=payment_method_stripe_p24]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_p24 label[for=payment_method_stripe_p24]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_sepa label[for=payment_method_stripe_sepa]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_sepa label[for=payment_method_stripe_sepa]{display:block;padding-left:20px}.woocommerce-checkout #payment .payment_method_stripe_sofort label[for=payment_method_stripe_sofort]{display:block;padding-left:0}#add_payment_method #payment .payment_method_stripe_sofort label[for=payment_method_stripe_sofort]{display:block;padding-left:20px}.woocommerce-PaymentMethods li{list-style-type:none}
changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
*** Changelog ***
2
3
= 4.1.13 - 2018-11-20 =
4
* Update - WP 5.0 compatibility.
5
1
*** Changelog ***
2
3
+ = 4.1.14 - 2019-01-10 =
4
+ * Remove - Stripe specific styling to allow themes to style accordingly.
5
+ * Tweak - Handle error if product is not found in payment request.
6
+
7
= 4.1.13 - 2018-11-20 =
8
* Update - WP 5.0 compatibility.
9
includes/admin/class-wc-stripe-admin-notices.php CHANGED
@@ -99,7 +99,7 @@ class WC_Stripe_Admin_Notices {
99
* @version 4.0.0
100
*/
101
public function stripe_check_environment() {
102
- $show_styles_notice = get_option( 'wc_stripe_show_styles_notice' );
103
$show_ssl_notice = get_option( 'wc_stripe_show_ssl_notice' );
104
$show_keys_notice = get_option( 'wc_stripe_show_keys_notice' );
105
$show_phpver_notice = get_option( 'wc_stripe_show_phpver_notice' );
@@ -113,6 +113,15 @@ class WC_Stripe_Admin_Notices {
113
$live_secret_key = isset( $options['secret_key'] ) ? $options['secret_key'] : '';
114
115
if ( isset( $options['enabled'] ) && 'yes' === $options['enabled'] ) {
116
if ( empty( $show_phpver_notice ) ) {
117
if ( version_compare( phpversion(), WC_STRIPE_MIN_PHP_VER, '<' ) ) {
118
/* translators: 1) int version 2) int version */
@@ -124,17 +133,6 @@ class WC_Stripe_Admin_Notices {
124
}
125
}
126
127
- // To be removed 4.1.12.
128
- if ( empty( $show_styles_notice ) ) {
129
- if ( version_compare( WC_STRIPE_VERSION, '4.1.12', '<' ) ) {
130
- $message = __( 'Action required: In January 2019 we will be introducing changes that could affect how Stripe looks in your checkout. <a href="https://docs.woocommerce.com/document/stripe/#section-45" target="_blank">Learn more</a> about how to make sure your site continues to look great.', 'woocommerce-gateway-stripe' );
131
-
132
- $this->add_admin_notice( 'styles', 'notice notice-warning', $message, true );
133
-
134
- return;
135
- }
136
- }
137
-
138
if ( empty( $show_wcver_notice ) ) {
139
if ( version_compare( WC_VERSION, WC_STRIPE_MIN_WC_VER, '<' ) ) {
140
/* translators: 1) int version 2) int version */
@@ -235,10 +233,10 @@ class WC_Stripe_Admin_Notices {
235
$notice = wc_clean( $_GET['wc-stripe-hide-notice'] );
236
237
switch ( $notice ) {
238
- case 'styles':
239
- update_option( 'wc_stripe_show_styles_notice', 'no' );
240
break;
241
- case 'styles':
242
update_option( 'wc_stripe_show_phpver_notice', 'no' );
243
break;
244
case 'wcver':
99
* @version 4.0.0
100
*/
101
public function stripe_check_environment() {
102
+ $show_style_notice = get_option( 'wc_stripe_show_style_notice' );
103
$show_ssl_notice = get_option( 'wc_stripe_show_ssl_notice' );
104
$show_keys_notice = get_option( 'wc_stripe_show_keys_notice' );
105
$show_phpver_notice = get_option( 'wc_stripe_show_phpver_notice' );
113
$live_secret_key = isset( $options['secret_key'] ) ? $options['secret_key'] : '';
114
115
if ( isset( $options['enabled'] ) && 'yes' === $options['enabled'] ) {
116
+ if ( empty( $show_style_notice ) ) {
117
+ /* translators: 1) int version 2) int version */
118
+ $message = __( 'WooCommerce Stripe - We recently made changes to Stripe that may impact the appearance of your checkout. If your checkout has changed unexpectedly, please follow these <a href="https://docs.woocommerce.com/document/stripe/#section-45" target="_blank">instructions</a> to fix.', 'woocommerce-gateway-stripe' );
119
+
120
+ $this->add_admin_notice( 'style', 'error', $message, true );
121
+
122
+ return;
123
+ }
124
+
125
if ( empty( $show_phpver_notice ) ) {
126
if ( version_compare( phpversion(), WC_STRIPE_MIN_PHP_VER, '<' ) ) {
127
/* translators: 1) int version 2) int version */
133
}
134
}
135
136
if ( empty( $show_wcver_notice ) ) {
137
if ( version_compare( WC_VERSION, WC_STRIPE_MIN_WC_VER, '<' ) ) {
138
/* translators: 1) int version 2) int version */
233
$notice = wc_clean( $_GET['wc-stripe-hide-notice'] );
234
235
switch ( $notice ) {
236
+ case 'style':
237
+ update_option( 'wc_stripe_show_style_notice', 'no' );
238
break;
239
+ case 'phpver':
240
update_option( 'wc_stripe_show_phpver_notice', 'no' );
241
break;
242
case 'wcver':
includes/admin/stripe-settings.php CHANGED
@@ -169,7 +169,7 @@ return apply_filters(
169
'label' => __( 'Enable Payment via Saved Cards', 'woocommerce-gateway-stripe' ),
170
'type' => 'checkbox',
171
'description' => __( 'If enabled, users will be able to pay with a saved card during checkout. Card details are saved on Stripe servers, not on your store.', 'woocommerce-gateway-stripe' ),
172
- 'default' => 'no',
173
'desc_tip' => true,
174
),
175
'logging' => array(
169
'label' => __( 'Enable Payment via Saved Cards', 'woocommerce-gateway-stripe' ),
170
'type' => 'checkbox',
171
'description' => __( 'If enabled, users will be able to pay with a saved card during checkout. Card details are saved on Stripe servers, not on your store.', 'woocommerce-gateway-stripe' ),
172
+ 'default' => 'yes',
173
'desc_tip' => true,
174
),
175
'logging' => array(
includes/class-wc-gateway-stripe.php CHANGED
@@ -453,27 +453,8 @@ class WC_Gateway_Stripe extends WC_Stripe_Payment_Gateway {
453
454
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
455
456
- /*
457
- * Load future stripped styles only to admin. This will
458
- * give them the chance to make changes.
459
- */
460
- if ( current_user_can( 'administrator' ) ) {
461
- wp_register_style( 'stripe_styles', plugins_url( 'assets/css/stripe-future-styles.css', WC_STRIPE_MAIN_FILE ), array(), WC_STRIPE_VERSION );
462
- wp_enqueue_style( 'stripe_styles' );
463
- } else {
464
- wp_register_style( 'stripe_styles', plugins_url( 'assets/css/stripe-styles.css', WC_STRIPE_MAIN_FILE ), array(), WC_STRIPE_VERSION );
465
- wp_enqueue_style( 'stripe_styles' );
466
-
467
- if ( 'storefront' === $current_theme->get_template() ) {
468
- wp_register_style( 'stripe_storefront_styles', plugins_url( 'assets/css/stripe-storefront-styles.css', WC_STRIPE_MAIN_FILE ), array(), WC_STRIPE_VERSION );
469
- wp_enqueue_style( 'stripe_storefront_styles' );
470
- }
471
-
472
- if ( 'twentyseventeen' === $current_theme->get_template() ) {
473
- wp_register_style( 'stripe_twentyseventeen_styles', plugins_url( 'assets/css/stripe-twentyseventeen-styles.css', WC_STRIPE_MAIN_FILE ), array(), WC_STRIPE_VERSION );
474
- wp_enqueue_style( 'stripe_twentyseventeen_styles' );
475
- }
476
- }
477
478
wp_register_script( 'stripe_checkout', 'https://checkout.stripe.com/checkout.js', '', WC_STRIPE_VERSION, true );
479
wp_register_script( 'stripe', 'https://js.stripe.com/v3/', '', '3.0', true );
453
454
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
455
456
+ wp_register_style( 'stripe_styles', plugins_url( 'assets/css/stripe-styles.css', WC_STRIPE_MAIN_FILE ), array(), WC_STRIPE_VERSION );
457
+ wp_enqueue_style( 'stripe_styles' );
458
459
wp_register_script( 'stripe_checkout', 'https://checkout.stripe.com/checkout.js', '', WC_STRIPE_VERSION, true );
460
wp_register_script( 'stripe', 'https://js.stripe.com/v3/', '', '3.0', true );
includes/payment-methods/class-wc-stripe-payment-request.php CHANGED
@@ -804,6 +804,10 @@ class WC_Stripe_Payment_Request {
804
$product = wc_get_product( $product_id );
805
$variation_id = null;
806
807
if ( 'variable' === ( WC_Stripe_Helper::is_wc_lt( '3.0' ) ? $product->product_type : $product->get_type() ) && isset( $_POST['attributes'] ) ) {
808
$attributes = array_map( 'wc_clean', $_POST['attributes'] );
809
804
$product = wc_get_product( $product_id );
805
$variation_id = null;
806
807
+ if ( ! is_a( $product, 'WC_Product' ) ) {
808
+ throw new Exception( sprintf( __( 'Product with the ID (%d) cannot be found.', 'woocommerce-gateway-stripe' ), $product_id ) );
809
+ }
810
+
811
if ( 'variable' === ( WC_Stripe_Helper::is_wc_lt( '3.0' ) ? $product->product_type : $product->get_type() ) && isset( $_POST['attributes'] ) ) {
812
$attributes = array_map( 'wc_clean', $_POST['attributes'] );
813
languages/woocommerce-gateway-stripe.pot CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2018 WooCommerce
2
# This file is distributed under the same license as the WooCommerce Stripe Gateway package.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: WooCommerce Stripe Gateway 4.1.11\n"
6
"Report-Msgid-Bugs-To: "
7
"https://wordpress.org/support/plugin/woocommerce-gateway-stripe\n"
8
- "POT-Creation-Date: 2018-10-17 15:00:09+00:00\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=utf-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
13
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
"Language-Team: LANGUAGE <LL@li.org>\n"
15
"X-Generator: node-wp-i18n 1.2.1\n"
@@ -63,7 +63,7 @@ msgid "Stripe charge complete (Charge ID: %s)"
63
msgstr ""
64
65
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:469
66
- #: includes/class-wc-gateway-stripe.php:725
67
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:182
68
#: includes/compat/class-wc-stripe-subs-compat.php:145
69
msgid "Payment processing failed. Please retry."
@@ -93,41 +93,42 @@ msgstr ""
93
msgid "There was a problem adding the payment method."
94
msgstr ""
95
96
- #: includes/admin/class-wc-stripe-admin-notices.php:119
97
#. translators: 1) int version 2) int version
98
msgid ""
99
- "WooCommerce Stripe - The minimum PHP version required for this plugin is "
100
- "%1$s. You are running %2$s."
101
msgstr ""
102
103
- #: includes/admin/class-wc-stripe-admin-notices.php:130
104
msgid ""
105
- "Action required: In January 2019 we will be introducing changes that could "
106
- "effect how Stripe looks in your checkout. <a "
107
- "href=\"https://docs.woocommerce.com/document/stripe/#section-45\" "
108
- "target=\"_blank\">Learn more</a> about how to make sure your site continues "
109
- "to look great."
110
msgstr ""
111
112
- #: includes/admin/class-wc-stripe-admin-notices.php:141
113
#. translators: 1) int version 2) int version
114
msgid ""
115
"WooCommerce Stripe - The minimum WooCommerce version required for this "
116
"plugin is %1$s. You are running %2$s."
117
msgstr ""
118
119
- #: includes/admin/class-wc-stripe-admin-notices.php:151
120
msgid "WooCommerce Stripe - cURL is not installed."
121
msgstr ""
122
123
- #: includes/admin/class-wc-stripe-admin-notices.php:161
124
#. translators: 1) link
125
msgid ""
126
"Stripe is almost ready. To get started, <a href=\"%s\">set your Stripe "
127
"account keys</a>."
128
msgstr ""
129
130
- #: includes/admin/class-wc-stripe-admin-notices.php:172
131
#. translators: 1) link
132
msgid ""
133
"Stripe is in test mode however your test keys may not be valid. Test keys "
@@ -135,7 +136,7 @@ msgid ""
135
"<a href=\"%s\">set your Stripe account keys</a>."
136
msgstr ""
137
138
- #: includes/admin/class-wc-stripe-admin-notices.php:181
139
#. translators: 1) link
140
msgid ""
141
"Stripe is in live mode however your test keys may not be valid. Live keys "
@@ -143,7 +144,7 @@ msgid ""
143
"<a href=\"%s\">set your Stripe account keys</a>."
144
msgstr ""
145
146
- #: includes/admin/class-wc-stripe-admin-notices.php:190
147
#. translators: 1) link
148
msgid ""
149
"Stripe is enabled, but a SSL certificate is not detected. Your checkout may "
@@ -151,16 +152,16 @@ msgid ""
151
"target=\"_blank\">SSL certificate</a>"
152
msgstr ""
153
154
- #: includes/admin/class-wc-stripe-admin-notices.php:214
155
#. translators: %1$s Payment method, %2$s List of supported currencies
156
msgid "%1$s is enabled - it requires store currency to be set to %2$s"
157
msgstr ""
158
159
- #: includes/admin/class-wc-stripe-admin-notices.php:228
160
msgid "Action failed. Please refresh the page and retry."
161
msgstr ""
162
163
- #: includes/admin/class-wc-stripe-admin-notices.php:232
164
msgid "Cheatin&#8217; huh?"
165
msgstr ""
166
@@ -832,46 +833,45 @@ msgstr ""
832
msgid "Card Code (CVC)"
833
msgstr ""
834
835
- #: includes/class-wc-gateway-stripe.php:484
836
msgid "Please accept the terms and conditions first"
837
msgstr ""
838
839
- #: includes/class-wc-gateway-stripe.php:485
840
msgid "Please fill in required checkout fields first"
841
msgstr ""
842
843
- #: includes/class-wc-gateway-stripe.php:505
844
- #: includes/class-wc-gateway-stripe.php:720
845
- #: includes/compat/class-wc-stripe-subs-compat.php:140
846
msgid ""
847
"Sorry, we're not accepting prepaid cards at this time. Your credit card has "
848
- "not been charge. Please try with alternative payment method."
849
msgstr ""
850
851
- #: includes/class-wc-gateway-stripe.php:506
852
msgid "Please enter your IBAN account name."
853
msgstr ""
854
855
- #: includes/class-wc-gateway-stripe.php:507
856
msgid "Please enter your IBAN account number."
857
msgstr ""
858
859
- #: includes/class-wc-gateway-stripe.php:526
860
msgid "Billing First Name and Last Name are required."
861
msgstr ""
862
863
- #: includes/class-wc-gateway-stripe.php:610
864
msgid "Place Order"
865
msgstr ""
866
867
- #: includes/class-wc-gateway-stripe.php:811
868
#: includes/class-wc-stripe-order-handler.php:144
869
#: includes/class-wc-stripe-webhook-handler.php:187
870
#: includes/payment-methods/class-wc-gateway-stripe-sepa.php:353
871
msgid "This card is no longer available and has been removed."
872
msgstr ""
873
874
- #: includes/class-wc-gateway-stripe.php:830
875
#: includes/class-wc-stripe-order-handler.php:162
876
#: includes/class-wc-stripe-webhook-handler.php:206
877
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:272
@@ -882,22 +882,22 @@ msgid ""
882
"later."
883
msgstr ""
884
885
- #: includes/class-wc-gateway-stripe.php:907
886
#. translators: error message
887
msgid "This represents the fee Stripe collects for the transaction."
888
msgstr ""
889
890
- #: includes/class-wc-gateway-stripe.php:908
891
msgid "Stripe Fee:"
892
msgstr ""
893
894
- #: includes/class-wc-gateway-stripe.php:944
895
msgid ""
896
"This represents the net total that will be credited to your Stripe bank "
897
"account. This may be in the currency that is set in your Stripe account."
898
msgstr ""
899
900
- #: includes/class-wc-gateway-stripe.php:945
901
msgid "Stripe Payout:"
902
msgstr ""
903
@@ -1125,6 +1125,12 @@ msgstr ""
1125
msgid "Via SEPA Direct Debit ending in %1$s"
1126
msgstr ""
1127
1128
#: includes/compat/class-wc-stripe-subs-compat.php:499
1129
#. translators: 1) card brand 2) last 4 digits
1130
msgid "Via %1$s card ending in %2$s"
@@ -1246,19 +1252,19 @@ msgid "Stripe SOFORT"
1246
msgstr ""
1247
1248
#: includes/payment-methods/class-wc-stripe-payment-request.php:269
1249
- #: includes/payment-methods/class-wc-stripe-payment-request.php:848
1250
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1146
1251
msgid "Tax"
1252
msgstr ""
1253
1254
#: includes/payment-methods/class-wc-stripe-payment-request.php:277
1255
- #: includes/payment-methods/class-wc-stripe-payment-request.php:856
1256
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1153
1257
msgid "Shipping"
1258
msgstr ""
1259
1260
#: includes/payment-methods/class-wc-stripe-payment-request.php:284
1261
- #: includes/payment-methods/class-wc-stripe-payment-request.php:863
1262
msgid "Pending"
1263
msgstr ""
1264
@@ -1280,18 +1286,22 @@ msgstr ""
1280
msgid "Unable to find shipping method for address."
1281
msgstr ""
1282
1283
- #: includes/payment-methods/class-wc-stripe-payment-request.php:831
1284
#. translators: 1: product name 2: quantity in stock
1285
msgid ""
1286
"You cannot add that amount of \"%1$s\"; to the cart because there is not "
1287
"enough stock (%2$s remaining)."
1288
msgstr ""
1289
1290
- #: includes/payment-methods/class-wc-stripe-payment-request.php:985
1291
msgid "Empty cart"
1292
msgstr ""
1293
1294
- #: includes/payment-methods/class-wc-stripe-payment-request.php:1160
1295
msgid "Discount"
1296
msgstr ""
1297
1
+ # Copyright (C) 2019 WooCommerce
2
# This file is distributed under the same license as the WooCommerce Stripe Gateway package.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: WooCommerce Stripe Gateway 4.1.13\n"
6
"Report-Msgid-Bugs-To: "
7
"https://wordpress.org/support/plugin/woocommerce-gateway-stripe\n"
8
+ "POT-Creation-Date: 2019-01-10 22:11:24+00:00\n"
9
"MIME-Version: 1.0\n"
10
"Content-Type: text/plain; charset=utf-8\n"
11
"Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
13
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
"Language-Team: LANGUAGE <LL@li.org>\n"
15
"X-Generator: node-wp-i18n 1.2.1\n"
63
msgstr ""
64
65
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:469
66
+ #: includes/class-wc-gateway-stripe.php:706
67
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:182
68
#: includes/compat/class-wc-stripe-subs-compat.php:145
69
msgid "Payment processing failed. Please retry."
93
msgid "There was a problem adding the payment method."
94
msgstr ""
95
96
+ #: includes/admin/class-wc-stripe-admin-notices.php:118
97
#. translators: 1) int version 2) int version
98
msgid ""
99
+ "WooCommerce Stripe - We recently made changes to Stripe that may impact the "
100
+ "appearance of your checkout. If your checkout has changed unexpectedly, "
101
+ "please follow these <a "
102
+ "href=\"https://docs.woocommerce.com/document/stripe/#section-45\" "
103
+ "target=\"_blank\">instructions</a> to fix."
104
msgstr ""
105
106
+ #: includes/admin/class-wc-stripe-admin-notices.php:128
107
+ #. translators: 1) int version 2) int version
108
msgid ""
109
+ "WooCommerce Stripe - The minimum PHP version required for this plugin is "
110
+ "%1$s. You are running %2$s."
111
msgstr ""
112
113
+ #: includes/admin/class-wc-stripe-admin-notices.php:139
114
#. translators: 1) int version 2) int version
115
msgid ""
116
"WooCommerce Stripe - The minimum WooCommerce version required for this "
117
"plugin is %1$s. You are running %2$s."
118
msgstr ""
119
120
+ #: includes/admin/class-wc-stripe-admin-notices.php:149
121
msgid "WooCommerce Stripe - cURL is not installed."
122
msgstr ""
123
124
+ #: includes/admin/class-wc-stripe-admin-notices.php:159
125
#. translators: 1) link
126
msgid ""
127
"Stripe is almost ready. To get started, <a href=\"%s\">set your Stripe "
128
"account keys</a>."
129
msgstr ""
130
131
+ #: includes/admin/class-wc-stripe-admin-notices.php:170
132
#. translators: 1) link
133
msgid ""
134
"Stripe is in test mode however your test keys may not be valid. Test keys "
136
"<a href=\"%s\">set your Stripe account keys</a>."
137
msgstr ""
138
139
+ #: includes/admin/class-wc-stripe-admin-notices.php:179
140
#. translators: 1) link
141
msgid ""
142
"Stripe is in live mode however your test keys may not be valid. Live keys "
144
"<a href=\"%s\">set your Stripe account keys</a>."
145
msgstr ""
146
147
+ #: includes/admin/class-wc-stripe-admin-notices.php:188
148
#. translators: 1) link
149
msgid ""
150
"Stripe is enabled, but a SSL certificate is not detected. Your checkout may "
152
"target=\"_blank\">SSL certificate</a>"
153
msgstr ""
154
155
+ #: includes/admin/class-wc-stripe-admin-notices.php:212
156
#. translators: %1$s Payment method, %2$s List of supported currencies
157
msgid "%1$s is enabled - it requires store currency to be set to %2$s"
158
msgstr ""
159
160
+ #: includes/admin/class-wc-stripe-admin-notices.php:226
161
msgid "Action failed. Please refresh the page and retry."
162
msgstr ""
163
164
+ #: includes/admin/class-wc-stripe-admin-notices.php:230
165
msgid "Cheatin&#8217; huh?"
166
msgstr ""
167
833
msgid "Card Code (CVC)"
834
msgstr ""
835
836
+ #: includes/class-wc-gateway-stripe.php:465
837
msgid "Please accept the terms and conditions first"
838
msgstr ""
839
840
+ #: includes/class-wc-gateway-stripe.php:466
841
msgid "Please fill in required checkout fields first"
842
msgstr ""
843
844
+ #: includes/class-wc-gateway-stripe.php:486
845
+ #: includes/class-wc-gateway-stripe.php:701
846
msgid ""
847
"Sorry, we're not accepting prepaid cards at this time. Your credit card has "
848
+ "not been charged. Please try with alternative payment method."
849
msgstr ""
850
851
+ #: includes/class-wc-gateway-stripe.php:487
852
msgid "Please enter your IBAN account name."
853
msgstr ""
854
855
+ #: includes/class-wc-gateway-stripe.php:488
856
msgid "Please enter your IBAN account number."
857
msgstr ""
858
859
+ #: includes/class-wc-gateway-stripe.php:507
860
msgid "Billing First Name and Last Name are required."
861
msgstr ""
862
863
+ #: includes/class-wc-gateway-stripe.php:591
864
msgid "Place Order"
865
msgstr ""
866
867
+ #: includes/class-wc-gateway-stripe.php:792
868
#: includes/class-wc-stripe-order-handler.php:144
869
#: includes/class-wc-stripe-webhook-handler.php:187
870
#: includes/payment-methods/class-wc-gateway-stripe-sepa.php:353
871
msgid "This card is no longer available and has been removed."
872
msgstr ""
873
874
+ #: includes/class-wc-gateway-stripe.php:811
875
#: includes/class-wc-stripe-order-handler.php:162
876
#: includes/class-wc-stripe-webhook-handler.php:206
877
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:272
882
"later."
883
msgstr ""
884
885
+ #: includes/class-wc-gateway-stripe.php:888
886
#. translators: error message
887
msgid "This represents the fee Stripe collects for the transaction."
888
msgstr ""
889
890
+ #: includes/class-wc-gateway-stripe.php:889
891
msgid "Stripe Fee:"
892
msgstr ""
893
894
+ #: includes/class-wc-gateway-stripe.php:925
895
msgid ""
896
"This represents the net total that will be credited to your Stripe bank "
897
"account. This may be in the currency that is set in your Stripe account."
898
msgstr ""
899
900
+ #: includes/class-wc-gateway-stripe.php:926
901
msgid "Stripe Payout:"
902
msgstr ""
903
1125
msgid "Via SEPA Direct Debit ending in %1$s"
1126
msgstr ""
1127
1128
+ #: includes/compat/class-wc-stripe-subs-compat.php:140
1129
+ msgid ""
1130
+ "Sorry, we're not accepting prepaid cards at this time. Your credit card has "
1131
+ "not been charge. Please try with alternative payment method."
1132
+ msgstr ""
1133
+
1134
#: includes/compat/class-wc-stripe-subs-compat.php:499
1135
#. translators: 1) card brand 2) last 4 digits
1136
msgid "Via %1$s card ending in %2$s"
1252
msgstr ""
1253
1254
#: includes/payment-methods/class-wc-stripe-payment-request.php:269
1255
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:852
1256
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1150
1257
msgid "Tax"
1258
msgstr ""
1259
1260
#: includes/payment-methods/class-wc-stripe-payment-request.php:277
1261
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:860
1262
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1157
1263
msgid "Shipping"
1264
msgstr ""
1265
1266
#: includes/payment-methods/class-wc-stripe-payment-request.php:284
1267
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:867
1268
msgid "Pending"
1269
msgstr ""
1270
1286
msgid "Unable to find shipping method for address."
1287
msgstr ""
1288
1289
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:808
1290
+ msgid "Product with the ID (%d) cannot be found."
1291
+ msgstr ""
1292
+
1293
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:835
1294
#. translators: 1: product name 2: quantity in stock
1295
msgid ""
1296
"You cannot add that amount of \"%1$s\"; to the cart because there is not "
1297
"enough stock (%2$s remaining)."
1298
msgstr ""
1299
1300
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:989
1301
msgid "Empty cart"
1302
msgstr ""
1303
1304
+ #: includes/payment-methods/class-wc-stripe-payment-request.php:1164
1305
msgid "Discount"
1306
msgstr ""
1307
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort,
4
Requires at least: 4.4
5
Tested up to: 5.0
6
Requires PHP: 5.6
7
- Stable tag: 4.1.13
8
License: GPLv3
9
License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
Attributions: thorsten-stripe
@@ -101,8 +101,9 @@ If you get stuck, you can ask for help in the Plugin Forum.
101
102
== Changelog ==
103
104
- = 4.1.13 - 2018-11-20 =
105
- * Update - WP 5.0 compatibility.
106
107
[See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt).
108
4
Requires at least: 4.4
5
Tested up to: 5.0
6
Requires PHP: 5.6
7
+ Stable tag: 4.1.14
8
License: GPLv3
9
License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
Attributions: thorsten-stripe
101
102
== Changelog ==
103
104
+ = 4.1.14 - 2019-01-10 =
105
+ * Remove - Stripe specific styling to allow themes to style accordingly.
106
+ * Tweak - Handle error if product is not found in payment request.
107
108
[See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt).
109
uninstall.php CHANGED
@@ -16,6 +16,7 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
16
if ( defined( 'WC_REMOVE_ALL_DATA' ) && true === WC_REMOVE_ALL_DATA ) {
17
// Delete options.
18
delete_option( 'woocommerce_stripe_settings' );
19
delete_option( 'wc_stripe_show_request_api_notice' );
20
delete_option( 'wc_stripe_show_apple_pay_notice' );
21
delete_option( 'wc_stripe_show_ssl_notice' );
16
if ( defined( 'WC_REMOVE_ALL_DATA' ) && true === WC_REMOVE_ALL_DATA ) {
17
// Delete options.
18
delete_option( 'woocommerce_stripe_settings' );
19
+ delete_option( 'wc_stripe_show_styles_notice' );
20
delete_option( 'wc_stripe_show_request_api_notice' );
21
delete_option( 'wc_stripe_show_apple_pay_notice' );
22
delete_option( 'wc_stripe_show_ssl_notice' );
woocommerce-gateway-stripe.php CHANGED
@@ -5,7 +5,7 @@
5
* Description: Take credit card payments on your store using Stripe.
6
* Author: WooCommerce
7
* Author URI: https://woocommerce.com/
8
- * Version: 4.1.13
9
* Requires at least: 4.4
10
* Tested up to: 5.0
11
* WC requires at least: 2.6
@@ -46,7 +46,7 @@ function woocommerce_gateway_stripe_init() {
46
/**
47
* Required minimums and constants
48
*/
49
- define( 'WC_STRIPE_VERSION', '4.1.13' );
50
define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
51
define( 'WC_STRIPE_MIN_WC_VER', '2.6.0' );
52
define( 'WC_STRIPE_MAIN_FILE', __FILE__ );
5
* Description: Take credit card payments on your store using Stripe.
6
* Author: WooCommerce
7
* Author URI: https://woocommerce.com/
8
+ * Version: 4.1.14
9
* Requires at least: 4.4
10
* Tested up to: 5.0
11
* WC requires at least: 2.6
46
/**
47
* Required minimums and constants
48
*/
49
+ define( 'WC_STRIPE_VERSION', '4.1.14' );
50
define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
51
define( 'WC_STRIPE_MIN_WC_VER', '2.6.0' );
52
define( 'WC_STRIPE_MAIN_FILE', __FILE__ );