blob: c516f0c7af4ccc26411b967403d79f8c4dbc485e [file] [log] [blame]
swissChilif0cbdc32023-01-05 17:21:38 -05001<?php
2if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4}
5
6return apply_filters(
7 'wc_stripe_oxxo_settings',
8 [
9 'geo_target' => [
10 'description' => __( 'Customer Geography: Mexico', 'woocommerce-gateway-stripe' ),
11 'type' => 'title',
12 ],
13 'guide' => [
14 'description' => sprintf(
15 /* translators: 1) HTML anchor open tag 2) HTML anchor closing tag */
16 esc_html__( '%1$sPayment Method Guide%2$s', 'woocommerce-gateway-stripe' ),
17 '<a href="https://stripe.com/payments/payment-methods-guide#oxxo" target="_blank">',
18 '</a>'
19 ),
20 'type' => 'title',
21 ],
22 'activation' => [
23 'description' => sprintf(
24 /* translators: 1) HTML anchor open tag 2) HTML anchor closing tag */
25 esc_html__( 'Must be activated from your Stripe Dashboard Settings %1$shere%2$s', 'woocommerce-gateway-stripe' ),
26 '<a href="https://dashboard.stripe.com/account/payments/settings" target="_blank">',
27 '</a>'
28 ),
29 'type' => 'title',
30 ],
31 'enabled' => [
32 'title' => __( 'Enable/Disable', 'woocommerce-gateway-stripe' ),
33 'label' => __( 'Enable Stripe OXXO', 'woocommerce-gateway-stripe' ),
34 'type' => 'checkbox',
35 'description' => '',
36 'default' => 'no',
37 ],
38 'title' => [
39 'title' => __( 'Title', 'woocommerce-gateway-stripe' ),
40 'type' => 'text',
41 'description' => __( 'This controls the title which the user sees during checkout.', 'woocommerce-gateway-stripe' ),
42 'default' => __( 'OXXO', 'woocommerce-gateway-stripe' ),
43 'desc_tip' => true,
44 ],
45 'description' => [
46 'title' => __( 'Description', 'woocommerce-gateway-stripe' ),
47 'type' => 'text',
48 'description' => __( 'This controls the description which the user sees during checkout.', 'woocommerce-gateway-stripe' ),
49 'default' => __( "You'll be able to download or print the OXXO voucher after checkout.", 'woocommerce-gateway-stripe' ),
50 'desc_tip' => true,
51 ],
52 'webhook' => [
53 'title' => __( 'Webhook Endpoints', 'woocommerce-gateway-stripe' ),
54 'type' => 'title',
55 /* translators: webhook URL */
56 'description' => $this->display_admin_settings_webhook_description(),
57 ],
58 ]
59);