blob: 2b39622480004cbe5138ed8d9a6bf3980c75a25e [file] [log] [blame]
swissChilif0cbdc32023-01-05 17:21:38 -05001<?php
2if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4}
5
6return apply_filters(
7 'wc_stripe_multibanco_settings',
8 [
9 'geo_target' => [
10 'description' => __( 'Customer Geography: Portugal', 'woocommerce-gateway-stripe' ),
11 'type' => 'title',
12 ],
13 'activation' => [
14 'description' => __( 'Must be activated from your Stripe Dashboard Settings <a href="https://dashboard.stripe.com/account/payments/settings" target="_blank">here</a>', 'woocommerce-gateway-stripe' ),
15 'type' => 'title',
16 ],
17 'enabled' => [
18 'title' => __( 'Enable/Disable', 'woocommerce-gateway-stripe' ),
19 'label' => __( 'Enable Stripe Multibanco', 'woocommerce-gateway-stripe' ),
20 'type' => 'checkbox',
21 'description' => '',
22 'default' => 'no',
23 ],
24 'title' => [
25 'title' => __( 'Title', 'woocommerce-gateway-stripe' ),
26 'type' => 'text',
27 'description' => __( 'This controls the title which the user sees during checkout.', 'woocommerce-gateway-stripe' ),
28 'default' => __( 'Multibanco', 'woocommerce-gateway-stripe' ),
29 'desc_tip' => true,
30 ],
31 'description' => [
32 'title' => __( 'Description', 'woocommerce-gateway-stripe' ),
33 'type' => 'text',
34 'description' => __( 'This controls the description which the user sees during checkout.', 'woocommerce-gateway-stripe' ),
35 'default' => __( 'You will be redirected to Multibanco.', 'woocommerce-gateway-stripe' ),
36 'desc_tip' => true,
37 ],
38 'webhook' => [
39 'title' => __( 'Webhook Endpoints', 'woocommerce-gateway-stripe' ),
40 'type' => 'title',
41 /* translators: webhook URL */
42 'description' => $this->display_admin_settings_webhook_description(),
43 ],
44 ]
45);