mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Merge pull request #1828 from woocommerce/PCP-2257-chrome-browser-detected-as-eligible-for-apple-pay
Chrome browser detected as eligible for Apple Pay (2257)
This commit is contained in:
commit
a477770256
3 changed files with 32 additions and 6 deletions
|
@ -54,7 +54,7 @@ return array(
|
|||
}
|
||||
|
||||
// Device eligibility.
|
||||
$device_eligibility_text = __( 'Your current browser/device does not seem to support Apple Pay ❌.', 'woocommerce-paypal-payments' );
|
||||
$device_eligibility_text = __( 'Status: Your current browser/device does not seem to support Apple Pay ❌', 'woocommerce-paypal-payments' );
|
||||
$device_eligibility_notes = sprintf(
|
||||
// translators: %1$s and %2$s are the opening and closing of HTML <a> tag.
|
||||
__( 'Though the button may display in previews, it won\'t appear in the shop. For details, refer to the %1$sApple Pay requirements%2$s.', 'woocommerce-paypal-payments' ),
|
||||
|
@ -62,7 +62,7 @@ return array(
|
|||
'</a>'
|
||||
);
|
||||
if ( $container->get( 'applepay.is_browser_supported' ) ) {
|
||||
$device_eligibility_text = __( 'Your browser/device supports Apple Pay ✔️.', 'woocommerce-paypal-payments' );
|
||||
$device_eligibility_text = __( 'Status: Your current browser/device seems to support Apple Pay ✔️', 'woocommerce-paypal-payments' );
|
||||
$device_eligibility_notes = __( 'The Apple Pay button will be visible both in previews and below the PayPal buttons in the shop.', 'woocommerce-paypal-payments' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue