Changeset 815517
- Timestamp:
- 12/05/2013 05:22:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postepay-woocommerce-gateway/trunk/wc-postepay.php
r516248 r815517 2 2 /* 3 3 Plugin Name: Postepay Getaway per Woocommerce 4 Plugin URI: http:// plugins.svn.wordpress.org/postepay-woocommerce-gateway/5 Description: Permette la scelta di Postepay come metodo di pagamento, fornendo il mumero di carta al momento del checkout.6 Version: 0. 14 Plugin URI: http://www.woothemes.com/woocommerce/ 5 Description: Permette la scelta di Postepay (o altra carta ricaricabile) come metodo di pagamento, fornendo il mumero di carta al momento del checkout. 6 Version: 0.2 7 7 Author: Martino Stenta 8 8 Author URI: http://www.noiza.com 9 License: GPL 29 License: GPLv2 or later 10 10 */ 11 11 add_action('plugins_loaded', 'woocommerce_ppay_init', 0); … … 19 19 $this->icon = apply_filters('woocommerce_bacs_icon', ''); 20 20 $this->has_fields = false; 21 $this->method_title = __( 'P pay', 'woocommerce' );21 $this->method_title = __( 'PostePay (o ricaricabile)', 'woocommerce' ); 22 22 // Load the form fields. 23 23 $this->init_form_fields(); … … 48 48 'title' => __( 'Abilita/Disabilita', 'woocommerce' ), 49 49 'type' => 'checkbox', 50 'label' => __( 'Abilita Postepay ', 'woocommerce' ),50 'label' => __( 'Abilita Postepay/CartaRicaricabile', 'woocommerce' ), 51 51 'default' => 'yes' 52 52 ), … … 60 60 'title' => __( 'Messaggio personalizzato', 'woocommerce' ), 61 61 'type' => 'textarea', 62 'description' => __( 'Spiega al cliente come procedere con la ricarica Postepay . Segnala che la merce non sarà inviata fino al ricevimento della ricarica.', 'woocommerce' ),62 'description' => __( 'Spiega al cliente come procedere con la ricarica Postepay o sistema similare. Segnala che la merce non sarà inviata fino al ricevimento della ricarica.', 'woocommerce' ), 63 63 'default' => __('Paga con una ricarica Postepay. Mandaci una mail appena hai fatto il versamento indicando il numero d\'ordine e provvederemo all\'invio della merce.', 'woocommerce') 64 64 ), 65 65 'ppay_number' => array( 66 'title' => __( 'Numero Postepay ', 'woocommerce' ),66 'title' => __( 'Numero Postepay (o ricaricabile)', 'woocommerce' ), 67 67 'type' => 'text', 68 68 'description' => '', … … 82 82 public function admin_options() { 83 83 ?> 84 <h3><?php _e('Postepay ', 'woocommerce'); ?></h3>85 <p><?php _e('Permetti pagamenti attraverso Postepay ', 'woocommerce'); ?></p>84 <h3><?php _e('Postepay (o ricaricabile)', 'woocommerce'); ?></h3> 85 <p><?php _e('Permetti pagamenti attraverso Postepay o sistema similare', 'woocommerce'); ?></p> 86 86 <table class="form-table"> 87 87 <?php … … 135 135 136 136 $fields = array( 137 'ppay_number'=> __('Numero Postepay ', '')137 'ppay_number'=> __('Numero Postepay (o ricaricabile)', 'woocommerce') 138 138 ); 139 139 … … 156 156 157 157 // Mark as on-hold (we're awaiting the payment) 158 $order->update_status('on-hold', __('In attesa di versamento Postepay', 'woocommerce'));158 $order->update_status('on-hold', __('In attesa di conferma ricarica', 'woocommerce')); 159 159 160 160 // Reduce stock levels
Note: See TracChangeset
for help on using the changeset viewer.