Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/piwoo 227 improve apple validation error #901

Merged
merged 3 commits into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/Buttons/ApplePayButton/ApplePayDirectHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,13 @@ public function bootstrap($buttonEnabledProduct, $buttonEnabledCart)
}

if (!$this->merchantValidated()) {
/* translators: Placeholder 1: Opening strong tag. Placeholder 2: Closing strong tag. Placeholder 3: Opening link tag to documentation. Placeholder 4: Closing link tag.*/
/* translators: Placeholder 1: Opening link tag to documentation. Placeholder 2: Closing link tag.*/
$message = sprintf(
esc_html__(
'%1$sApple Pay Validation Error%2$s Check %3$sApple Server requirements page%4$s to fix it in order to make the Apple Pay button work',
'Apple Pay Validation Error: Please review the %1$sApple Server requirements%2$s. If everything appears correct, click the Apple Pay button to retry validation.',
'mollie-payments-for-woocommerce'
),
'<strong>',
'</strong>',
'<a href="https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server">',
'<a href="https://developer.apple.com/documentation/apple_pay_on_the_web/setting_up_your_server" target="_blank">',
'</a>'
);

Expand Down
Loading