swissChili | f0cbdc3 | 2023-01-05 17:21:38 -0500 | [diff] [blame] | 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; |
| 4 | } |
| 5 | |
| 6 | return apply_filters( |
| 7 | 'wc_stripe_ideal_settings', |
| 8 | [ |
| 9 | 'geo_target' => [ |
| 10 | 'description' => __( 'Customer Geography: The Netherlands', 'woocommerce-gateway-stripe' ), |
| 11 | 'type' => 'title', |
| 12 | ], |
| 13 | 'guide' => [ |
| 14 | 'description' => __( '<a href="https://stripe.com/payments/payment-methods-guide#ideal" target="_blank">Payment Method Guide</a>', 'woocommerce-gateway-stripe' ), |
| 15 | 'type' => 'title', |
| 16 | ], |
| 17 | 'activation' => [ |
| 18 | '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' ), |
| 19 | 'type' => 'title', |
| 20 | ], |
| 21 | 'enabled' => [ |
| 22 | 'title' => __( 'Enable/Disable', 'woocommerce-gateway-stripe' ), |
| 23 | 'label' => __( 'Enable Stripe iDEAL', 'woocommerce-gateway-stripe' ), |
| 24 | 'type' => 'checkbox', |
| 25 | 'description' => '', |
| 26 | 'default' => 'no', |
| 27 | ], |
| 28 | 'title' => [ |
| 29 | 'title' => __( 'Title', 'woocommerce-gateway-stripe' ), |
| 30 | 'type' => 'text', |
| 31 | 'description' => __( 'This controls the title which the user sees during checkout.', 'woocommerce-gateway-stripe' ), |
| 32 | 'default' => __( 'iDEAL', 'woocommerce-gateway-stripe' ), |
| 33 | 'desc_tip' => true, |
| 34 | ], |
| 35 | 'description' => [ |
| 36 | 'title' => __( 'Description', 'woocommerce-gateway-stripe' ), |
| 37 | 'type' => 'text', |
| 38 | 'description' => __( 'This controls the description which the user sees during checkout.', 'woocommerce-gateway-stripe' ), |
| 39 | 'default' => __( 'You will be redirected to iDEAL.', 'woocommerce-gateway-stripe' ), |
| 40 | 'desc_tip' => true, |
| 41 | ], |
| 42 | 'webhook' => [ |
| 43 | 'title' => __( 'Webhook Endpoints', 'woocommerce-gateway-stripe' ), |
| 44 | 'type' => 'title', |
| 45 | /* translators: webhook URL */ |
| 46 | 'description' => $this->display_admin_settings_webhook_description(), |
| 47 | ], |
| 48 | ] |
| 49 | ); |