@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if ( ! defined( 'ABSPATH' ) ) { |
|
| 3 | +if ( ! defined('ABSPATH')) { |
|
| 4 | 4 | exit; // Exit if accessed directly |
| 5 | 5 | } |
| 6 | 6 | |
@@ -35,10 +35,10 @@ discard block |
||
| 35 | 35 | * @param string $deprecated Deprecated since WooCommerce 3.0 |
| 36 | 36 | * @return string |
| 37 | 37 | */ |
| 38 | - public function get_display_name( $deprecated = '' ) { |
|
| 38 | + public function get_display_name($deprecated = '') { |
|
| 39 | 39 | $display = sprintf( |
| 40 | 40 | /* translators: last 4 digits of IBAN account */ |
| 41 | - __( 'SEPA IBAN ending in %s', 'woocommerce-gateway-stripe' ), |
|
| 41 | + __('SEPA IBAN ending in %s', 'woocommerce-gateway-stripe'), |
|
| 42 | 42 | $this->get_last4() |
| 43 | 43 | ); |
| 44 | 44 | |
@@ -66,11 +66,11 @@ discard block |
||
| 66 | 66 | * @return boolean True if the passed data is valid |
| 67 | 67 | */ |
| 68 | 68 | public function validate() { |
| 69 | - if ( false === parent::validate() ) { |
|
| 69 | + if (false === parent::validate()) { |
|
| 70 | 70 | return false; |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - if ( ! $this->get_last4( 'edit' ) ) { |
|
| 73 | + if ( ! $this->get_last4('edit')) { |
|
| 74 | 74 | return false; |
| 75 | 75 | } |
| 76 | 76 | |
@@ -85,8 +85,8 @@ discard block |
||
| 85 | 85 | * @param string $context |
| 86 | 86 | * @return string Last 4 digits |
| 87 | 87 | */ |
| 88 | - public function get_last4( $context = 'view' ) { |
|
| 89 | - return WC_Stripe_Helper::is_pre_30() ? $this->get_meta( 'last4' ) : $this->get_prop( 'last4', $context ); |
|
| 88 | + public function get_last4($context = 'view') { |
|
| 89 | + return WC_Stripe_Helper::is_pre_30() ? $this->get_meta('last4') : $this->get_prop('last4', $context); |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * @version 4.0.0 |
| 96 | 96 | * @param string $last4 |
| 97 | 97 | */ |
| 98 | - public function set_last4( $last4 ) { |
|
| 99 | - WC_Stripe_Helper::is_pre_30() ? $this->add_meta_data( 'last4', $last4, true ) : $this->set_prop( 'last4', $last4 ); |
|
| 98 | + public function set_last4($last4) { |
|
| 99 | + WC_Stripe_Helper::is_pre_30() ? $this->add_meta_data('last4', $last4, true) : $this->set_prop('last4', $last4); |
|
| 100 | 100 | } |
| 101 | 101 | } |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | * |
| 16 | 16 | */ |
| 17 | 17 | |
| 18 | -if ( ! defined( 'ABSPATH' ) ) { |
|
| 18 | +if ( ! defined('ABSPATH')) { |
|
| 19 | 19 | exit; |
| 20 | 20 | } |
| 21 | 21 | |
@@ -27,29 +27,29 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | function woocommerce_stripe_missing_wc_notice() { |
| 29 | 29 | /* translators: 1. URL link. */ |
| 30 | - echo '<div class="error"><p><strong>' . sprintf( esc_html__( 'Stripe requires WooCommerce to be installed and active. You can download %s here.', 'woocommerce-gateway-stripe' ), '<a href="https://woocommerce.com/" target="_blank">WooCommerce</a>' ) . '</strong></p></div>'; |
|
| 30 | + echo '<div class="error"><p><strong>' . sprintf(esc_html__('Stripe requires WooCommerce to be installed and active. You can download %s here.', 'woocommerce-gateway-stripe'), '<a href="https://woocommerce.com/" target="_blank">WooCommerce</a>') . '</strong></p></div>'; |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | -add_action( 'plugins_loaded', 'woocommerce_gateway_stripe_init' ); |
|
| 33 | +add_action('plugins_loaded', 'woocommerce_gateway_stripe_init'); |
|
| 34 | 34 | |
| 35 | 35 | function woocommerce_gateway_stripe_init() { |
| 36 | - load_plugin_textdomain( 'woocommerce-gateway-stripe', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' ); |
|
| 36 | + load_plugin_textdomain('woocommerce-gateway-stripe', false, plugin_basename(dirname(__FILE__)) . '/languages'); |
|
| 37 | 37 | |
| 38 | - if ( ! class_exists( 'WooCommerce' ) ) { |
|
| 39 | - add_action( 'admin_notices', 'woocommerce_stripe_missing_wc_notice' ); |
|
| 38 | + if ( ! class_exists('WooCommerce')) { |
|
| 39 | + add_action('admin_notices', 'woocommerce_stripe_missing_wc_notice'); |
|
| 40 | 40 | return; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - if ( ! class_exists( 'WC_Stripe' ) ) : |
|
| 43 | + if ( ! class_exists('WC_Stripe')) : |
|
| 44 | 44 | /** |
| 45 | 45 | * Required minimums and constants |
| 46 | 46 | */ |
| 47 | - define( 'WC_STRIPE_VERSION', '4.1.8' ); |
|
| 48 | - define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' ); |
|
| 49 | - define( 'WC_STRIPE_MIN_WC_VER', '2.6.0' ); |
|
| 50 | - define( 'WC_STRIPE_MAIN_FILE', __FILE__ ); |
|
| 51 | - define( 'WC_STRIPE_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) ); |
|
| 52 | - define( 'WC_STRIPE_PLUGIN_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); |
|
| 47 | + define('WC_STRIPE_VERSION', '4.1.8'); |
|
| 48 | + define('WC_STRIPE_MIN_PHP_VER', '5.6.0'); |
|
| 49 | + define('WC_STRIPE_MIN_WC_VER', '2.6.0'); |
|
| 50 | + define('WC_STRIPE_MAIN_FILE', __FILE__); |
|
| 51 | + define('WC_STRIPE_PLUGIN_URL', untrailingslashit(plugins_url(basename(plugin_dir_path(__FILE__)), basename(__FILE__)))); |
|
| 52 | + define('WC_STRIPE_PLUGIN_PATH', untrailingslashit(plugin_dir_path(__FILE__))); |
|
| 53 | 53 | |
| 54 | 54 | class WC_Stripe { |
| 55 | 55 | |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | * @return Singleton The *Singleton* instance. |
| 70 | 70 | */ |
| 71 | 71 | public static function get_instance() { |
| 72 | - if ( null === self::$instance ) { |
|
| 72 | + if (null === self::$instance) { |
|
| 73 | 73 | self::$instance = new self(); |
| 74 | 74 | } |
| 75 | 75 | return self::$instance; |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * *Singleton* via the `new` operator from outside of this class. |
| 97 | 97 | */ |
| 98 | 98 | private function __construct() { |
| 99 | - add_action( 'admin_init', array( $this, 'install' ) ); |
|
| 99 | + add_action('admin_init', array($this, 'install')); |
|
| 100 | 100 | $this->init(); |
| 101 | 101 | } |
| 102 | 102 | |
@@ -107,48 +107,48 @@ discard block |
||
| 107 | 107 | * @version 4.0.0 |
| 108 | 108 | */ |
| 109 | 109 | public function init() { |
| 110 | - if ( is_admin() ) { |
|
| 111 | - require_once( dirname( __FILE__ ) . '/includes/admin/class-wc-stripe-privacy.php' ); |
|
| 110 | + if (is_admin()) { |
|
| 111 | + require_once(dirname(__FILE__) . '/includes/admin/class-wc-stripe-privacy.php'); |
|
| 112 | 112 | } |
| 113 | 113 | |
| 114 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-exception.php' ); |
|
| 115 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-logger.php' ); |
|
| 116 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-helper.php' ); |
|
| 117 | - include_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-api.php' ); |
|
| 118 | - require_once( dirname( __FILE__ ) . '/includes/abstracts/abstract-wc-stripe-payment-gateway.php' ); |
|
| 119 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-webhook-handler.php' ); |
|
| 120 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-sepa-payment-token.php' ); |
|
| 121 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-apple-pay-registration.php' ); |
|
| 122 | - require_once( dirname( __FILE__ ) . '/includes/compat/class-wc-stripe-pre-orders-compat.php' ); |
|
| 123 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-gateway-stripe.php' ); |
|
| 124 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-bancontact.php' ); |
|
| 125 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-sofort.php' ); |
|
| 126 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-giropay.php' ); |
|
| 127 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-eps.php' ); |
|
| 128 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-ideal.php' ); |
|
| 129 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-p24.php' ); |
|
| 130 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-alipay.php' ); |
|
| 131 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-sepa.php' ); |
|
| 132 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-gateway-stripe-multibanco.php' ); |
|
| 133 | - require_once( dirname( __FILE__ ) . '/includes/payment-methods/class-wc-stripe-payment-request.php' ); |
|
| 134 | - require_once( dirname( __FILE__ ) . '/includes/compat/class-wc-stripe-subs-compat.php' ); |
|
| 135 | - require_once( dirname( __FILE__ ) . '/includes/compat/class-wc-stripe-sepa-subs-compat.php' ); |
|
| 136 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-order-handler.php' ); |
|
| 137 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-payment-tokens.php' ); |
|
| 138 | - require_once( dirname( __FILE__ ) . '/includes/class-wc-stripe-customer.php' ); |
|
| 139 | - |
|
| 140 | - if ( is_admin() ) { |
|
| 141 | - require_once( dirname( __FILE__ ) . '/includes/admin/class-wc-stripe-admin-notices.php' ); |
|
| 114 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-exception.php'); |
|
| 115 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-logger.php'); |
|
| 116 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-helper.php'); |
|
| 117 | + include_once(dirname(__FILE__) . '/includes/class-wc-stripe-api.php'); |
|
| 118 | + require_once(dirname(__FILE__) . '/includes/abstracts/abstract-wc-stripe-payment-gateway.php'); |
|
| 119 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-webhook-handler.php'); |
|
| 120 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-sepa-payment-token.php'); |
|
| 121 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-apple-pay-registration.php'); |
|
| 122 | + require_once(dirname(__FILE__) . '/includes/compat/class-wc-stripe-pre-orders-compat.php'); |
|
| 123 | + require_once(dirname(__FILE__) . '/includes/class-wc-gateway-stripe.php'); |
|
| 124 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-bancontact.php'); |
|
| 125 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-sofort.php'); |
|
| 126 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-giropay.php'); |
|
| 127 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-eps.php'); |
|
| 128 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-ideal.php'); |
|
| 129 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-p24.php'); |
|
| 130 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-alipay.php'); |
|
| 131 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-sepa.php'); |
|
| 132 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-gateway-stripe-multibanco.php'); |
|
| 133 | + require_once(dirname(__FILE__) . '/includes/payment-methods/class-wc-stripe-payment-request.php'); |
|
| 134 | + require_once(dirname(__FILE__) . '/includes/compat/class-wc-stripe-subs-compat.php'); |
|
| 135 | + require_once(dirname(__FILE__) . '/includes/compat/class-wc-stripe-sepa-subs-compat.php'); |
|
| 136 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-order-handler.php'); |
|
| 137 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-payment-tokens.php'); |
|
| 138 | + require_once(dirname(__FILE__) . '/includes/class-wc-stripe-customer.php'); |
|
| 139 | + |
|
| 140 | + if (is_admin()) { |
|
| 141 | + require_once(dirname(__FILE__) . '/includes/admin/class-wc-stripe-admin-notices.php'); |
|
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | // REMOVE IN THE FUTURE. |
| 145 | - require_once( dirname( __FILE__ ) . '/includes/deprecated/class-wc-stripe-apple-pay.php' ); |
|
| 145 | + require_once(dirname(__FILE__) . '/includes/deprecated/class-wc-stripe-apple-pay.php'); |
|
| 146 | 146 | |
| 147 | - add_filter( 'woocommerce_payment_gateways', array( $this, 'add_gateways' ) ); |
|
| 148 | - add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'plugin_action_links' ) ); |
|
| 147 | + add_filter('woocommerce_payment_gateways', array($this, 'add_gateways')); |
|
| 148 | + add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'plugin_action_links')); |
|
| 149 | 149 | |
| 150 | - if ( version_compare( WC_VERSION, '3.4', '<' ) ) { |
|
| 151 | - add_filter( 'woocommerce_get_sections_checkout', array( $this, 'filter_gateway_order_admin' ) ); |
|
| 150 | + if (version_compare(WC_VERSION, '3.4', '<')) { |
|
| 151 | + add_filter('woocommerce_get_sections_checkout', array($this, 'filter_gateway_order_admin')); |
|
| 152 | 152 | } |
| 153 | 153 | } |
| 154 | 154 | |
@@ -159,8 +159,8 @@ discard block |
||
| 159 | 159 | * @version 4.0.0 |
| 160 | 160 | */ |
| 161 | 161 | public function update_plugin_version() { |
| 162 | - delete_option( 'wc_stripe_version' ); |
|
| 163 | - update_option( 'wc_stripe_version', WC_STRIPE_VERSION ); |
|
| 162 | + delete_option('wc_stripe_version'); |
|
| 163 | + update_option('wc_stripe_version', WC_STRIPE_VERSION); |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
@@ -170,15 +170,15 @@ discard block |
||
| 170 | 170 | * @version 3.1.0 |
| 171 | 171 | */ |
| 172 | 172 | public function install() { |
| 173 | - if ( ! is_plugin_active( plugin_basename( __FILE__ ) ) ) { |
|
| 173 | + if ( ! is_plugin_active(plugin_basename(__FILE__))) { |
|
| 174 | 174 | return; |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | - if ( ! defined( 'IFRAME_REQUEST' ) && ( WC_STRIPE_VERSION !== get_option( 'wc_stripe_version' ) ) ) { |
|
| 178 | - do_action( 'woocommerce_stripe_updated' ); |
|
| 177 | + if ( ! defined('IFRAME_REQUEST') && (WC_STRIPE_VERSION !== get_option('wc_stripe_version'))) { |
|
| 178 | + do_action('woocommerce_stripe_updated'); |
|
| 179 | 179 | |
| 180 | - if ( ! defined( 'WC_STRIPE_INSTALLING' ) ) { |
|
| 181 | - define( 'WC_STRIPE_INSTALLING', true ); |
|
| 180 | + if ( ! defined('WC_STRIPE_INSTALLING')) { |
|
| 181 | + define('WC_STRIPE_INSTALLING', true); |
|
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | $this->update_plugin_version(); |
@@ -191,13 +191,13 @@ discard block |
||
| 191 | 191 | * @since 1.0.0 |
| 192 | 192 | * @version 4.0.0 |
| 193 | 193 | */ |
| 194 | - public function plugin_action_links( $links ) { |
|
| 194 | + public function plugin_action_links($links) { |
|
| 195 | 195 | $plugin_links = array( |
| 196 | - '<a href="admin.php?page=wc-settings&tab=checkout§ion=stripe">' . esc_html__( 'Settings', 'woocommerce-gateway-stripe' ) . '</a>', |
|
| 197 | - '<a href="https://docs.woocommerce.com/document/stripe/">' . esc_html__( 'Docs', 'woocommerce-gateway-stripe' ) . '</a>', |
|
| 198 | - '<a href="https://woocommerce.com/contact-us/">' . esc_html__( 'Support', 'woocommerce-gateway-stripe' ) . '</a>', |
|
| 196 | + '<a href="admin.php?page=wc-settings&tab=checkout§ion=stripe">' . esc_html__('Settings', 'woocommerce-gateway-stripe') . '</a>', |
|
| 197 | + '<a href="https://docs.woocommerce.com/document/stripe/">' . esc_html__('Docs', 'woocommerce-gateway-stripe') . '</a>', |
|
| 198 | + '<a href="https://woocommerce.com/contact-us/">' . esc_html__('Support', 'woocommerce-gateway-stripe') . '</a>', |
|
| 199 | 199 | ); |
| 200 | - return array_merge( $plugin_links, $links ); |
|
| 200 | + return array_merge($plugin_links, $links); |
|
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | /** |
@@ -206,8 +206,8 @@ discard block |
||
| 206 | 206 | * @since 1.0.0 |
| 207 | 207 | * @version 4.0.0 |
| 208 | 208 | */ |
| 209 | - public function add_gateways( $methods ) { |
|
| 210 | - if ( class_exists( 'WC_Subscriptions_Order' ) && function_exists( 'wcs_create_renewal_order' ) ) { |
|
| 209 | + public function add_gateways($methods) { |
|
| 210 | + if (class_exists('WC_Subscriptions_Order') && function_exists('wcs_create_renewal_order')) { |
|
| 211 | 211 | $methods[] = 'WC_Stripe_Subs_Compat'; |
| 212 | 212 | $methods[] = 'WC_Stripe_Sepa_Subs_Compat'; |
| 213 | 213 | } else { |
@@ -233,28 +233,28 @@ discard block |
||
| 233 | 233 | * @since 4.0.0 |
| 234 | 234 | * @version 4.0.0 |
| 235 | 235 | */ |
| 236 | - public function filter_gateway_order_admin( $sections ) { |
|
| 237 | - unset( $sections['stripe'] ); |
|
| 238 | - unset( $sections['stripe_bancontact'] ); |
|
| 239 | - unset( $sections['stripe_sofort'] ); |
|
| 240 | - unset( $sections['stripe_giropay'] ); |
|
| 241 | - unset( $sections['stripe_eps'] ); |
|
| 242 | - unset( $sections['stripe_ideal'] ); |
|
| 243 | - unset( $sections['stripe_p24'] ); |
|
| 244 | - unset( $sections['stripe_alipay'] ); |
|
| 245 | - unset( $sections['stripe_sepa'] ); |
|
| 246 | - unset( $sections['stripe_multibanco'] ); |
|
| 236 | + public function filter_gateway_order_admin($sections) { |
|
| 237 | + unset($sections['stripe']); |
|
| 238 | + unset($sections['stripe_bancontact']); |
|
| 239 | + unset($sections['stripe_sofort']); |
|
| 240 | + unset($sections['stripe_giropay']); |
|
| 241 | + unset($sections['stripe_eps']); |
|
| 242 | + unset($sections['stripe_ideal']); |
|
| 243 | + unset($sections['stripe_p24']); |
|
| 244 | + unset($sections['stripe_alipay']); |
|
| 245 | + unset($sections['stripe_sepa']); |
|
| 246 | + unset($sections['stripe_multibanco']); |
|
| 247 | 247 | |
| 248 | 248 | $sections['stripe'] = 'Stripe'; |
| 249 | - $sections['stripe_bancontact'] = __( 'Stripe Bancontact', 'woocommerce-gateway-stripe' ); |
|
| 250 | - $sections['stripe_sofort'] = __( 'Stripe SOFORT', 'woocommerce-gateway-stripe' ); |
|
| 251 | - $sections['stripe_giropay'] = __( 'Stripe Giropay', 'woocommerce-gateway-stripe' ); |
|
| 252 | - $sections['stripe_eps'] = __( 'Stripe EPS', 'woocommerce-gateway-stripe' ); |
|
| 253 | - $sections['stripe_ideal'] = __( 'Stripe iDeal', 'woocommerce-gateway-stripe' ); |
|
| 254 | - $sections['stripe_p24'] = __( 'Stripe P24', 'woocommerce-gateway-stripe' ); |
|
| 255 | - $sections['stripe_alipay'] = __( 'Stripe Alipay', 'woocommerce-gateway-stripe' ); |
|
| 256 | - $sections['stripe_sepa'] = __( 'Stripe SEPA Direct Debit', 'woocommerce-gateway-stripe' ); |
|
| 257 | - $sections['stripe_multibanco'] = __( 'Stripe Multibanco', 'woocommerce-gateway-stripe' ); |
|
| 249 | + $sections['stripe_bancontact'] = __('Stripe Bancontact', 'woocommerce-gateway-stripe'); |
|
| 250 | + $sections['stripe_sofort'] = __('Stripe SOFORT', 'woocommerce-gateway-stripe'); |
|
| 251 | + $sections['stripe_giropay'] = __('Stripe Giropay', 'woocommerce-gateway-stripe'); |
|
| 252 | + $sections['stripe_eps'] = __('Stripe EPS', 'woocommerce-gateway-stripe'); |
|
| 253 | + $sections['stripe_ideal'] = __('Stripe iDeal', 'woocommerce-gateway-stripe'); |
|
| 254 | + $sections['stripe_p24'] = __('Stripe P24', 'woocommerce-gateway-stripe'); |
|
| 255 | + $sections['stripe_alipay'] = __('Stripe Alipay', 'woocommerce-gateway-stripe'); |
|
| 256 | + $sections['stripe_sepa'] = __('Stripe SEPA Direct Debit', 'woocommerce-gateway-stripe'); |
|
| 257 | + $sections['stripe_multibanco'] = __('Stripe Multibanco', 'woocommerce-gateway-stripe'); |
|
| 258 | 258 | |
| 259 | 259 | return $sections; |
| 260 | 260 | } |