Version Description
- 2021-09-16 =
- Tweak - Remove broken URL from plugin headers. PR#887
- Tweak - Update notice on plugins page about support and EOL. PR#886
Download this release
Release Info
Developer | woothemes |
Plugin | WooCommerce PayPal Express Checkout Payment Gateway |
Version | 2.1.3 |
Comparing to | |
See all releases |
Code changes from version 2.1.2 to 2.1.3
- assets/css/admin/ppec-upgrade-notice.css +7 -5
- assets/js/admin/ppec-upgrade-notice.js +48 -30
- changelog.txt +4 -0
- includes/class-wc-gateway-ppec-plugin.php +13 -1
- languages/woocommerce-gateway-paypal-express-checkout.pot +14 -20
- readme.txt +8 -2
- templates/paypal-payments-upgrade-notice.php +8 -14
- woocommerce-gateway-paypal-express-checkout.php +3 -4
assets/css/admin/ppec-upgrade-notice.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
.plugins tr[data-slug=woocommerce-gateway-paypal-express-checkout] th, .plugins tr[data-slug=woocommerce-gateway-paypal-express-checkout] td {
|
2 |
box-shadow: none !important;
|
3 |
}
|
4 |
|
@@ -8,11 +8,9 @@
|
|
8 |
#ppec-migrate-notice .ppec-notice-section {
|
9 |
padding: 0 20px;
|
10 |
}
|
11 |
-
#ppec-migrate-notice .ppec-notice-title {
|
12 |
-
border-bottom: 1px solid #FFB900;
|
13 |
-
}
|
14 |
#ppec-migrate-notice .ppec-notice-title p {
|
15 |
-
|
|
|
16 |
}
|
17 |
#ppec-migrate-notice .ppec-notice-title p:before {
|
18 |
vertical-align: middle;
|
@@ -31,6 +29,7 @@
|
|
31 |
text-decoration: none;
|
32 |
line-height: 34px;
|
33 |
margin-right: 16px;
|
|
|
34 |
}
|
35 |
#ppec-migrate-notice .ppec-notice-buttons a:last-of-type {
|
36 |
margin-right: 0;
|
@@ -39,6 +38,9 @@
|
|
39 |
vertical-align: middle;
|
40 |
margin: -2.5px 5px 0 0;
|
41 |
}
|
|
|
|
|
|
|
42 |
#ppec-migrate-notice .ppec-notice-buttons a.updating-message:before {
|
43 |
-webkit-animation: rotation 2s infinite linear;
|
44 |
animation: rotation 2s infinite linear;
|
1 |
+
.plugins tr[data-slug=woocommerce-gateway-paypal-express-checkout].hide-border th, .plugins tr[data-slug=woocommerce-gateway-paypal-express-checkout].hide-border td {
|
2 |
box-shadow: none !important;
|
3 |
}
|
4 |
|
8 |
#ppec-migrate-notice .ppec-notice-section {
|
9 |
padding: 0 20px;
|
10 |
}
|
|
|
|
|
|
|
11 |
#ppec-migrate-notice .ppec-notice-title p {
|
12 |
+
padding: 10px 0 0 0;
|
13 |
+
font-size: 110%;
|
14 |
}
|
15 |
#ppec-migrate-notice .ppec-notice-title p:before {
|
16 |
vertical-align: middle;
|
29 |
text-decoration: none;
|
30 |
line-height: 34px;
|
31 |
margin-right: 16px;
|
32 |
+
margin-top: 16px;
|
33 |
}
|
34 |
#ppec-migrate-notice .ppec-notice-buttons a:last-of-type {
|
35 |
margin-right: 0;
|
38 |
vertical-align: middle;
|
39 |
margin: -2.5px 5px 0 0;
|
40 |
}
|
41 |
+
#ppec-migrate-notice .ppec-notice-buttons a.dismiss {
|
42 |
+
float: right;
|
43 |
+
}
|
44 |
#ppec-migrate-notice .ppec-notice-buttons a.updating-message:before {
|
45 |
-webkit-animation: rotation 2s infinite linear;
|
46 |
animation: rotation 2s infinite linear;
|
assets/js/admin/ppec-upgrade-notice.js
CHANGED
@@ -1,50 +1,68 @@
|
|
1 |
;(function ( $, window, document ) {
|
2 |
'use strict';
|
3 |
|
4 |
-
//
|
5 |
-
let
|
6 |
-
|
|
|
7 |
|
8 |
-
|
9 |
-
if ( targetElement.length ) {
|
10 |
-
is_paypal_payments_installed = true;
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
|
|
|
16 |
// Dynamically update plugin activation link to handle plugin folder renames.
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
$( '
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
}
|
29 |
-
|
30 |
-
// Display buttons area
|
31 |
-
$( '#ppec-migrate-notice .ppec-notice-buttons' ).removeClass( 'hidden' );
|
32 |
|
33 |
// Handle delete event for PayPal Payments.
|
34 |
$( document ).on( 'wp-plugin-delete-success', function( event, response ) {
|
35 |
-
if (
|
36 |
-
|
37 |
-
|
|
|
38 |
}
|
39 |
} );
|
40 |
|
41 |
// Change button text when install link is clicked.
|
42 |
-
$
|
43 |
e.preventDefault();
|
44 |
$( this ).addClass( 'updating-message' ).text( 'Installing...' );
|
45 |
const install_link = $( this ).attr('href');
|
46 |
setTimeout( function(){
|
47 |
window.location = install_link;
|
48 |
-
},
|
49 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
})( jQuery, window, document );
|
1 |
;(function ( $, window, document ) {
|
2 |
'use strict';
|
3 |
|
4 |
+
// Plugin rows.
|
5 |
+
let $notice_row = $( 'tr#ppec-migrate-notice' );
|
6 |
+
let $ppec_row = $notice_row.prev();
|
7 |
+
let $ppcp_row = $( 'tr[data-slug="woocommerce-paypal-payments"]' );
|
8 |
|
9 |
+
$ppec_row.toggleClass( 'hide-border', true );
|
|
|
|
|
10 |
|
11 |
+
// Check whether PayPal Payments is installed.
|
12 |
+
let is_paypal_payments_installed = $ppcp_row.length > 0;
|
13 |
+
let is_paypal_payments_active = is_paypal_payments_installed && $ppcp_row.hasClass( 'active' );
|
14 |
|
15 |
+
let updateUI = function() {
|
16 |
// Dynamically update plugin activation link to handle plugin folder renames.
|
17 |
+
if ( is_paypal_payments_installed > 0 ) {
|
18 |
+
$notice_row.find( 'a#ppec-activate-paypal-payments' ).attr( 'href', $ppcp_row.find( 'span.activate a' ).attr( 'href' ) );
|
19 |
+
}
|
20 |
+
|
21 |
+
// Hide notice/buttons conditionally.
|
22 |
+
$notice_row.find( 'a#ppec-install-paypal-payments' ).toggle( ! is_paypal_payments_installed );
|
23 |
+
$notice_row.find( 'a#ppec-activate-paypal-payments' ).toggle( is_paypal_payments_installed && ! is_paypal_payments_active );
|
24 |
+
|
25 |
+
// Display buttons area.
|
26 |
+
$notice_row.find( '.ppec-notice-buttons' ).removeClass( 'hidden' );
|
27 |
+
};
|
|
|
|
|
|
|
|
|
28 |
|
29 |
// Handle delete event for PayPal Payments.
|
30 |
$( document ).on( 'wp-plugin-delete-success', function( event, response ) {
|
31 |
+
if ( 'woocommerce-paypal-payments' === response.slug ) {
|
32 |
+
is_paypal_payments_installed = false;
|
33 |
+
is_paypal_payments_active = false;
|
34 |
+
updateUI();
|
35 |
}
|
36 |
} );
|
37 |
|
38 |
// Change button text when install link is clicked.
|
39 |
+
$notice_row.find( '#ppec-install-paypal-payments' ).click( function( e ) {
|
40 |
e.preventDefault();
|
41 |
$( this ).addClass( 'updating-message' ).text( 'Installing...' );
|
42 |
const install_link = $( this ).attr('href');
|
43 |
setTimeout( function(){
|
44 |
window.location = install_link;
|
45 |
+
}, 50 );
|
46 |
+
} );
|
47 |
+
|
48 |
+
// Dismiss button.
|
49 |
+
$( document).on( 'click', '#ppec-migrate-notice button.notice-dismiss', function( e ) {
|
50 |
+
$.ajax(
|
51 |
+
{
|
52 |
+
url: ajaxurl,
|
53 |
+
method: 'POST',
|
54 |
+
data: {
|
55 |
+
action: 'ppec_dismiss_ppec_upgrade_notice',
|
56 |
+
_ajax_nonce: $notice_row.attr( 'data-dismiss-nonce' )
|
57 |
+
},
|
58 |
+
dataType: 'json',
|
59 |
+
success: function( res ) {
|
60 |
+
$ppec_row.removeClass( 'hide-border' );
|
61 |
+
}
|
62 |
+
}
|
63 |
+
);
|
64 |
+
} );
|
65 |
+
|
66 |
+
updateUI();
|
67 |
+
|
68 |
})( jQuery, window, document );
|
changelog.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
*** Changelog ***
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 2.1.2 - 2021-06-28 =
|
4 |
* Fix - Prevent fatal error when a line item isn't a WC_Product instance. PR#872
|
5 |
* Fix - [WC Subscriptions] Update the shipping packages address using a dynamic key rather than assuming a 0 index. PR#871
|
1 |
*** Changelog ***
|
2 |
|
3 |
+
= 2.1.3 - 2021-09-16 =
|
4 |
+
* Tweak - Remove broken URL from plugin headers. PR#887
|
5 |
+
* Tweak - Update notice on plugins page about support and EOL. PR#886
|
6 |
+
|
7 |
= 2.1.2 - 2021-06-28 =
|
8 |
* Fix - Prevent fatal error when a line item isn't a WC_Product instance. PR#872
|
9 |
* Fix - [WC Subscriptions] Update the shipping packages address using a dynamic key rather than assuming a 0 index. PR#871
|
includes/class-wc-gateway-ppec-plugin.php
CHANGED
@@ -170,7 +170,9 @@ class WC_Gateway_PPEC_Plugin {
|
|
170 |
add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
|
171 |
add_action( 'wp_ajax_ppec_dismiss_notice_message', array( $this, 'ajax_dismiss_notice' ) );
|
172 |
|
173 |
-
|
|
|
|
|
174 |
}
|
175 |
|
176 |
public function bootstrap() {
|
@@ -506,6 +508,10 @@ class WC_Gateway_PPEC_Plugin {
|
|
506 |
* @param string $status Status filter currently applied to the plugin list.
|
507 |
*/
|
508 |
public function ppec_upgrade_notice( $plugin_file, $plugin_data, $status ) {
|
|
|
|
|
|
|
|
|
509 |
// Load styles & scripts required for the notice.
|
510 |
wp_enqueue_style( 'ppec-upgrade-notice', plugin_dir_url( __DIR__ ) . '/assets/css/admin/ppec-upgrade-notice.css', array(), WC_GATEWAY_PPEC_VERSION );
|
511 |
wp_enqueue_script( 'ppec-upgrade-notice-js', plugin_dir_url( __DIR__ ) . '/assets/js/admin/ppec-upgrade-notice.js', array(), WC_GATEWAY_PPEC_VERSION, false );
|
@@ -514,6 +520,12 @@ class WC_Gateway_PPEC_Plugin {
|
|
514 |
include_once $this->plugin_path . 'templates/paypal-payments-upgrade-notice.php';
|
515 |
}
|
516 |
|
|
|
|
|
|
|
|
|
|
|
|
|
517 |
/* Deprecated Functions */
|
518 |
|
519 |
/**
|
170 |
add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
|
171 |
add_action( 'wp_ajax_ppec_dismiss_notice_message', array( $this, 'ajax_dismiss_notice' ) );
|
172 |
|
173 |
+
// Upgrade notice.
|
174 |
+
add_action( 'after_plugin_row_' . plugin_basename( $this->file ), array( $this, 'ppec_upgrade_notice' ), 0, 3 );
|
175 |
+
add_action( 'wp_ajax_ppec_dismiss_ppec_upgrade_notice', array( $this, 'ppec_upgrade_notice_dismiss_ajax' ) );
|
176 |
}
|
177 |
|
178 |
public function bootstrap() {
|
508 |
* @param string $status Status filter currently applied to the plugin list.
|
509 |
*/
|
510 |
public function ppec_upgrade_notice( $plugin_file, $plugin_data, $status ) {
|
511 |
+
if ( 'yes' === get_transient( 'ppec-upgrade-notice-dismissed' ) ) {
|
512 |
+
return;
|
513 |
+
}
|
514 |
+
|
515 |
// Load styles & scripts required for the notice.
|
516 |
wp_enqueue_style( 'ppec-upgrade-notice', plugin_dir_url( __DIR__ ) . '/assets/css/admin/ppec-upgrade-notice.css', array(), WC_GATEWAY_PPEC_VERSION );
|
517 |
wp_enqueue_script( 'ppec-upgrade-notice-js', plugin_dir_url( __DIR__ ) . '/assets/js/admin/ppec-upgrade-notice.js', array(), WC_GATEWAY_PPEC_VERSION, false );
|
520 |
include_once $this->plugin_path . 'templates/paypal-payments-upgrade-notice.php';
|
521 |
}
|
522 |
|
523 |
+
public function ppec_upgrade_notice_dismiss_ajax() {
|
524 |
+
check_ajax_referer( 'ppec-upgrade-notice-dismiss' );
|
525 |
+
set_transient( 'ppec-upgrade-notice-dismissed', 'yes', MONTH_IN_SECONDS );
|
526 |
+
wp_send_json_success();
|
527 |
+
}
|
528 |
+
|
529 |
/* Deprecated Functions */
|
530 |
|
531 |
/**
|
languages/woocommerce-gateway-paypal-express-checkout.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the WooCommerce PayPal Checkout Gateway plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce PayPal Checkout Gateway 2.1.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout\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-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: woocommerce-gateway-paypal-express-checkout\n"
|
@@ -18,10 +18,6 @@ msgstr ""
|
|
18 |
msgid "WooCommerce PayPal Checkout Gateway"
|
19 |
msgstr ""
|
20 |
|
21 |
-
#. Plugin URI of the plugin
|
22 |
-
msgid "https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/"
|
23 |
-
msgstr ""
|
24 |
-
|
25 |
#. Description of the plugin
|
26 |
msgid "Accept all major credit and debit cards, plus Venmo and PayPal Credit in the US, presenting options in a customizable stack of payment buttons. Fast, seamless, and flexible."
|
27 |
msgstr ""
|
@@ -547,53 +543,53 @@ msgstr ""
|
|
547 |
msgid "Success! Your PayPal account has been set up successfully."
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
551 |
msgid "bootstrap() in WooCommerce Gateway PayPal Checkout plugin can only be called once"
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
555 |
msgid "WooCommerce Gateway PayPal Checkout requires WooCommerce to be activated"
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
559 |
msgid "WooCommerce Gateway PayPal Checkout requires WooCommerce version 3.2.0 or greater"
|
560 |
msgstr ""
|
561 |
|
562 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
563 |
msgid "WooCommerce Gateway PayPal Checkout requires cURL to be installed on your server"
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
567 |
msgid "WooCommerce Gateway PayPal Checkout requires OpenSSL >= 1.0.1 to be installed on your server"
|
568 |
msgstr ""
|
569 |
|
570 |
#. Translators: placeholder is the URL of the gateway settings page.
|
571 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
572 |
msgid "PayPal Checkout is almost ready. To get started, <a href=\"%s\">connect your PayPal account</a>."
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
576 |
msgid "Settings"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
580 |
msgid "View Documentation"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
584 |
msgid "Docs"
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
588 |
msgid "Open a support request at WooCommerce.com"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
592 |
msgid "Support"
|
593 |
msgstr ""
|
594 |
|
595 |
#. Translators: placeholder is the URL of the gateway settings page.
|
596 |
-
#: includes/class-wc-gateway-ppec-plugin.php:
|
597 |
msgid "<p>PayPal Checkout with new <strong>Smart Payment Buttons™</strong> gives your customers the power to pay the way they want without leaving your site.</p><p>The <strong>existing buttons will be removed</strong> in the <strong>next release</strong>. Please upgrade to Smart Payment Buttons on the <a href=\"%s\">PayPal Checkout settings page</a>.</p>"
|
598 |
msgstr ""
|
599 |
|
@@ -696,8 +692,6 @@ msgstr ""
|
|
696 |
msgid "To reset current credentials and use another account %1$sclick here%2$s. %3$sLearn more about your API Credentials%2$s."
|
697 |
msgstr ""
|
698 |
|
699 |
-
#. Translators: Placeholders are opening an closing link HTML tags.
|
700 |
-
#. Translators: Placeholders are opening and closing link HTML tags.
|
701 |
#: includes/settings/settings-ppec.php:34
|
702 |
#: includes/settings/settings-ppec.php:57
|
703 |
msgid "Reset current credentials"
|
2 |
# This file is distributed under the same license as the WooCommerce PayPal Checkout Gateway plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce PayPal Checkout Gateway 2.1.3\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-gateway-paypal-express-checkout\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-09-16T12:03:43+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: woocommerce-gateway-paypal-express-checkout\n"
|
18 |
msgid "WooCommerce PayPal Checkout Gateway"
|
19 |
msgstr ""
|
20 |
|
|
|
|
|
|
|
|
|
21 |
#. Description of the plugin
|
22 |
msgid "Accept all major credit and debit cards, plus Venmo and PayPal Credit in the US, presenting options in a customizable stack of payment buttons. Fast, seamless, and flexible."
|
23 |
msgstr ""
|
543 |
msgid "Success! Your PayPal account has been set up successfully."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: includes/class-wc-gateway-ppec-plugin.php:181
|
547 |
msgid "bootstrap() in WooCommerce Gateway PayPal Checkout plugin can only be called once"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: includes/class-wc-gateway-ppec-plugin.php:283
|
551 |
msgid "WooCommerce Gateway PayPal Checkout requires WooCommerce to be activated"
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: includes/class-wc-gateway-ppec-plugin.php:287
|
555 |
msgid "WooCommerce Gateway PayPal Checkout requires WooCommerce version 3.2.0 or greater"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: includes/class-wc-gateway-ppec-plugin.php:291
|
559 |
msgid "WooCommerce Gateway PayPal Checkout requires cURL to be installed on your server"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: includes/class-wc-gateway-ppec-plugin.php:294
|
563 |
msgid "WooCommerce Gateway PayPal Checkout requires OpenSSL >= 1.0.1 to be installed on your server"
|
564 |
msgstr ""
|
565 |
|
566 |
#. Translators: placeholder is the URL of the gateway settings page.
|
567 |
+
#: includes/class-wc-gateway-ppec-plugin.php:322
|
568 |
msgid "PayPal Checkout is almost ready. To get started, <a href=\"%s\">connect your PayPal account</a>."
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: includes/class-wc-gateway-ppec-plugin.php:452
|
572 |
msgid "Settings"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: includes/class-wc-gateway-ppec-plugin.php:471
|
576 |
msgid "View Documentation"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: includes/class-wc-gateway-ppec-plugin.php:471
|
580 |
msgid "Docs"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: includes/class-wc-gateway-ppec-plugin.php:472
|
584 |
msgid "Open a support request at WooCommerce.com"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: includes/class-wc-gateway-ppec-plugin.php:472
|
588 |
msgid "Support"
|
589 |
msgstr ""
|
590 |
|
591 |
#. Translators: placeholder is the URL of the gateway settings page.
|
592 |
+
#: includes/class-wc-gateway-ppec-plugin.php:554
|
593 |
msgid "<p>PayPal Checkout with new <strong>Smart Payment Buttons™</strong> gives your customers the power to pay the way they want without leaving your site.</p><p>The <strong>existing buttons will be removed</strong> in the <strong>next release</strong>. Please upgrade to Smart Payment Buttons on the <a href=\"%s\">PayPal Checkout settings page</a>.</p>"
|
594 |
msgstr ""
|
595 |
|
692 |
msgid "To reset current credentials and use another account %1$sclick here%2$s. %3$sLearn more about your API Credentials%2$s."
|
693 |
msgstr ""
|
694 |
|
|
|
|
|
695 |
#: includes/settings/settings-ppec.php:34
|
696 |
#: includes/settings/settings-ppec.php:57
|
697 |
msgid "Reset current credentials"
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: woocommerce, automattic, woothemes, akeda, dwainm, royho, allendav, slash1andy, woosteve, spraveenitpro, mikedmoore, fernashes, shellbeezy, danieldudzic, mikaey, fullysupportedphil, dsmithweb, corsonr, bor0, zandyring, pauldechov, robobot3000, jorgeatorres, mattdallan, menakas, chickenn00dle, jamesgallan, achyuthajoy, codestor
|
3 |
Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal
|
4 |
Requires at least: 4.4
|
5 |
-
Tested up to: 5.
|
6 |
Requires PHP: 5.5
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -12,6 +12,8 @@ Accept PayPal, Credit Cards and Debit Cards on your WooCommerce store.
|
|
12 |
|
13 |
== Description ==
|
14 |
|
|
|
|
|
15 |
This is a PayPal Checkout Payment Gateway for WooCommerce.
|
16 |
|
17 |
PayPal Checkout allows you to securely sell your products and subscriptions online using In-Context Checkout to help you meet security requirements without causing your theme to suffer. In-Context Checkout uses a modal window, hosted on PayPal's servers, that overlays the checkout form and provides a secure means for your customers to enter their account information.
|
@@ -102,6 +104,10 @@ Please use this to inform us about bugs, or make contributions via PRs.
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
|
|
105 |
= 2.1.2 - 2021-06-28 =
|
106 |
* Fix - Prevent fatal error when a line item isn't a WC_Product instance. PR#872
|
107 |
* Fix - [WC Subscriptions] Update the shipping packages address using a dynamic key rather than assuming a 0 index. PR#871
|
2 |
Contributors: woocommerce, automattic, woothemes, akeda, dwainm, royho, allendav, slash1andy, woosteve, spraveenitpro, mikedmoore, fernashes, shellbeezy, danieldudzic, mikaey, fullysupportedphil, dsmithweb, corsonr, bor0, zandyring, pauldechov, robobot3000, jorgeatorres, mattdallan, menakas, chickenn00dle, jamesgallan, achyuthajoy, codestor
|
3 |
Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sales, sell, shop, shopping, cart, checkout, configurable, paypal
|
4 |
Requires at least: 4.4
|
5 |
+
Tested up to: 5.8
|
6 |
Requires PHP: 5.5
|
7 |
+
Stable tag: 2.1.3
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
⚠️ **Support for PayPal Checkout will discontinue from *1 Mar 2022* and updates to the plugin have stopped as of *1 Sept 2021*. We recommend [switching to PayPal Payments](https://docs.woocommerce.com/document/woocommerce-paypal-payments/paypal-payments-upgrade-guide/).**
|
16 |
+
|
17 |
This is a PayPal Checkout Payment Gateway for WooCommerce.
|
18 |
|
19 |
PayPal Checkout allows you to securely sell your products and subscriptions online using In-Context Checkout to help you meet security requirements without causing your theme to suffer. In-Context Checkout uses a modal window, hosted on PayPal's servers, that overlays the checkout form and provides a secure means for your customers to enter their account information.
|
104 |
|
105 |
== Changelog ==
|
106 |
|
107 |
+
= 2.1.3 - 2021-09-16 =
|
108 |
+
* Tweak - Remove broken URL from plugin headers. PR#887
|
109 |
+
* Tweak - Update notice on plugins page about support and EOL. PR#886
|
110 |
+
|
111 |
= 2.1.2 - 2021-06-28 =
|
112 |
* Fix - Prevent fatal error when a line item isn't a WC_Product instance. PR#872
|
113 |
* Fix - [WC Subscriptions] Update the shipping packages address using a dynamic key rather than assuming a 0 index. PR#871
|
templates/paypal-payments-upgrade-notice.php
CHANGED
@@ -31,28 +31,22 @@ $paypal_payments_activate_link = wp_nonce_url(
|
|
31 |
);
|
32 |
?>
|
33 |
|
34 |
-
<tr class="plugin-update-tr active notice-warning notice-alt" id="ppec-migrate-notice">
|
35 |
<td colspan="4" class="plugin-update colspanchange">
|
36 |
-
<div class="
|
37 |
<div class='ppec-notice-title ppec-notice-section'>
|
38 |
-
<p>
|
39 |
</div>
|
40 |
<div class='ppec-notice-content ppec-notice-section'>
|
41 |
-
<p
|
42 |
-
|
43 |
-
<p>Upgrade now and get access to these great features:</p>
|
44 |
-
|
45 |
-
<ul>
|
46 |
-
<li>Give your customers their preferred ways to pay with one checkout solution. Accept <strong>PayPal</strong>, <strong>PayPal Credit</strong>, <strong>Pay Later</strong> options (available in the US, UK, France, and Germany), <strong>credit & debit cards</strong>, and country-specific, <strong>local payment methods</strong> on any device.</li>
|
47 |
-
<li>Offer subscriptions and accept recurring payments as PayPal is compatible with <a target="_blank" href="https://woocommerce.com/products/woocommerce-subscriptions/"><strong>WooCommerce Subscriptions</strong></a>.</li>
|
48 |
-
</ul>
|
49 |
</div>
|
50 |
<div class='ppec-notice-buttons ppec-notice-section hidden'>
|
51 |
<?php //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
52 |
-
<a id="ppec-install-paypal-payments" href="<?php echo $paypal_payments_install_link; ?>" class="button button-primary
|
53 |
<?php //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
54 |
-
<a id="ppec-activate-paypal-payments" href="<?php echo $paypal_payments_activate_link; ?>" class="button button-primary
|
55 |
-
<a href="https://woocommerce.com/
|
56 |
</div>
|
57 |
</div>
|
58 |
</td>
|
31 |
);
|
32 |
?>
|
33 |
|
34 |
+
<tr class="plugin-update-tr active notice-warning notice-alt" id="ppec-migrate-notice" data-dismiss-nonce="<?php echo esc_attr( wp_create_nonce( 'ppec-upgrade-notice-dismiss' ) ); ?>">
|
35 |
<td colspan="4" class="plugin-update colspanchange">
|
36 |
+
<div class="notice notice-error inline update-message notice-alt is-dismissible">
|
37 |
<div class='ppec-notice-title ppec-notice-section'>
|
38 |
+
<p><strong>Action Required: Switch to WooCommerce PayPal Payments</strong></p>
|
39 |
</div>
|
40 |
<div class='ppec-notice-content ppec-notice-section'>
|
41 |
+
<p>As of 1 Sept 2021, PayPal Checkout is officially retired from WooCommerce.com, and support for this product will end as of 1 March 2022.</p>
|
42 |
+
<p>We highly recommend upgrading to <a href="https://woocommerce.com/products/woocommerce-paypal-payments/" target="_blank">PayPal Payments</a>, the latest, fully supported extension that includes all of the features of PayPal Checkout and more.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
</div>
|
44 |
<div class='ppec-notice-buttons ppec-notice-section hidden'>
|
45 |
<?php //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
46 |
+
<a id="ppec-install-paypal-payments" href="<?php echo $paypal_payments_install_link; ?>" class="button button-primary">Upgrade to PayPal Payments now</a>
|
47 |
<?php //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
|
48 |
+
<a id="ppec-activate-paypal-payments" href="<?php echo $paypal_payments_activate_link; ?>" class="button button-primary">Activate PayPal Payments now</a>
|
49 |
+
<a href="https://docs.woocommerce.com/document/woocommerce-paypal-payments/paypal-payments-upgrade-guide/" target="_blank" class="button woocommerce-save-button">Learn more</a>
|
50 |
</div>
|
51 |
</div>
|
52 |
</td>
|
woocommerce-gateway-paypal-express-checkout.php
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: WooCommerce PayPal Checkout Gateway
|
4 |
-
* Plugin URI: https://woocommerce.com/products/woocommerce-gateway-paypal-express-checkout/
|
5 |
* Description: Accept all major credit and debit cards, plus Venmo and PayPal Credit in the US, presenting options in a customizable stack of payment buttons. Fast, seamless, and flexible.
|
6 |
-
* Version: 2.1.
|
7 |
* Author: WooCommerce
|
8 |
* Author URI: https://woocommerce.com
|
9 |
* Copyright: © 2021 WooCommerce / PayPal.
|
@@ -11,7 +10,7 @@
|
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
* Text Domain: woocommerce-gateway-paypal-express-checkout
|
13 |
* Domain Path: /languages
|
14 |
-
* WC tested up to: 5.
|
15 |
* WC requires at least: 3.2.0
|
16 |
*/
|
17 |
/**
|
@@ -27,7 +26,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
27 |
exit; // Exit if accessed directly
|
28 |
}
|
29 |
|
30 |
-
define( 'WC_GATEWAY_PPEC_VERSION', '2.1.
|
31 |
|
32 |
/**
|
33 |
* Return instance of WC_Gateway_PPEC_Plugin.
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: WooCommerce PayPal Checkout Gateway
|
|
|
4 |
* Description: Accept all major credit and debit cards, plus Venmo and PayPal Credit in the US, presenting options in a customizable stack of payment buttons. Fast, seamless, and flexible.
|
5 |
+
* Version: 2.1.3
|
6 |
* Author: WooCommerce
|
7 |
* Author URI: https://woocommerce.com
|
8 |
* Copyright: © 2021 WooCommerce / PayPal.
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
* Text Domain: woocommerce-gateway-paypal-express-checkout
|
12 |
* Domain Path: /languages
|
13 |
+
* WC tested up to: 5.6
|
14 |
* WC requires at least: 3.2.0
|
15 |
*/
|
16 |
/**
|
26 |
exit; // Exit if accessed directly
|
27 |
}
|
28 |
|
29 |
+
define( 'WC_GATEWAY_PPEC_VERSION', '2.1.3' );
|
30 |
|
31 |
/**
|
32 |
* Return instance of WC_Gateway_PPEC_Plugin.
|