Stripe Payments For WooCommerce by Checkout Plugins - Version 1.4.8

Version Description

  • TUESDAY, 15TH NOVEMBER 2022 =
  • Fix: WooCommerce HPOS issues.
Download this release

Release Info

Developer brainstormworg
Plugin Icon 128x128 Stripe Payments For WooCommerce by Checkout Plugins
Version 1.4.8
Comparing to
See all releases

Code changes from version 1.4.7 to 1.4.8

autoloader.php CHANGED
@@ -96,6 +96,7 @@ class CPSW_Loader {
96
  $this->setup_classes();
97
  add_action( 'plugins_loaded', [ $this, 'load_classes' ] );
98
  add_filter( 'plugin_action_links_' . CPSW_BASE, [ $this, 'action_links' ] );
 
99
  add_action( 'woocommerce_init', [ $this, 'frontend_scripts' ] );
100
  add_action( 'plugins_loaded', [ $this, 'load_cpsw_textdomain' ] );
101
 
@@ -278,6 +279,18 @@ class CPSW_Loader {
278
  load_plugin_textdomain( 'checkout-plugins-stripe-woo', false, $lang_dir );
279
  }
280
  }
 
 
 
 
 
 
 
 
 
 
 
 
281
  }
282
 
283
  /**
96
  $this->setup_classes();
97
  add_action( 'plugins_loaded', [ $this, 'load_classes' ] );
98
  add_filter( 'plugin_action_links_' . CPSW_BASE, [ $this, 'action_links' ] );
99
+ add_action( 'before_woocommerce_init', [ $this, 'hpos_compatibility_declaration' ] );
100
  add_action( 'woocommerce_init', [ $this, 'frontend_scripts' ] );
101
  add_action( 'plugins_loaded', [ $this, 'load_cpsw_textdomain' ] );
102
 
279
  load_plugin_textdomain( 'checkout-plugins-stripe-woo', false, $lang_dir );
280
  }
281
  }
282
+
283
+ /**
284
+ * Declares compatibility with WooCommerce HPOS
285
+ *
286
+ * @return void
287
+ * @since 1.4.8
288
+ */
289
+ public function hpos_compatibility_declaration() {
290
+ if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
291
+ \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', CPSW_FILE, true );
292
+ }
293
+ }
294
  }
295
 
296
  /**
checkout-plugins-stripe-woo.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Checkout Plugins - Stripe for WooCommerce
4
  * Plugin URI: https://www.checkoutplugins.com/
5
  * Description: Stripe for WooCommerce delivers a simple, secure way to accept credit card payments in your WooCommerce store. Reduce payment friction and boost conversions using this free plugin!
6
- * Version: 1.4.7
7
  * Author: Checkout Plugins
8
  * Author URI: https://checkoutplugins.com/
9
  * License: GPLv2 or later
@@ -22,6 +22,6 @@ define( 'CPSW_FILE', __FILE__ );
22
  define( 'CPSW_BASE', plugin_basename( CPSW_FILE ) );
23
  define( 'CPSW_DIR', plugin_dir_path( CPSW_FILE ) );
24
  define( 'CPSW_URL', plugins_url( '/', CPSW_FILE ) );
25
- define( 'CPSW_VERSION', '1.4.7' );
26
 
27
  require_once 'autoloader.php';
3
  * Plugin Name: Checkout Plugins - Stripe for WooCommerce
4
  * Plugin URI: https://www.checkoutplugins.com/
5
  * Description: Stripe for WooCommerce delivers a simple, secure way to accept credit card payments in your WooCommerce store. Reduce payment friction and boost conversions using this free plugin!
6
+ * Version: 1.4.8
7
  * Author: Checkout Plugins
8
  * Author URI: https://checkoutplugins.com/
9
  * License: GPLv2 or later
22
  define( 'CPSW_BASE', plugin_basename( CPSW_FILE ) );
23
  define( 'CPSW_DIR', plugin_dir_path( CPSW_FILE ) );
24
  define( 'CPSW_URL', plugins_url( '/', CPSW_FILE ) );
25
+ define( 'CPSW_VERSION', '1.4.8' );
26
 
27
  require_once 'autoloader.php';
gateway/abstract-payment-gateway.php CHANGED
@@ -394,7 +394,8 @@ abstract class Abstract_Payment_Gateway extends WC_Payment_Gateway {
394
  * @return array intent data.
395
  */
396
  public function get_payment_intent( $order_id, $idempotency_key, $args, $return_error_response = false ) {
397
- $intent_secret = get_post_meta( $order_id, '_cpsw_intent_secret', true );
 
398
  $client_secret = '';
399
 
400
  if ( ! empty( $intent_secret ) ) {
394
  * @return array intent data.
395
  */
396
  public function get_payment_intent( $order_id, $idempotency_key, $args, $return_error_response = false ) {
397
+ $order = wc_get_order( $order_id );
398
+ $intent_secret = $order->get_meta( '_cpsw_intent_secret' );
399
  $client_secret = '';
400
 
401
  if ( ! empty( $intent_secret ) ) {
gateway/local-gateway.php CHANGED
@@ -523,7 +523,7 @@ class Local_Gateway extends Abstract_Payment_Gateway {
523
  $order_id = isset( $_GET['order'] ) ? sanitize_text_field( $_GET['order'] ) : 0; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
524
  $order = wc_get_order( $order_id );
525
 
526
- $intent_secret = get_post_meta( $order_id, '_cpsw_intent_secret', true );
527
  $stripe_api = new Stripe_Api();
528
  $response = $stripe_api->payment_intents( 'retrieve', [ $intent_secret['id'] ] );
529
  $intent = $response['success'] ? $response['data'] : false;
523
  $order_id = isset( $_GET['order'] ) ? sanitize_text_field( $_GET['order'] ) : 0; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
524
  $order = wc_get_order( $order_id );
525
 
526
+ $intent_secret = $order->get_meta( '_cpsw_intent_secret' );
527
  $stripe_api = new Stripe_Api();
528
  $response = $stripe_api->payment_intents( 'retrieve', [ $intent_secret['id'] ] );
529
  $intent = $response['success'] ? $response['data'] : false;
gateway/stripe/card-payments.php CHANGED
@@ -366,7 +366,7 @@ $ */
366
  $redirect = isset( $_GET['redirect_to'] ) ? esc_url_raw( wp_unslash( $_GET['redirect_to'] ) ) : ''; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
367
  $order = wc_get_order( $order_id );
368
 
369
- $intent_secret = get_post_meta( $order_id, '_cpsw_intent_secret', true );
370
  $stripe_api = new Stripe_Api();
371
  $response = $stripe_api->payment_intents( 'retrieve', [ $intent_secret['id'] ] );
372
  $intent = $response['success'] ? $response['data'] : false;
366
  $redirect = isset( $_GET['redirect_to'] ) ? esc_url_raw( wp_unslash( $_GET['redirect_to'] ) ) : ''; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
367
  $order = wc_get_order( $order_id );
368
 
369
+ $intent_secret = $order->get_meta( '_cpsw_intent_secret' );
370
  $stripe_api = new Stripe_Api();
371
  $response = $stripe_api->payment_intents( 'retrieve', [ $intent_secret['id'] ] );
372
  $intent = $response['success'] ? $response['data'] : false;
gateway/stripe/sepa.php CHANGED
@@ -536,7 +536,7 @@ class Sepa extends Local_Gateway {
536
  $order_id = isset( $_GET['order'] ) ? sanitize_text_field( $_GET['order'] ) : 0; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
537
  $order = wc_get_order( $order_id );
538
 
539
- $intent_secret = get_post_meta( $order_id, '_cpsw_intent_secret', true );
540
  $stripe_api = new Stripe_Api();
541
  $response = $stripe_api->payment_intents( 'retrieve', [ $intent_secret['id'] ] );
542
  $intent = $response['success'] ? $response['data'] : false;
536
  $order_id = isset( $_GET['order'] ) ? sanitize_text_field( $_GET['order'] ) : 0; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
537
  $order = wc_get_order( $order_id );
538
 
539
+ $intent_secret = $order->get_meta( '_cpsw_intent_secret' );
540
  $stripe_api = new Stripe_Api();
541
  $response = $stripe_api->payment_intents( 'retrieve', [ $intent_secret['id'] ] );
542
  $intent = $response['success'] ? $response['data'] : false;
gateway/stripe/webhook.php CHANGED
@@ -13,6 +13,7 @@ use CPSW\Inc\Traits\Get_Instance;
13
  use CPSW\Inc\Helper;
14
  use CPSW\Inc\Logger;
15
  use DateTime;
 
16
 
17
  /**
18
  * Webhook endpoints
@@ -520,7 +521,12 @@ class Webhook extends Abstract_Payment_Gateway {
520
  */
521
  public function get_order_id_from_intent( $payment_intent ) {
522
  global $wpdb;
523
- return $wpdb->get_var( $wpdb->prepare( "SELECT post_id from {$wpdb->prefix}postmeta where meta_key = '_cpsw_intent_secret' and meta_value like %s", '%' . $payment_intent . '%' ) );
 
 
 
 
 
524
  }
525
 
526
  /**
13
  use CPSW\Inc\Helper;
14
  use CPSW\Inc\Logger;
15
  use DateTime;
16
+ use Automattic\WooCommerce\Utilities\OrderUtil;
17
 
18
  /**
19
  * Webhook endpoints
521
  */
522
  public function get_order_id_from_intent( $payment_intent ) {
523
  global $wpdb;
524
+ if ( class_exists( '\Automattic\WooCommerce\Utilities\OrderUtil' ) && method_exists( '\Automattic\WooCommerce\Utilities\OrderUtil', 'custom_orders_table_usage_is_enabled' ) && OrderUtil::custom_orders_table_usage_is_enabled() ) {
525
+ return $wpdb->get_var( $wpdb->prepare( "SELECT order_id from {$wpdb->prefix}wc_orders_meta where meta_key = '_cpsw_intent_secret' and meta_value like %s", '%' . $payment_intent . '%' ) );
526
+ } else {
527
+ return $wpdb->get_var( $wpdb->prepare( "SELECT post_id from {$wpdb->prefix}postmeta where meta_key = '_cpsw_intent_secret' and meta_value like %s", '%' . $payment_intent . '%' ) );
528
+ }
529
+
530
  }
531
 
532
  /**
inc/traits/subscriptions.php CHANGED
@@ -537,13 +537,12 @@ trait Subscriptions {
537
  * @return array
538
  */
539
  public function add_subscription_payment_meta( $payment_meta, $subscription ) {
540
- $subscription_id = $subscription->get_id();
541
- $source_id = get_post_meta( $subscription_id, '_cpsw_source_id', true );
542
 
543
  $payment_meta[ $this->id ] = [
544
  'post_meta' => [
545
  '_cpsw_customer_id' => [
546
- 'value' => get_post_meta( $subscription_id, '_cpsw_customer_id', true ),
547
  'label' => 'Stripe Customer ID',
548
  ],
549
  '_cpsw_source_id' => [
537
  * @return array
538
  */
539
  public function add_subscription_payment_meta( $payment_meta, $subscription ) {
540
+ $source_id = $subscription->get_meta( '_cpsw_source_id' );
 
541
 
542
  $payment_meta[ $this->id ] = [
543
  'post_meta' => [
544
  '_cpsw_customer_id' => [
545
+ 'value' => $subscription->get_meta( '_cpsw_customer_id' ),
546
  'label' => 'Stripe Customer ID',
547
  ],
548
  '_cpsw_source_id' => [
languages/checkout-plugins-stripe-woo.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Checkout Plugins - Stripe for WooCommerce 1.4.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/checkout-plugins-stripe-woo\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: 2022-11-08T03:45:31+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: checkout-plugins-stripe-woo\n"
@@ -392,7 +392,7 @@ msgid "Stripe keys are reset successfully."
392
  msgstr ""
393
 
394
  #: admin/admin-controller.php:1218
395
- #: gateway/abstract-payment-gateway.php:1161
396
  msgid "Invalid Nonce"
397
  msgstr ""
398
 
@@ -616,16 +616,16 @@ msgstr ""
616
  msgid "Add separator text for Checkout page. If empty will show default separator text."
617
  msgstr ""
618
 
619
- #: autoloader.php:143
620
  msgid "Settings"
621
  msgstr ""
622
 
623
- #: autoloader.php:144
624
  msgid "Documentation"
625
  msgstr ""
626
 
627
  #. translators: 1$-2$: opening and closing <strong> tags, 3$-4$: link tags, takes to woocommerce plugin on wp.org, 5$-6$: opening and closing link tags, leads to plugins.php in admin.
628
- #: autoloader.php:197
629
  msgid "%1$sCheckout Plugins - Stripe for WooCommerce is inactive.%2$s The %3$sWooCommerce plugin%4$s must be active for Checkout Plugins - Stripe for WooCommerce to work. Please %5$sinstall & activate WooCommerce &raquo;%6$s"
630
  msgstr ""
631
 
@@ -666,27 +666,27 @@ msgstr ""
666
  #: gateway/abstract-payment-gateway.php:270
667
  #: gateway/abstract-payment-gateway.php:271
668
  #: gateway/abstract-payment-gateway.php:279
669
- #: gateway/stripe/webhook.php:349
670
  msgid "Reason : "
671
  msgstr ""
672
 
673
  #: gateway/abstract-payment-gateway.php:270
674
  #: gateway/abstract-payment-gateway.php:271
675
  #: gateway/abstract-payment-gateway.php:279
676
- #: gateway/stripe/webhook.php:349
677
  #: gateway/stripe/webhook.php:350
 
678
  msgid "Amount : "
679
  msgstr ""
680
 
681
  #: gateway/abstract-payment-gateway.php:270
682
  #: gateway/abstract-payment-gateway.php:271
683
- #: gateway/stripe/webhook.php:349
684
  msgid "Status : "
685
  msgstr ""
686
 
687
  #: gateway/abstract-payment-gateway.php:270
688
  #: gateway/abstract-payment-gateway.php:271
689
- #: gateway/stripe/webhook.php:349
690
  msgid "Transaction ID : "
691
  msgstr ""
692
 
@@ -715,7 +715,7 @@ msgstr ""
715
 
716
  #. translators: transaction id
717
  #: gateway/abstract-payment-gateway.php:334
718
- #: gateway/stripe/webhook.php:266
719
  msgid "Stripe charge complete (Charge ID: %s)"
720
  msgstr ""
721
 
@@ -734,60 +734,60 @@ msgstr ""
734
  msgid "Stripe charge authorized (Charge ID: %s). Process order to take payment, or cancel to remove the pre-authorization. Attempting to refund the order in part or in full will release the authorization and cancel the payment."
735
  msgstr ""
736
 
737
- #: gateway/abstract-payment-gateway.php:406
738
  msgid "An error has occurred internally, due to which you are not redirected to the order received page."
739
  msgstr ""
740
 
741
- #: gateway/abstract-payment-gateway.php:556
742
  #: gateway/abstract-payment-gateway.php:557
 
743
  msgid "Uncaptured Amount cannot be refunded"
744
  msgstr ""
745
 
746
  #. translators: order id
747
- #: gateway/abstract-payment-gateway.php:631
748
  msgid "Payment successful Order id - %1s"
749
  msgstr ""
750
 
751
- #: gateway/abstract-payment-gateway.php:635
752
  msgid "Payment Status: "
753
  msgstr ""
754
 
755
- #: gateway/abstract-payment-gateway.php:635
756
  msgid "Source: Payment is Completed via "
757
  msgstr ""
758
 
759
  #. translators: transaction id
760
- #: gateway/abstract-payment-gateway.php:638
761
  msgid "Charge authorized (Charge ID: %s). Process order to take payment, or cancel to remove the pre-authorization. Attempting to refund the order in part or in full will release the authorization and cancel the payment."
762
  msgstr ""
763
 
764
  #. translators: transaction id
765
- #: gateway/abstract-payment-gateway.php:640
766
  msgid "Charge authorized Order id - %1s"
767
  msgstr ""
768
 
769
  #. translators: %1$1s order id, %2$2s order total amount
770
- #: gateway/abstract-payment-gateway.php:785
771
  msgid "Begin processing payment with saved payment method for order %1$1s for the amount of %2$2s"
772
  msgstr ""
773
 
774
- #: gateway/abstract-payment-gateway.php:913
775
  msgid "Fee charged by stripe for this order."
776
  msgstr ""
777
 
778
- #: gateway/abstract-payment-gateway.php:914
779
  msgid "Stripe Fee:"
780
  msgstr ""
781
 
782
- #: gateway/abstract-payment-gateway.php:923
783
  msgid "Net amount that will be credited to your Stripe bank account."
784
  msgstr ""
785
 
786
- #: gateway/abstract-payment-gateway.php:924
787
  msgid "Stripe Payout:"
788
  msgstr ""
789
 
790
- #: gateway/abstract-payment-gateway.php:1003
791
  msgid "Unable to update stripe transaction balance"
792
  msgstr ""
793
 
@@ -1311,95 +1311,95 @@ msgid "Stripe not initialized"
1311
  msgstr ""
1312
 
1313
  #. translators: time, status
1314
- #: gateway/stripe/webhook.php:75
1315
  msgid "Last webhook call was %1$1s. Status : %2$2s"
1316
  msgstr ""
1317
 
1318
  #. translators: error message
1319
- #: gateway/stripe/webhook.php:81
1320
  msgid "Reason : %1s"
1321
  msgstr ""
1322
 
1323
  #. translators: time, status, reason
1324
- #: gateway/stripe/webhook.php:83
1325
  msgid "Last webhook call was %1$1s. Status : %2$2s. %3$3s"
1326
  msgstr ""
1327
 
1328
  #. translators: timestamp
1329
- #: gateway/stripe/webhook.php:87
1330
- #: gateway/stripe/webhook.php:99
1331
  msgid "No webhook call since %1s."
1332
  msgstr ""
1333
 
1334
  #. translators: order id
1335
- #: gateway/stripe/webhook.php:258
1336
  msgid "Stripe charge partially captured with amount %1$1s Order id - %2$2s"
1337
  msgstr ""
1338
 
1339
  #. translators: partial captured amount
1340
- #: gateway/stripe/webhook.php:260
1341
  msgid "This charge was partially captured via Stripe Dashboard with the amount : %s"
1342
  msgstr ""
1343
 
1344
  #. translators: order id
1345
- #: gateway/stripe/webhook.php:264
1346
  msgid "Stripe charge completely captured Order id - %1s"
1347
  msgstr ""
1348
 
1349
  #. translators: amount (including currency symbol)
1350
- #: gateway/stripe/webhook.php:311
1351
  msgid "Pre-Authorization for %s voided from the Stripe Dashboard."
1352
  msgstr ""
1353
 
1354
- #: gateway/stripe/webhook.php:324
1355
  msgid "Refunded via stripe dashboard"
1356
  msgstr ""
1357
 
1358
- #: gateway/stripe/webhook.php:347
1359
  msgid "Success"
1360
  msgstr ""
1361
 
1362
- #: gateway/stripe/webhook.php:350
1363
  msgid " Transaction ID : "
1364
  msgstr ""
1365
 
1366
- #: gateway/stripe/webhook.php:371
1367
  msgid "This order is under dispute. Please respond via stripe dashboard."
1368
  msgstr ""
1369
 
1370
- #: gateway/stripe/webhook.php:395
1371
  msgid "The disputed order lost or accepted."
1372
  msgstr ""
1373
 
1374
- #: gateway/stripe/webhook.php:399
1375
  msgid "The disputed order resolved in your favour."
1376
  msgstr ""
1377
 
1378
- #: gateway/stripe/webhook.php:403
1379
  msgid "The inquiry or retrieval closed."
1380
  msgstr ""
1381
 
1382
  #. translators: transaction id, order id
1383
- #: gateway/stripe/webhook.php:442
1384
  msgid "Stripe PaymentIntent %1$1s succeeded for order %2$2s"
1385
  msgstr ""
1386
 
1387
  #. translators: The error message that was received from Stripe.
1388
- #: gateway/stripe/webhook.php:464
1389
  msgid "Reason: %s"
1390
  msgstr ""
1391
 
1392
  #. translators: The error message that was received from Stripe.
1393
- #: gateway/stripe/webhook.php:466
1394
  msgid "Stripe SCA authentication failed. %s"
1395
  msgstr ""
1396
 
1397
- #: gateway/stripe/webhook.php:488
1398
  msgid "This order is under review. Please respond via stripe dashboard."
1399
  msgstr ""
1400
 
1401
  #. translators: Review reson from stripe
1402
- #: gateway/stripe/webhook.php:510
1403
  msgid "Review for this order has been resolved. Reason: %s"
1404
  msgstr ""
1405
 
@@ -1662,23 +1662,23 @@ msgstr ""
1662
 
1663
  #. translators: %s is the stripe charge Id
1664
  #: inc/traits/subscriptions.php:253
1665
- #: inc/traits/subscriptions.php:645
1666
  msgid "Stripe charge awaiting authentication by user: %s."
1667
  msgstr ""
1668
 
1669
- #: inc/traits/subscriptions.php:574
1670
  msgid "A \"Stripe Customer ID\" value is required."
1671
  msgstr ""
1672
 
1673
- #: inc/traits/subscriptions.php:577
1674
  msgid "Invalid customer ID. A valid \"Stripe Customer ID\" must begin with \"cus_\"."
1675
  msgstr ""
1676
 
1677
- #: inc/traits/subscriptions.php:587
1678
  msgid "Invalid source ID. A valid source \"Stripe Source ID\" must begin with \"src_\", \"pm_\", or \"card_\"."
1679
  msgstr ""
1680
 
1681
- #: inc/traits/subscriptions.php:768
1682
  msgid "Invalid payment method. Please input a new card number."
1683
  msgstr ""
1684
 
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Checkout Plugins - Stripe for WooCommerce 1.4.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/checkout-plugins-stripe-woo\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: 2022-11-14T12:33:26+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: checkout-plugins-stripe-woo\n"
392
  msgstr ""
393
 
394
  #: admin/admin-controller.php:1218
395
+ #: gateway/abstract-payment-gateway.php:1162
396
  msgid "Invalid Nonce"
397
  msgstr ""
398
 
616
  msgid "Add separator text for Checkout page. If empty will show default separator text."
617
  msgstr ""
618
 
619
+ #: autoloader.php:144
620
  msgid "Settings"
621
  msgstr ""
622
 
623
+ #: autoloader.php:145
624
  msgid "Documentation"
625
  msgstr ""
626
 
627
  #. translators: 1$-2$: opening and closing <strong> tags, 3$-4$: link tags, takes to woocommerce plugin on wp.org, 5$-6$: opening and closing link tags, leads to plugins.php in admin.
628
+ #: autoloader.php:198
629
  msgid "%1$sCheckout Plugins - Stripe for WooCommerce is inactive.%2$s The %3$sWooCommerce plugin%4$s must be active for Checkout Plugins - Stripe for WooCommerce to work. Please %5$sinstall & activate WooCommerce &raquo;%6$s"
630
  msgstr ""
631
 
666
  #: gateway/abstract-payment-gateway.php:270
667
  #: gateway/abstract-payment-gateway.php:271
668
  #: gateway/abstract-payment-gateway.php:279
669
+ #: gateway/stripe/webhook.php:350
670
  msgid "Reason : "
671
  msgstr ""
672
 
673
  #: gateway/abstract-payment-gateway.php:270
674
  #: gateway/abstract-payment-gateway.php:271
675
  #: gateway/abstract-payment-gateway.php:279
 
676
  #: gateway/stripe/webhook.php:350
677
+ #: gateway/stripe/webhook.php:351
678
  msgid "Amount : "
679
  msgstr ""
680
 
681
  #: gateway/abstract-payment-gateway.php:270
682
  #: gateway/abstract-payment-gateway.php:271
683
+ #: gateway/stripe/webhook.php:350
684
  msgid "Status : "
685
  msgstr ""
686
 
687
  #: gateway/abstract-payment-gateway.php:270
688
  #: gateway/abstract-payment-gateway.php:271
689
+ #: gateway/stripe/webhook.php:350
690
  msgid "Transaction ID : "
691
  msgstr ""
692
 
715
 
716
  #. translators: transaction id
717
  #: gateway/abstract-payment-gateway.php:334
718
+ #: gateway/stripe/webhook.php:267
719
  msgid "Stripe charge complete (Charge ID: %s)"
720
  msgstr ""
721
 
734
  msgid "Stripe charge authorized (Charge ID: %s). Process order to take payment, or cancel to remove the pre-authorization. Attempting to refund the order in part or in full will release the authorization and cancel the payment."
735
  msgstr ""
736
 
737
+ #: gateway/abstract-payment-gateway.php:407
738
  msgid "An error has occurred internally, due to which you are not redirected to the order received page."
739
  msgstr ""
740
 
 
741
  #: gateway/abstract-payment-gateway.php:557
742
+ #: gateway/abstract-payment-gateway.php:558
743
  msgid "Uncaptured Amount cannot be refunded"
744
  msgstr ""
745
 
746
  #. translators: order id
747
+ #: gateway/abstract-payment-gateway.php:632
748
  msgid "Payment successful Order id - %1s"
749
  msgstr ""
750
 
751
+ #: gateway/abstract-payment-gateway.php:636
752
  msgid "Payment Status: "
753
  msgstr ""
754
 
755
+ #: gateway/abstract-payment-gateway.php:636
756
  msgid "Source: Payment is Completed via "
757
  msgstr ""
758
 
759
  #. translators: transaction id
760
+ #: gateway/abstract-payment-gateway.php:639
761
  msgid "Charge authorized (Charge ID: %s). Process order to take payment, or cancel to remove the pre-authorization. Attempting to refund the order in part or in full will release the authorization and cancel the payment."
762
  msgstr ""
763
 
764
  #. translators: transaction id
765
+ #: gateway/abstract-payment-gateway.php:641
766
  msgid "Charge authorized Order id - %1s"
767
  msgstr ""
768
 
769
  #. translators: %1$1s order id, %2$2s order total amount
770
+ #: gateway/abstract-payment-gateway.php:786
771
  msgid "Begin processing payment with saved payment method for order %1$1s for the amount of %2$2s"
772
  msgstr ""
773
 
774
+ #: gateway/abstract-payment-gateway.php:914
775
  msgid "Fee charged by stripe for this order."
776
  msgstr ""
777
 
778
+ #: gateway/abstract-payment-gateway.php:915
779
  msgid "Stripe Fee:"
780
  msgstr ""
781
 
782
+ #: gateway/abstract-payment-gateway.php:924
783
  msgid "Net amount that will be credited to your Stripe bank account."
784
  msgstr ""
785
 
786
+ #: gateway/abstract-payment-gateway.php:925
787
  msgid "Stripe Payout:"
788
  msgstr ""
789
 
790
+ #: gateway/abstract-payment-gateway.php:1004
791
  msgid "Unable to update stripe transaction balance"
792
  msgstr ""
793
 
1311
  msgstr ""
1312
 
1313
  #. translators: time, status
1314
+ #: gateway/stripe/webhook.php:76
1315
  msgid "Last webhook call was %1$1s. Status : %2$2s"
1316
  msgstr ""
1317
 
1318
  #. translators: error message
1319
+ #: gateway/stripe/webhook.php:82
1320
  msgid "Reason : %1s"
1321
  msgstr ""
1322
 
1323
  #. translators: time, status, reason
1324
+ #: gateway/stripe/webhook.php:84
1325
  msgid "Last webhook call was %1$1s. Status : %2$2s. %3$3s"
1326
  msgstr ""
1327
 
1328
  #. translators: timestamp
1329
+ #: gateway/stripe/webhook.php:88
1330
+ #: gateway/stripe/webhook.php:100
1331
  msgid "No webhook call since %1s."
1332
  msgstr ""
1333
 
1334
  #. translators: order id
1335
+ #: gateway/stripe/webhook.php:259
1336
  msgid "Stripe charge partially captured with amount %1$1s Order id - %2$2s"
1337
  msgstr ""
1338
 
1339
  #. translators: partial captured amount
1340
+ #: gateway/stripe/webhook.php:261
1341
  msgid "This charge was partially captured via Stripe Dashboard with the amount : %s"
1342
  msgstr ""
1343
 
1344
  #. translators: order id
1345
+ #: gateway/stripe/webhook.php:265
1346
  msgid "Stripe charge completely captured Order id - %1s"
1347
  msgstr ""
1348
 
1349
  #. translators: amount (including currency symbol)
1350
+ #: gateway/stripe/webhook.php:312
1351
  msgid "Pre-Authorization for %s voided from the Stripe Dashboard."
1352
  msgstr ""
1353
 
1354
+ #: gateway/stripe/webhook.php:325
1355
  msgid "Refunded via stripe dashboard"
1356
  msgstr ""
1357
 
1358
+ #: gateway/stripe/webhook.php:348
1359
  msgid "Success"
1360
  msgstr ""
1361
 
1362
+ #: gateway/stripe/webhook.php:351
1363
  msgid " Transaction ID : "
1364
  msgstr ""
1365
 
1366
+ #: gateway/stripe/webhook.php:372
1367
  msgid "This order is under dispute. Please respond via stripe dashboard."
1368
  msgstr ""
1369
 
1370
+ #: gateway/stripe/webhook.php:396
1371
  msgid "The disputed order lost or accepted."
1372
  msgstr ""
1373
 
1374
+ #: gateway/stripe/webhook.php:400
1375
  msgid "The disputed order resolved in your favour."
1376
  msgstr ""
1377
 
1378
+ #: gateway/stripe/webhook.php:404
1379
  msgid "The inquiry or retrieval closed."
1380
  msgstr ""
1381
 
1382
  #. translators: transaction id, order id
1383
+ #: gateway/stripe/webhook.php:443
1384
  msgid "Stripe PaymentIntent %1$1s succeeded for order %2$2s"
1385
  msgstr ""
1386
 
1387
  #. translators: The error message that was received from Stripe.
1388
+ #: gateway/stripe/webhook.php:465
1389
  msgid "Reason: %s"
1390
  msgstr ""
1391
 
1392
  #. translators: The error message that was received from Stripe.
1393
+ #: gateway/stripe/webhook.php:467
1394
  msgid "Stripe SCA authentication failed. %s"
1395
  msgstr ""
1396
 
1397
+ #: gateway/stripe/webhook.php:489
1398
  msgid "This order is under review. Please respond via stripe dashboard."
1399
  msgstr ""
1400
 
1401
  #. translators: Review reson from stripe
1402
+ #: gateway/stripe/webhook.php:511
1403
  msgid "Review for this order has been resolved. Reason: %s"
1404
  msgstr ""
1405
 
1662
 
1663
  #. translators: %s is the stripe charge Id
1664
  #: inc/traits/subscriptions.php:253
1665
+ #: inc/traits/subscriptions.php:644
1666
  msgid "Stripe charge awaiting authentication by user: %s."
1667
  msgstr ""
1668
 
1669
+ #: inc/traits/subscriptions.php:573
1670
  msgid "A \"Stripe Customer ID\" value is required."
1671
  msgstr ""
1672
 
1673
+ #: inc/traits/subscriptions.php:576
1674
  msgid "Invalid customer ID. A valid \"Stripe Customer ID\" must begin with \"cus_\"."
1675
  msgstr ""
1676
 
1677
+ #: inc/traits/subscriptions.php:586
1678
  msgid "Invalid source ID. A valid source \"Stripe Source ID\" must begin with \"src_\", \"pm_\", or \"card_\"."
1679
  msgstr ""
1680
 
1681
+ #: inc/traits/subscriptions.php:767
1682
  msgid "Invalid payment method. Please input a new card number."
1683
  msgstr ""
1684
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: brainstormforce
3
  Tags: stripe, credit card, apple pay, google pay, express checkout
4
  Requires at least: 5.4
5
  Tested up to: 6.1
6
- Stable tag: 1.4.7
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -113,6 +113,9 @@ We understand the need for a quality product backed by dedicated support that ca
113
  4. Express Checkout Button on Checkout Page
114
 
115
  == Changelog ==
 
 
 
116
  = 1.4.7 - TUESDAY, 8TH NOVEMBER 2022 =
117
  * Improvement: Added filter 'cpsw_exclude_frontend_scripts' to prevent frontend script loading.
118
  * Improvement: Added WooCommerce HPOS compatibility.
3
  Tags: stripe, credit card, apple pay, google pay, express checkout
4
  Requires at least: 5.4
5
  Tested up to: 6.1
6
+ Stable tag: 1.4.8
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
113
  4. Express Checkout Button on Checkout Page
114
 
115
  == Changelog ==
116
+ = 1.4.8 - TUESDAY, 15TH NOVEMBER 2022 =
117
+ * Fix: WooCommerce HPOS issues.
118
+
119
  = 1.4.7 - TUESDAY, 8TH NOVEMBER 2022 =
120
  * Improvement: Added filter 'cpsw_exclude_frontend_scripts' to prevent frontend script loading.
121
  * Improvement: Added WooCommerce HPOS compatibility.