blob: c516f0c7af4ccc26411b967403d79f8c4dbc485e [file] [log] [blame]
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
return apply_filters(
'wc_stripe_oxxo_settings',
[
'geo_target' => [
'description' => __( 'Customer Geography: Mexico', 'woocommerce-gateway-stripe' ),
'type' => 'title',
],
'guide' => [
'description' => sprintf(
/* translators: 1) HTML anchor open tag 2) HTML anchor closing tag */
esc_html__( '%1$sPayment Method Guide%2$s', 'woocommerce-gateway-stripe' ),
'<a href="https://stripe.com/payments/payment-methods-guide#oxxo" target="_blank">',
'</a>'
),
'type' => 'title',
],
'activation' => [
'description' => sprintf(
/* translators: 1) HTML anchor open tag 2) HTML anchor closing tag */
esc_html__( 'Must be activated from your Stripe Dashboard Settings %1$shere%2$s', 'woocommerce-gateway-stripe' ),
'<a href="https://dashboard.stripe.com/account/payments/settings" target="_blank">',
'</a>'
),
'type' => 'title',
],
'enabled' => [
'title' => __( 'Enable/Disable', 'woocommerce-gateway-stripe' ),
'label' => __( 'Enable Stripe OXXO', 'woocommerce-gateway-stripe' ),
'type' => 'checkbox',
'description' => '',
'default' => 'no',
],
'title' => [
'title' => __( 'Title', 'woocommerce-gateway-stripe' ),
'type' => 'text',
'description' => __( 'This controls the title which the user sees during checkout.', 'woocommerce-gateway-stripe' ),
'default' => __( 'OXXO', 'woocommerce-gateway-stripe' ),
'desc_tip' => true,
],
'description' => [
'title' => __( 'Description', 'woocommerce-gateway-stripe' ),
'type' => 'text',
'description' => __( 'This controls the description which the user sees during checkout.', 'woocommerce-gateway-stripe' ),
'default' => __( "You'll be able to download or print the OXXO voucher after checkout.", 'woocommerce-gateway-stripe' ),
'desc_tip' => true,
],
'webhook' => [
'title' => __( 'Webhook Endpoints', 'woocommerce-gateway-stripe' ),
'type' => 'title',
/* translators: webhook URL */
'description' => $this->display_admin_settings_webhook_description(),
],
]
);