Skip to content

Commit

Permalink
Merge pull request #901 from mollie/fix/PIWOO-227-improve-apple-valid…
Browse files Browse the repository at this point in the history
…ation-error

Fix/piwoo 227 improve apple validation error
  • Loading branch information
mmaymo authored May 6, 2024
2 parents 6eb3752 + a233c6b commit 4182b59
Showing 1 changed file with 3 additions and 5 deletions.
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

0 comments on commit 4182b59

Please sign in to comment.