/* translators: %1$s Opening anchor tag, do not translate. %2$s Closing anchor tag, do not translate. */
__('In order for Stripe to function completely, you must configure your Stripe webhooks. Visit your %1$saccount dashboard%2$s to configure them. Please add a webhook endpoint for the URL below.','easy-digital-downloads'),
'desc'=>__('Select how you would like to display the billing address fields on the checkout form. <p><strong>Notes</strong>:</p><p>If taxes are enabled, this option cannot be changed from "Full address".</p><p>If set to "No address fields", you <strong>must</strong> disable "zip code verification" in your Stripe account.</p>','easy-digital-downloads'),
'check'=>(__('Only load Stripe.com hosted assets on pages that specifically utilize Stripe functionality.','easy-digital-downloads')),
'type'=>'checkbox_description',
'desc'=>sprintf(
/* translators: 1. opening link tag; 2. closing link tag */
__('Stripe advises that their Javascript library be loaded on every page to take advantage of their advanced fraud detection rules. If you are not concerned with this, enable this setting to only load the Javascript when necessary. %1$sLearn more about Stripe\'s recommended setup.%2$s','easy-digital-downloads'),
'tooltip_title'=>__('Transitioning to Payment Elements','easy-digital-downloads'),
'tooltip_desc'=>__('You are seeing this option because your store has been using Card Elements prior to the EDD Stripe 2.9.0 update.<br /><br />To ensure that we do not affect your current checkout experience, you can use this setting to toggle between the Card Elements (legacy) and Payment Elements (updated version) to ensure that any customizations or theming you have done still function properly.<br /><br />Please be advised, that in a future version of the Stripe extension, we will deprecate the Card Elements, so take this time to update your store!','easy-digital-downloads'),
'<p>'.__('The following settings are available while Easy Digital Downloads is in debug mode. They are not designed to be primary settings and should be used only while debugging or when instructed to be used by the Easy Digital Downloads Team.','easy-digital-downloads').'</p>'.
'<p>'.__('There is no guarantee that these settings will remain available in future versions of Easy Digital Downloads. Easy Digital Downloads Debug Mode should be disabled once changes to these settings have been made.','easy-digital-downloads').'</p>'.
$card_elements_button_label=$card_elements_enabled?__('Disable access to Card Elements','easy-digital-downloads'):__('Enable access to Card Elements','easy-digital-downloads');
$card_elements_state_label=$card_elements_enabled?__('Access to Legacy Card Elements is Enabled','easy-digital-downloads'):__('Access to Legacy Card Elements is Disabled','easy-digital-downloads');
).'<strong>'.$card_elements_state_label.'</strong><br />'.__('Card Elements is the legacy Stripe integration. Easy Digital Downloads has updated to use the more secure and reliable Payment Elements feature of Stripe. This toggle allows sites without access to Card Elements to enable or disable it.','easy-digital-downloads'),
// Set up the new setting field for the Test Mode toggle notice.
$notice=array(
'stripe_connect_test_mode_toggle_notice'=>array(
'id'=>'stripe_connect_test_mode_toggle_notice',
'desc'=>'<p>'.__('You have disabled the "Test Mode" option. Once you have saved your changes, please verify your Stripe connection, especially if you have not previously connected in with "Test Mode" disabled.','easy-digital-downloads').'</p>',
/* translators: %1$s PHP version requirement. %2$s Current PHP version. %3$s Opening strong tag, do not translate. %4$s Closing strong tag, do not translate. */
'Processing credit cards with Stripe requires PHP version %1$s or higher. It looks like you\'re using version %2$s, which means you will need to %3$supgrade your version of PHP before acceping credit card payments%4$s.',
esc_html_e('Need help upgrading? Ask your web host!','easy-digital-downloads');
echo'</strong><br />';
echowp_kses(
sprintf(
/* translators: %1$s Opening anchor tag, do not translate. %2$s Closing anchor tag, do not translate. */
__(
'Many web hosts can give you instructions on how/where to upgrade your version of PHP through their control panel, or may even be able to do it for you. If you need to change hosts, please see %1$sour hosting recommendations%2$s.',
/* translators: %1$s PHP version requirement. %2$s Current PHP version. %3$s Opening strong tag, do not translate. %4$s Closing strong tag, do not translate. */
__(
'Processing credit cards with Stripe requires PHP version %1$s or higher. It looks like you\'re using version %2$s, which means you will need to %3$supgrade your version of PHP before acceping credit card payments%4$s.',
esc_html__('Need help upgrading? Ask your web host!','easy-digital-downloads').
'</strong><br />'.
wp_kses(
sprintf(
/* translators: %1$s Opening anchor tag, do not translate. %2$s Closing anchor tag, do not translate. */
__(
'Many web hosts can give you instructions on how/where to upgrade your version of PHP through their control panel, or may even be able to do it for you. If you need to change hosts, please see %1$sour hosting recommendations%2$s.',