mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Merge branch 'trunk' into PCP-1393-update-to-vault-v-3
This commit is contained in:
commit
9e87e93985
8 changed files with 56 additions and 27 deletions
|
@ -1,5 +1,24 @@
|
|||
*** Changelog ***
|
||||
|
||||
= 2.4.2 - xxx-xx-xx =
|
||||
* Fix - Action callback arguments count in ShipStation tracking integration #1841
|
||||
* Fix - Google Pay scripts loading on unrelated admin pages #1834
|
||||
* Fix - Do not ignore disabled APMs list in blocks #1865
|
||||
* Fix - Display Package Tracking metabox below Order actions when HPOS is active #1850
|
||||
* Fix - ApplePay use checkout form data to update shipping and billing #1832
|
||||
* Fix - Fix Apple Pay CSS #1872
|
||||
* Enhancement - Allow redirect to PayPal with "Place order" button if smart buttons failed to load #1840 #1870
|
||||
* Enhancement - Extend list of supported countries for Package Tracking v2 integration #1848
|
||||
* Enhancement - Improve Block Theme support for Pay Later messaging #1855
|
||||
* Enhancement - Render block buttons separately and add block style settings #1858
|
||||
* Enhancement - Enable Block Cart and Block Express Checkout button locations by default #1852
|
||||
* Enhancement - Improve single product page button placement with Block themes #1847
|
||||
* Enhancement - Remove the Home location from default enabled Pay Later messaging locations #1856
|
||||
* Enhancement - Chrome browser detected as eligible for Apple Pay on settings page #1828
|
||||
* Enhancement - Hide Apple Pay & Google Pay for subscription type products #1835
|
||||
* Enhancement - Add Standard Card Button gateway styling settings & preview #1827
|
||||
* Feature preview - Upgrade to new Hosted Card Fields for Advanced Card Processing #1843
|
||||
|
||||
= 2.4.1 - 2023-11-14 =
|
||||
* Fix - Error "PayPal order ID not found in meta" prevents automations from triggering when buying subscription via third-party payment gateway #1822
|
||||
* Fix - Card button subscription support declaration #1796
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
.woocommerce-checkout {
|
||||
#applepay-container, .ppcp-button-applepay {
|
||||
margin-top: 0.5em;
|
||||
margin-top: 0;
|
||||
--apple-pay-button-border-radius: 4px;
|
||||
--apple-pay-button-height: 45px;
|
||||
&.ppcp-button-pill {
|
||||
|
@ -31,6 +31,7 @@
|
|||
|
||||
.wp-block-woocommerce-checkout {
|
||||
#applepay-container, .ppcp-button-applepay {
|
||||
margin: 0;
|
||||
--apple-pay-button-margin: 0;
|
||||
--apple-pay-button-height: 48px;
|
||||
&.ppcp-button-pill {
|
||||
|
@ -41,16 +42,10 @@
|
|||
|
||||
.wp-block-woocommerce-cart {
|
||||
#applepay-container, .ppcp-button-applepay {
|
||||
margin: 0;
|
||||
--apple-pay-button-margin: 0;
|
||||
--apple-pay-button-height: 48px;
|
||||
}
|
||||
/* Workaround for blocks grid */
|
||||
.wc-block-components-express-payment__event-buttons {
|
||||
--apple-pay-button-display: block;
|
||||
li[id*="express-payment-method-ppcp-"] {
|
||||
--apple-pay-button-padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1272,9 +1272,12 @@ document.querySelector("#payment").before(document.querySelector("#ppcp-messages
|
|||
}
|
||||
|
||||
if ( in_array( $context, array( 'checkout-block', 'cart-block' ), true ) ) {
|
||||
$disable_funding = array_diff(
|
||||
array_keys( $this->all_funding_sources ),
|
||||
array( 'venmo', 'paylater' )
|
||||
$disable_funding = array_merge(
|
||||
$disable_funding,
|
||||
array_diff(
|
||||
array_keys( $this->all_funding_sources ),
|
||||
array( 'venmo', 'paylater' )
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -34,13 +34,6 @@
|
|||
margin: 0;
|
||||
height: 48px;
|
||||
}
|
||||
/* Workaround for blocks grid */
|
||||
.wc-block-components-express-payment__event-buttons {
|
||||
display: block;
|
||||
li[id*="express-payment-method-ppcp-"] {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -275,8 +275,9 @@ class PayPalGateway extends \WC_Payment_Gateway {
|
|||
if ( $order &&
|
||||
( $order->status()->is( OrderStatus::APPROVED ) || $order->status()->is( OrderStatus::COMPLETED ) )
|
||||
) {
|
||||
$this->title = $this->funding_source_renderer->render_name( $funding_source );
|
||||
$this->description = $this->funding_source_renderer->render_description( $funding_source );
|
||||
$this->title = $this->funding_source_renderer->render_name( $funding_source );
|
||||
$this->description = $this->funding_source_renderer->render_description( $funding_source );
|
||||
$this->order_button_text = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "woocommerce-paypal-payments",
|
||||
"version": "2.4.1",
|
||||
"version": "2.4.2",
|
||||
"description": "WooCommerce PayPal Payments",
|
||||
"repository": "https://github.com/woocommerce/woocommerce-paypal-payments",
|
||||
"license": "GPL-2.0",
|
||||
|
|
24
readme.txt
24
readme.txt
|
@ -2,9 +2,9 @@
|
|||
Contributors: woocommerce, automattic, inpsyde
|
||||
Tags: woocommerce, paypal, payments, ecommerce, checkout, cart, pay later, apple pay, subscriptions, debit card, credit card, google pay
|
||||
Requires at least: 5.3
|
||||
Tested up to: 6.3
|
||||
Tested up to: 6.4
|
||||
Requires PHP: 7.2
|
||||
Stable tag: 2.4.1
|
||||
Stable tag: 2.4.2
|
||||
License: GPLv2
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
|
@ -177,9 +177,27 @@ If you encounter issues with the PayPal buttons not appearing after an update, p
|
|||
5. Click "Connect to PayPal" to link your site to your PayPal account.
|
||||
6. Main settings screen.
|
||||
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.4.2 - xxx-xx-xx =
|
||||
* Fix - Action callback arguments count in ShipStation tracking integration #1841
|
||||
* Fix - Google Pay scripts loading on unrelated admin pages #1834
|
||||
* Fix - Do not ignore disabled APMs list in blocks #1865
|
||||
* Fix - Display Package Tracking metabox below Order actions when HPOS is active #1850
|
||||
* Fix - ApplePay use checkout form data to update shipping and billing #1832
|
||||
* Fix - Fix Apple Pay CSS #1872
|
||||
* Enhancement - Allow redirect to PayPal with "Place order" button if smart buttons failed to load #1840 #1870
|
||||
* Enhancement - Extend list of supported countries for Package Tracking v2 integration #1848
|
||||
* Enhancement - Improve Block Theme support for Pay Later messaging #1855
|
||||
* Enhancement - Render block buttons separately and add block style settings #1858
|
||||
* Enhancement - Enable Block Cart and Block Express Checkout button locations by default #1852
|
||||
* Enhancement - Improve single product page button placement with Block themes #1847
|
||||
* Enhancement - Remove the Home location from default enabled Pay Later messaging locations #1856
|
||||
* Enhancement - Chrome browser detected as eligible for Apple Pay on settings page #1828
|
||||
* Enhancement - Hide Apple Pay & Google Pay for subscription type products #1835
|
||||
* Enhancement - Add Standard Card Button gateway styling settings & preview #1827
|
||||
* Feature preview - Upgrade to new Hosted Card Fields for Advanced Card Processing #1843
|
||||
|
||||
= 2.4.1 - 2023-11-14 =
|
||||
* Fix - Error "PayPal order ID not found in meta" prevents automations from triggering when buying subscription via third-party payment gateway #1822
|
||||
* Fix - Card button subscription support declaration #1796
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
* Plugin Name: WooCommerce PayPal Payments
|
||||
* Plugin URI: https://woocommerce.com/products/woocommerce-paypal-payments/
|
||||
* Description: PayPal's latest complete payments processing solution. Accept PayPal, Pay Later, credit/debit cards, alternative digital wallets local payment types and bank accounts. Turn on only PayPal options or process a full suite of payment methods. Enable global transaction with extensive currency and country coverage.
|
||||
* Version: 2.4.1
|
||||
* Version: 2.4.2
|
||||
* Author: WooCommerce
|
||||
* Author URI: https://woocommerce.com/
|
||||
* License: GPL-2.0
|
||||
* Requires PHP: 7.2
|
||||
* WC requires at least: 3.9
|
||||
* WC tested up to: 8.2
|
||||
* WC tested up to: 8.3
|
||||
* Text Domain: woocommerce-paypal-payments
|
||||
*
|
||||
* @package WooCommerce\PayPalCommerce
|
||||
|
@ -25,7 +25,7 @@ define( 'PAYPAL_API_URL', 'https://api-m.paypal.com' );
|
|||
define( 'PAYPAL_URL', 'https://www.paypal.com' );
|
||||
define( 'PAYPAL_SANDBOX_API_URL', 'https://api-m.sandbox.paypal.com' );
|
||||
define( 'PAYPAL_SANDBOX_URL', 'https://www.sandbox.paypal.com' );
|
||||
define( 'PAYPAL_INTEGRATION_DATE', '2023-11-06' );
|
||||
define( 'PAYPAL_INTEGRATION_DATE', '2023-11-28' );
|
||||
|
||||
! defined( 'CONNECT_WOO_CLIENT_ID' ) && define( 'CONNECT_WOO_CLIENT_ID', 'AcCAsWta_JTL__OfpjspNyH7c1GGHH332fLwonA5CwX4Y10mhybRZmHLA0GdRbwKwjQIhpDQy0pluX_P' );
|
||||
! defined( 'CONNECT_WOO_SANDBOX_CLIENT_ID' ) && define( 'CONNECT_WOO_SANDBOX_CLIENT_ID', 'AYmOHbt1VHg-OZ_oihPdzKEVbU3qg0qXonBcAztuzniQRaKE0w1Hr762cSFwd4n8wxOl-TCWohEa0XM_' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue