Plugin Directory

Changeset 2476384


Ignore:
Timestamp:
02/17/2021 01:41:53 PM (5 years ago)
Author:
iplus
Message:

v 3.0.5

Location:
smallpay/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • smallpay/trunk/assets/css/smallpay.css

    r2385656 r2476384  
    134134    padding-bottom: 5px;
    135135    font-size: 16px;
     136    display: table-cell;
    136137}
    137138table.woocommerce-checkout-review-order-table .product-name.smallpay-date {
     
    143144    padding-bottom: 5px;
    144145    font-size: 16px;
     146    display: table-cell;
    145147}
    146148table.woocommerce-checkout-review-order-table .product-total.smallpay-amount {
     
    152154    padding-bottom: 5px;
    153155    font-size: 16px;
     156    display: table-cell;
    154157}
    155158
     
    162165    padding-bottom: 5px;
    163166    font-size: 16px;
     167    display: table-cell;
    164168}
    165169#payment .payment_methods li p.smallpay-select,
  • smallpay/trunk/assets/js/smallpay.js

    r2435229 r2476384  
    5454  };
    5555  $(document).ready(function() {
    56 
    5756    $(document).on('click', '#smallpay-intallment-confirm', function() {
    5857      if (document.getElementById("smallpay_accept_check").checked == true) {
     
    9190        const elements = document.getElementsByClassName('br-remove');
    9291        while (elements.length > 0) elements[0].remove();
     92        $("#place_order").prop("disabled", false);
    9393      } else {
    9494        document.getElementById("smallpay_accept_text").style.color = "red";
     
    103103      // return true to continue the submission or false to prevent it return true;
    104104      if (($('#payment_method_smallpay').is(':checked') && ('new' === $('input[name="wc-smallpay-payment-token"]:checked').val() || (typeof $('input[name="wc-smallpay-payment-token"]:checked').val() === 'undefined')))) {
     105
    105106        if ($('#smallpay_xpayNonce').val().length === 0) {
    106107          XPay.createNonce("wc-xpay-cc-form", card);
     
    113114            return true;
    114115          } else {
     116            $("#place_order").prop("disabled", true);
    115117            $("#smallpay_xpay-card").html('');
    116118            $("#smallpay_xpayNonce").val('');
  • smallpay/trunk/includes/class-wc-gateway-smallpay.php

    r2435229 r2476384  
    465465        $enviroment = $this->oConfig->enviroment;
    466466        $APIKEY = $this->oConfig->nexi_alias;
    467         $amount = floatval(preg_replace('#[^\d.]#', '', $woocommerce->cart->get_total()));
     467        $amount = floatval(preg_replace('#[^\d]#', '', strip_tags($woocommerce->cart->get_total())));
    468468/*        $amount = 1;*/
    469469        $transactionId = $oXPay->get_cod_trans(date('Ymd'));
     
    646646        if ($exp == null && !empty($_REQUEST['exp'])) {
    647647            $exp = sanitize_text_field($_REQUEST['exp']);
     648        }else if ($exp == null){
     649            $today = new DateTime();
     650            $exp = $today->format('Ym');
    648651        }
    649652        $expY = substr($exp, 0, 4);
  • smallpay/trunk/lang/smallpay-it_IT.po

    r2435229 r2476384  
     1# Translation of Plugins - SmallPay - Stable (latest release) in Italian
     2# This file is distributed under the same license as the Plugins - SmallPay - Stable (latest release) package.
    13msgid ""
    24msgstr ""
    3 "Project-Id-Version: \n"
    4 "Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2020-06-19 12:33+0000\n"
    6 "PO-Revision-Date: 2020-11-24 16:27+0000\n"
    7 "Last-Translator: \n"
    8 "Language-Team: Italiano\n"
    9 "Language: it_IT\n"
    10 "Plural-Forms: nplurals=2; plural=n != 1;\n"
     5"PO-Revision-Date: 2020-12-16 18:49:44+0000\n"
    116"MIME-Version: 1.0\n"
    127"Content-Type: text/plain; charset=UTF-8\n"
    138"Content-Transfer-Encoding: 8bit\n"
    14 "X-Generator: Loco https://localise.biz/\n"
    15 "X-Loco-Version: 2.4.0; wp-5.4.2"
    16 
    17 #: includes/class-wc-gateway-smallpay-configuration.php:124
    18 msgid "Alias"
    19 msgstr "Alias"
    20 
    21 #: includes/class-wc-gateway-smallpay.php:162
     9"Plural-Forms: nplurals=2; plural=n != 1;\n"
     10"X-Generator: GlotPress/3.0.0-alpha.2\n"
     11"Language: it\n"
     12"Project-Id-Version: Plugins - SmallPay - Stable (latest release)\n"
     13
     14#: templates/form.php:107
     15msgid "you have chosen to make the payment in a single solution of €"
     16msgstr "Hai scelto di pagare in un unica soluzione di €"
     17
     18#: templates/form.php:73
     19msgid "I confirm that I have chosen the installment plan independently."
     20msgstr "Confermo di aver scelto in autonomia il piano rateale."
     21
     22#: includes/class-wc-gateway-smallpay.php:46
     23msgid "Smallpay"
     24msgstr "Smallpay"
     25
     26#: templates/details_payment_xpay.php:48 templates/wc_smallpay_myorder.php:17
     27msgid "Paid"
     28msgstr "Pagato"
     29
     30#: smallpay.php:116
     31msgid "Settings"
     32msgstr "Impostazioni"
     33
     34#: smallpay.php:87
     35msgid "SmallPay is inactive because WooCommerce is not installed."
     36msgstr "SmallPay è inattivo perche WooCommerce non è installato"
     37
     38#: includes/class-wc-gateway-smallpay.php:729
     39msgid "go to SmallPay platform for retry the payment."
     40msgstr "Vai alla piattaforma SmallPay per rilanciare il pagamento."
     41
     42#: includes/class-wc-gateway-smallpay.php:729
     43msgid "whitout success."
     44msgstr "senza successo."
     45
     46#: includes/class-wc-gateway-smallpay.php:728
     47msgid "of the order"
     48msgstr "dell'ordine"
     49
     50#: includes/class-wc-gateway-smallpay.php:727
     51msgid "SmallPay try to pay installment number"
     52msgstr "SmallPay ha provato ad addebitare il pagamento della rata numero"
     53
     54#: includes/class-wc-gateway-smallpay.php:726
     55msgid "In date"
     56msgstr "In data"
     57
     58#: includes/class-wc-gateway-smallpay.php:724
     59msgid "Installment payment problem for order"
     60msgstr "Problema nel pagamento di una rata dell'ordine"
     61
     62#: includes/class-wc-gateway-smallpay.php:698
     63msgid "update call with MAC error"
     64msgstr "chiamata aggiornamento con errore mac"
     65
     66#: includes/class-wc-gateway-smallpay.php:627
     67msgid "Total"
     68msgstr "Totale"
     69
     70#: includes/class-wc-gateway-smallpay.php:614
     71msgid "Today"
     72msgstr "Oggi"
     73
     74#: includes/class-wc-gateway-smallpay.php:609
     75msgid "Date"
     76msgstr "Data"
     77
     78#: includes/class-wc-gateway-smallpay.php:608
     79msgid "Installment"
     80msgstr "Rate"
     81
     82#: includes/class-wc-gateway-smallpay.php:605
     83msgid "your installment plan will be:"
     84msgstr "Il tuo piano rateale sarà il seguente:"
     85
     86#: includes/class-wc-gateway-smallpay.php:384
     87msgid "you can pay this products in"
     88msgstr "Potrai pagare questo prodotto in"
     89
     90#: includes/class-wc-gateway-smallpay.php:383
     91msgid "INSTALLABLE PRODUCT"
     92msgstr "PRODOTTO RATEIZZABILE"
     93
     94#: includes/class-wc-gateway-smallpay.php:360
     95#: includes/class-wc-gateway-smallpay.php:384
     96msgid "installments"
     97msgstr "rate"
     98
     99#: includes/class-wc-gateway-smallpay.php:359
     100msgid "product available in"
     101msgstr "Prodotto acquistabile in"
     102
     103#: includes/class-wc-gateway-smallpay.php:313
     104msgid "Maximum number of installments"
     105msgstr "massimo numero di rate"
     106
     107#: includes/class-wc-gateway-smallpay.php:311
     108msgid "Max Installmets"
     109msgstr "Numero massimo di rate"
     110
     111#: includes/class-wc-gateway-smallpay.php:306
     112msgid "Is this product installable?"
     113msgstr "Questo prodotto sarà rateizzabile?"
     114
     115#: includes/class-wc-gateway-smallpay.php:305
     116msgid "Yes"
     117msgstr "Sì"
     118
     119#: includes/class-wc-gateway-smallpay.php:305
     120msgid "No"
     121msgstr "No"
     122
     123#: includes/class-wc-gateway-smallpay.php:304
     124msgid "Installable product"
     125msgstr "Prodotto rateizzabile"
     126
     127#: includes/class-wc-gateway-smallpay.php:277
     128msgid "Transaction completed"
     129msgstr "Transazioni completate"
     130
     131#: includes/class-wc-gateway-smallpay.php:276
     132msgid "Transaction with problem"
     133msgstr "Transazioni con problemi"
     134
     135#: includes/class-wc-gateway-smallpay.php:275
     136msgid "Transaction opened"
     137msgstr "Transazioni aperte"
     138
     139#: includes/class-wc-gateway-smallpay.php:227
     140msgid "Status of installment transactions"
     141msgstr "Stato delle transazioni rateali"
     142
     143#: includes/class-wc-gateway-smallpay.php:175
     144msgid "Last Installment"
     145msgstr "Ultima rata"
     146
     147#: includes/class-wc-gateway-smallpay.php:174
     148msgid "Installments"
     149msgstr "Rate"
     150
     151#: includes/class-wc-gateway-smallpay.php:173
     152msgid "Payment Method"
     153msgstr "Metodo di pagamento"
     154
     155#: includes/class-wc-gateway-smallpay.php:147
    22156msgid "All Payment Methods"
    23157msgstr "Tutti i metodi di pagamento"
     158
     159#: includes/class-wc-gateway-smallpay.php:117
     160msgid "Completed inst. (%s)"
     161msgid_plural "Completed inst. (%s)"
     162msgstr[0] "Pag. Rateale completato (%s)"
     163msgstr[1] "Pag.Rateale completato (%s)"
     164
     165#: includes/class-wc-gateway-smallpay.php:112
     166#: includes/class-wc-gateway-smallpay.php:132
     167msgid "Completed instalments payment"
     168msgstr "Pag. rateale completato"
     169
     170#: includes/class-wc-gateway-smallpay.php:108
     171msgid "Incomplete inst. (%s)"
     172msgid_plural "Incomplete inst. (%s)"
     173msgstr[0] "Pag.rateale in corso (%s)"
     174msgstr[1] "Pag.Rateale in corso (%s)"
     175
     176#: includes/class-wc-gateway-smallpay.php:103
     177#: includes/class-wc-gateway-smallpay.php:131
     178msgid "Incomplete instalments payment"
     179msgstr "Pag.rateale in corso"
     180
     181#: includes/class-wc-gateway-smallpay.php:49
     182msgid "You can pay in installments of your amount"
     183msgstr "Potrai pagare il tuo ordine in modo rateale"
    24184
    25185#: includes/class-wc-gateway-smallpay.php:27
     
    27187msgstr "Consenti ai tuoi clienti di effettuare pagamenti rateali"
    28188
    29 #: templates/wc_smallpay_myorder.php:14 templates/details_payment_xpay.php:46
    30 #: includes/class-wc-gateway-smallpay.php:593
    31 msgid "Amount"
    32 msgstr "Importo"
    33 
    34 #: includes/class-wc-gateway-smallpay-configuration.php:182
     189#: includes/class-wc-gateway-smallpay-api.php:184
     190msgid "Impossible to register site on SmallPay system! Please verify credetial"
     191msgstr "Non è stato possibile registrare il sito sui sistemi SmallPay! Verifica le credenziali inserite e riprova."
     192
     193#: includes/class-wc-gateway-smallpay-configuration.php:219
     194msgid "Text color in input field"
     195msgstr "Colore del testo nei campi input"
     196
     197#: includes/class-wc-gateway-smallpay-configuration.php:217
     198msgid "Text Color"
     199msgstr "Colore testo"
     200
     201#: includes/class-wc-gateway-smallpay-configuration.php:210
     202msgid "Text color of placeholder"
     203msgstr "Il colore del testo del valore placeholder"
     204
     205#: includes/class-wc-gateway-smallpay-configuration.php:208
     206msgid "Placeholder Color"
     207msgstr "Colore placeholder"
     208
     209#: includes/class-wc-gateway-smallpay-configuration.php:200
     210#: includes/class-wc-gateway-smallpay-configuration.php:202
     211msgid "When form has error"
     212msgstr "Quando il form ha errori"
     213
     214#: includes/class-wc-gateway-smallpay-configuration.php:193
     215msgid "When form is empty or correct"
     216msgstr "Quando il modulo di inserimento dati carta è vuoto o corretto "
     217
     218#: includes/class-wc-gateway-smallpay-configuration.php:191
    35219msgid "Border Color"
    36220msgstr "Colore bordo"
    37221
    38 #: includes/class-wc-gateway-smallpay-configuration.php:82
    39 msgid "By using this configurator you can change plugin options"
    40 msgstr "Usando questo configuratore puoi selezionare le opzioni per il plugin"
    41 
    42 #: includes/class-wc-gateway-smallpay-configuration.php:136
     222#: includes/class-wc-gateway-smallpay-configuration.php:185
     223msgid "The space between letters in pixel"
     224msgstr "Spaziatura in pixel"
     225
     226#: includes/class-wc-gateway-smallpay-configuration.php:183
     227msgid "Letter spacing - px"
     228msgstr "Spaziatura tra caratteri- px"
     229
     230#: includes/class-wc-gateway-smallpay-configuration.php:176
     231msgid "Font variant in the CC Form"
     232msgstr "La variante dello stile del modulo di inserimento carte di credito"
     233
     234#: includes/class-wc-gateway-smallpay-configuration.php:174
     235msgid "Font variant"
     236msgstr "Variante font"
     237
     238#: includes/class-wc-gateway-smallpay-configuration.php:167
     239msgid "Font style in the CC Form"
     240msgstr "Lo stile del modulo di inserimento carte di credito"
     241
     242#: includes/class-wc-gateway-smallpay-configuration.php:165
     243msgid "Font style"
     244msgstr "Stile font"
     245
     246#: includes/class-wc-gateway-smallpay-configuration.php:159
     247msgid "The size of the font in the CC Form in pixel"
     248msgstr "La dimensione in pixel del font all'interno del modulo di inserimento dati carta"
     249
     250#: includes/class-wc-gateway-smallpay-configuration.php:157
     251msgid "Font size - px"
     252msgstr "Dimensione font - px"
     253
     254#: includes/class-wc-gateway-smallpay-configuration.php:151
     255msgid "The font family in the CC Form - Is possible insert all font family installed on server"
     256msgstr "La famiglia di caratteri all'interno del modulo di inserimento dati carta. È possibile inserire tutte le famiglie di caratteri installate nel server."
     257
     258#: includes/class-wc-gateway-smallpay-configuration.php:149
     259msgid "Font family"
     260msgstr "Font family"
     261
     262#: includes/class-wc-gateway-smallpay-configuration.php:145
     263msgid "By using this configurator you can change the look and feel of your module"
     264msgstr "Utilizzando il configuratore potrai personalizzare l'aspetto del form"
     265
     266#: includes/class-wc-gateway-smallpay-configuration.php:143
     267msgid "Style configuration"
     268msgstr "Configurazione stile"
     269
     270#: includes/class-wc-gateway-smallpay-configuration.php:138
     271msgid "Group"
     272msgstr "Gruppo"
     273
     274#: includes/class-wc-gateway-smallpay-configuration.php:133
     275msgid "Key MAC Recurring"
     276msgstr "Chiave MAC pagamento ricorrente"
     277
     278#: includes/class-wc-gateway-smallpay-configuration.php:128
     279msgid "Alias Recurring"
     280msgstr "Alias pagamento ricorrente"
     281
     282#: includes/class-wc-gateway-smallpay-configuration.php:123
     283msgid "Key MAC"
     284msgstr "Chiave MAC"
     285
     286#: includes/class-wc-gateway-smallpay-configuration.php:120
     287#: includes/class-wc-gateway-smallpay-configuration.php:125
     288#: includes/class-wc-gateway-smallpay-configuration.php:130
     289#: includes/class-wc-gateway-smallpay-configuration.php:135
     290#: includes/class-wc-gateway-smallpay-configuration.php:140
     291msgid "Given to Merchant by Nexi"
     292msgstr "Fornito da Nexi"
     293
     294#: includes/class-wc-gateway-smallpay-configuration.php:118
     295msgid "Alias"
     296msgstr "Alias"
     297
     298#: includes/class-wc-gateway-smallpay-configuration.php:114
     299msgid "Gateway Nexi XPay configuration"
     300msgstr "Configurazione Gateway Nexi XPay"
     301
     302#: includes/class-wc-gateway-smallpay-configuration.php:107
     303msgid "Status of order at the end of installments"
     304msgstr "Stato dell'ordine al momento del completamento dei pagamenti rateali"
     305
     306#: includes/class-wc-gateway-smallpay-configuration.php:105
     307msgid "Completed payment Status"
     308msgstr "Stato ordine completato"
     309
     310#: includes/class-wc-gateway-smallpay-configuration.php:98
     311msgid "Status of order at creation"
     312msgstr "Stato dell'ordine al momento della creazione"
     313
     314#: includes/class-wc-gateway-smallpay-configuration.php:96
     315msgid "Creation order Status"
     316msgstr "Stato creazione ordine"
     317
     318#: includes/class-wc-gateway-smallpay-configuration.php:91
     319msgid "SmallPay Password"
     320msgstr "Password SmallPay"
     321
     322#: includes/class-wc-gateway-smallpay-configuration.php:88
     323#: includes/class-wc-gateway-smallpay-configuration.php:93
     324msgid "Given to Merchant by SmallPay"
     325msgstr "Fornito da SmallPay"
     326
     327#: includes/class-wc-gateway-smallpay-configuration.php:86
     328msgid "SmallPay Username"
     329msgstr "Nome utente SmallPay"
     330
     331#: includes/class-wc-gateway-smallpay-configuration.php:83
     332msgid "maximum cart amount (in Euro) for installment"
     333msgstr "Massimo valore del carrello (in Euro) per i pagamenti rateali"
     334
     335#: includes/class-wc-gateway-smallpay-configuration.php:81
     336msgid "Max cart amount - €"
     337msgstr "Valore massimo carrello - €"
     338
     339#: includes/class-wc-gateway-smallpay-configuration.php:78
     340msgid "minimum cart amount (in Euro) for installment"
     341msgstr "Minimo valore del carrello (in Euro) per i pagamenti rateali"
     342
     343#: includes/class-wc-gateway-smallpay-configuration.php:76
     344msgid "Min cart amount - €"
     345msgstr "Valore minimo carrello - €"
     346
     347#: includes/class-wc-gateway-smallpay-configuration.php:73
     348msgid "Select the maximum number of installments"
     349msgstr "Seleziona il numero massimo di rate"
     350
     351#: includes/class-wc-gateway-smallpay-configuration.php:70
     352msgid "Max Installments"
     353msgstr "Massimo numero di rate"
     354
     355#: includes/class-wc-gateway-smallpay-configuration.php:66
     356msgid "Enable SmallPay Payment Module."
     357msgstr "Attiva il modulo di pagamento SmallPay"
     358
     359#: includes/class-wc-gateway-smallpay-configuration.php:64
     360msgid "Enable/Disable"
     361msgstr "Attiva/Disattiva"
     362
     363#: includes/class-wc-gateway-smallpay-configuration.php:60
     364msgid "Payment module configuration"
     365msgstr "Configurazione modulo di pagamento"
     366
     367#: includes/class-wc-gateway-smallpay-configuration.php:56
     368msgid "From this page it is possible to insert the general configurations of the module. We remind you to enable the individual products you wish to offer with installment payment directly from the product sheet."
     369msgstr ""
     370"Da questa pagina è possibile inserire le configurazioni generali del modulo.\n"
     371"Ti ricordiamo di abilitare i singoli prodotti che vorrai offrire con pagamento rateale direttamente dalla scheda prodotto."
     372
     373#: includes/class-wc-gateway-smallpay-xpay.php:213
     374msgid "error in card tokenization"
     375msgstr "Errore nella tokenizzazione della carta"
     376
     377#: includes/class-wc-gateway-smallpay-xpay.php:202
     378#: includes/class-wc-gateway-smallpay-xpay.php:214
     379msgid "Thank you for shopping with us. However, the transaction has been declined."
     380msgstr "Grazie per l'acquisto. Tuttavia, la transazione è stata rifiutata."
     381
     382#: includes/class-wc-gateway-smallpay-xpay.php:200
     383msgid "transaction rejected by smallpay"
     384msgstr "Transazione rifiutata da SmallPay"
     385
     386#: includes/class-wc-gateway-smallpay-admin-order-details.php:35
     387msgid "Payment details"
     388msgstr "Dettagli pagamento"
     389
     390#: includes/class-wc-gateway-smallpay-xpay-api.php:388
     391#: includes/class-wc-gateway-smallpay-xpay-api.php:389
     392#: includes/class-wc-gateway-smallpay-xpay-api.php:436
     393#: includes/class-wc-gateway-smallpay-xpay-api.php:437
     394msgid "Error while nonce payment"
     395msgstr "Errore con pagamento nonce"
     396
     397#: includes/class-wc-gateway-smallpay-xpay-api.php:262
     398msgid "Detail order %s operation was rejected. Error detail: %s"
     399msgstr "L'ordine %s è stato rifiutato. Errore: %s"
     400
     401#: includes/class-wc-gateway-smallpay-xpay-api.php:221
     402msgid "The transaction %s was rejected. Error detail: %s"
     403msgstr "La transazione %s è stata rifiutata. Errore: %s"
     404
     405#: includes/class-wc-gateway-smallpay-xpay-api.php:220
     406#: includes/class-wc-gateway-smallpay-xpay-api.php:261
     407msgid "payment call rejected"
     408msgstr "Chiamata di pagamento rifiutata"
     409
     410#: includes/class-wc-gateway-smallpay-xpay-api.php:214
     411#: includes/class-wc-gateway-smallpay-xpay-api.php:265
     412msgid "payment call with MAC error"
     413msgstr "Chiamata di pagamento con errore MAC"
     414
     415#: includes/class-wc-gateway-smallpay-xpay-api.php:159
     416#: includes/class-wc-gateway-smallpay-xpay-api.php:215
     417#: includes/class-wc-gateway-smallpay-xpay-api.php:266
     418#: includes/class-wc-gateway-smallpay-xpay-api.php:385
     419#: includes/class-wc-gateway-smallpay-xpay-api.php:433
     420msgid "Error in the calculation of the return MAC parameter"
     421msgstr "Errore nel calcolo del MAC di ritorno"
     422
     423#: includes/class-wc-gateway-smallpay-xpay-api.php:158
     424msgid "refound call with MAC error"
     425msgstr "chiamata di rimborso con errore MAC"
     426
     427#: includes/class-wc-gateway-smallpay-xpay-api.php:154
     428msgid "refound call with error"
     429msgstr "Chiamata di rimborso con errore"
     430
     431#: templates/form.php:91
     432msgid "problem in xpay build creation"
     433msgstr "Problema nella creazione del Build Xpay"
     434
     435#: templates/form.php:82
     436msgid "Insert credit card info"
     437msgstr "Inserisci i dati della carta di credito"
     438
     439#: templates/form.php:74
     440msgid "Confirm"
     441msgstr "Conferma"
     442
     443#: templates/form.php:66
     444msgid "New Card"
     445msgstr "Usa nuova carta"
     446
     447#: templates/form.php:63
     448msgid "The expiration of the card was not compatible with installable payment"
     449msgstr "La scadenza della carta non è compatibile con il pagamento rateale."
     450
     451#: templates/form.php:57
     452msgid "The number of installments was not compatible with the expiration of the card"
     453msgstr "Il numero di rate selezionato non era compatibile con la scadenza della carta"
     454
     455#: templates/form.php:55
     456msgid "Vary the number of installments."
     457msgstr "Varia il numero di rate."
     458
     459#: templates/form.php:28
     460msgid "Choose the number of installments"
     461msgstr "Scegli il numero di rate"
     462
     463#: templates/form.php:23
     464msgid "contractual conditions"
     465msgstr "condizioni contrattuali"
     466
     467#: templates/form.php:23
     468msgid "I confirm that I have read and accepted the"
     469msgstr "Confermo di aver letto e accetto le"
     470
     471#: templates/form.php:16
    43472msgid ""
    44 "By using this configurator you can change the look and feel of your module"
    45 msgstr "Utilizzando il configuratore potrai personalizzare l'aspetto del form"
     473"install the amount, choose the number of installments and insert yours credit card!\n"
     474"    The installments will be charged to you every 5 of every month up to the deadline."
     475msgstr "Rateizza l'acquisto, scegli il numero di rate e inserisci i dati della tua carta di credito! Le rate ti saranno addebitate il giorno 5 di ogni mese sino alla scadenza."
     476
     477#: templates/details_payment_xpay.php:29
     478msgid "Expire Date"
     479msgstr "Scadenza"
     480
     481#: templates/details_payment_xpay.php:24
     482msgid "Card Pan"
     483msgstr "Nr. carta"
     484
     485#: templates/details_payment_xpay.php:19
     486msgid "Nationality"
     487msgstr "Nazionalità"
     488
     489#: templates/details_payment_xpay.php:14
     490msgid "Card Kind"
     491msgstr "Tipo carta"
    46492
    47493#: templates/details_payment_xpay.php:10
     
    49495msgstr "Dettagli Carta"
    50496
    51 #: templates/details_payment_xpay.php:14
    52 msgid "Card Kind"
    53 msgstr "Tipo Carta"
    54 
    55 #: templates/details_payment_xpay.php:24
    56 msgid "Card Pan"
    57 msgstr "Nr. Carta"
    58 
    59 #: templates/form.php:27
    60 msgid "Choose the number of installments"
    61 msgstr "Scegli il numero di rate"
    62 
    63 #: includes/class-wc-gateway-smallpay.php:117
    64 #, php-format
    65 msgid "Completed inst. (%s)"
    66 msgid_plural "Completed inst. (%s)"
    67 msgstr[0] "Pag.Rateale completato (%s)"
    68 msgstr[1] "Pag.Rateale completato (%s)"
    69 
    70 #: includes/class-wc-gateway-smallpay.php:112
    71 #: includes/class-wc-gateway-smallpay.php:132
    72 msgid "Completed instalments payment"
    73 msgstr "Pag.Rateale completato"
    74 
    75 #: includes/class-wc-gateway-smallpay-configuration.php:111
    76 msgid "Completed payment Status"
    77 msgstr "Stato ordine completato"
    78 
    79 #: templates/form.php:72
    80 msgid "Confirm"
    81 msgstr "Conferma"
    82 
    83 #: templates/form.php:23
    84 msgid "contractual conditions"
    85 msgstr "condizioni contrattuali"
    86 
    87 #: includes/class-wc-gateway-smallpay-configuration.php:102
    88 msgid "Creation order Status"
    89 msgstr "Stato creazione ordine"
    90 
    91 #: includes/class-wc-gateway-smallpay.php:592
    92 msgid "Date"
    93 msgstr "Data"
    94 
    95 #: includes/class-wc-gateway-smallpay-xpay-api.php:255
    96 #, php-format
    97 msgid "Detail order %s operation was rejected. Error detail: %s"
    98 msgstr "L'ordine %s è stato rifiutato. Errore: %s"
    99 
    100 #: templates/wc_smallpay_myorder.php:49 templates/details_payment_xpay.php:78
     497#: templates/wc_smallpay_myorder.php:44
     498msgid "fore the installment plan by SmallPay"
     499msgstr "per il piano rateale con SmallPay"
     500
     501#: templates/wc_smallpay_myorder.php:44
    101502msgid "Download your contract"
    102503msgstr "Scarica il tuo contratto"
    103504
    104 #: includes/class-wc-gateway-smallpay-configuration.php:61
    105 msgid "Enable SmallPay Payment Module."
    106 msgstr "Attiva il modulo di pagamento SmallPay"
    107 
    108 #: includes/class-wc-gateway-smallpay-configuration.php:59
    109 msgid "Enable/Disable"
    110 msgstr "Attiva/Disattiva"
    111 
    112 #: includes/class-wc-gateway-smallpay-xpay.php:212
    113 msgid "error in card tokenization"
    114 msgstr "Errore nella tokenizzazione della carta"
    115 
    116 #: includes/class-wc-gateway-smallpay-xpay-api.php:152
    117 #: includes/class-wc-gateway-smallpay-xpay-api.php:208
    118 #: includes/class-wc-gateway-smallpay-xpay-api.php:259
    119 #: includes/class-wc-gateway-smallpay-xpay-api.php:378
    120 #: includes/class-wc-gateway-smallpay-xpay-api.php:426
    121 msgid "Error in the calculation of the return MAC parameter"
    122 msgstr "Errore nel calcolo del MAC di ritorno"
    123 
    124 #: includes/class-wc-gateway-smallpay-xpay-api.php:381
    125 #: includes/class-wc-gateway-smallpay-xpay-api.php:382
    126 #: includes/class-wc-gateway-smallpay-xpay-api.php:429
    127 #: includes/class-wc-gateway-smallpay-xpay-api.php:430
    128 msgid "Error while nonce payment"
    129 msgstr "Errore con pagamento nonce"
    130 
    131 #: templates/wc_smallpay_myorder.php:15 templates/details_payment_xpay.php:47
     505#: templates/details_payment_xpay.php:47 templates/wc_smallpay_myorder.php:16
     506msgid "Payment Date"
     507msgstr "Data di pagamento"
     508
     509#: templates/details_payment_xpay.php:46 templates/wc_smallpay_myorder.php:15
    132510msgid "Expected Date"
    133 msgstr "Data Programmata"
    134 
    135 #: templates/details_payment_xpay.php:29
    136 msgid "Expire Date"
    137 msgstr "Scadenza"
    138 
    139 #: includes/class-wc-gateway-smallpay-configuration.php:140
    140 msgid "Font family"
    141 msgstr "Font family"
    142 
    143 #: includes/class-wc-gateway-smallpay-configuration.php:148
    144 msgid "Font size - px"
    145 msgstr "Dimensione Font - Px"
    146 
    147 #: includes/class-wc-gateway-smallpay-configuration.php:156
    148 msgid "Font style"
    149 msgstr "Font style"
    150 
    151 #: includes/class-wc-gateway-smallpay-configuration.php:158
    152 msgid "Font style in the CC Form"
    153 msgstr "Lo stile del font nel form per le carte di credito"
    154 
    155 #: includes/class-wc-gateway-smallpay-configuration.php:165
    156 msgid "Font variant"
    157 msgstr "Font variant"
    158 
    159 #: includes/class-wc-gateway-smallpay-configuration.php:167
    160 msgid "Font variant in the CC Form"
    161 msgstr "La viariante dello stile del font nel form per le carte di credito"
    162 
    163 #: templates/wc_smallpay_myorder.php:49 templates/details_payment_xpay.php:78
    164 msgid "fore the installment plan by SmallPay"
    165 msgstr "per il piano rateale con SmallPay"
    166 
    167 #: includes/class-wc-gateway-smallpay-configuration.php:51
    168 msgid ""
    169 "From this page it is possible to insert the general configurations of the "
    170 "module. We remind you to enable the individual products you wish to offer "
    171 "with installment payment directly from the product sheet."
    172 msgstr ""
    173 "Da questa pagina è possibile inserire le configurazioni generali del modulo."
    174 "\n"
    175 "Ti ricordiamo di abilitare i singoli prodotti che vorrai offrire con "
    176 "pagamento rateale direttamente dalla scheda prodotto."
    177 
    178 #: includes/class-wc-gateway-smallpay-configuration.php:120
    179 msgid "Gateway Nexi XPay configuration"
    180 msgstr "Configurazione Gateway Nexi XPay"
    181 
    182 #: includes/class-wc-gateway-smallpay-configuration.php:55
    183 msgid "Gateway Smallpay configuration"
    184 msgstr "Configurazioni Gateway SmallPay"
    185 
    186 #: includes/class-wc-gateway-smallpay-configuration.php:126
    187 #: includes/class-wc-gateway-smallpay-configuration.php:131
    188 msgid "Given to Merchant by Nexi"
    189 msgstr "Fornito da Nexi"
    190 
    191 #: includes/class-wc-gateway-smallpay-configuration.php:67
    192 #: includes/class-wc-gateway-smallpay-configuration.php:72
    193 #: includes/class-wc-gateway-smallpay-configuration.php:77
    194 msgid "Given to Merchant by SmallPay"
    195 msgstr "Fornito da SmallPay"
    196 
    197 #: includes/class-wc-gateway-smallpay.php:700
    198 msgid "go to SmallPay platform for retry the payment."
    199 msgstr "Vai alla piattaforma SmallPay per rilanciare il pagamento."
     511msgstr "Data programmata"
     512
     513#: templates/details_payment_xpay.php:45 templates/wc_smallpay_myorder.php:14
     514#: includes/class-wc-gateway-smallpay.php:610
     515msgid "Amount"
     516msgstr "Importo"
     517
     518#: templates/details_payment_xpay.php:44 templates/wc_smallpay_myorder.php:13
     519msgid "Nr."
     520msgstr "Nr."
     521
     522#: templates/details_payment_xpay.php:39 templates/wc_smallpay_myorder.php:8
     523msgid "Installments Information"
     524msgstr "Informazioni sul piano rateale"
    200525
    201526#. Author URI of the plugin
     
    203528msgstr "https://www.smallpay.it"
    204529
    205 #: templates/form.php:71
    206 msgid "I confirm that I have chosen the installment plan independently."
    207 msgstr "Confermo di aver scelto in autonomia il piano rateale."
    208 
    209 #: templates/form.php:23
    210 msgid "I confirm that I have read and accepted the"
    211 msgstr "Confermo di aver letto e accetto le"
    212 
    213 #: includes/class-wc-gateway-smallpay.php:697
    214 msgid "In date"
    215 msgstr "In Data"
    216 
    217 #: includes/class-wc-gateway-smallpay.php:108
    218 #, php-format
    219 msgid "Incomplete inst. (%s)"
    220 msgid_plural "Incomplete inst. (%s)"
    221 msgstr[0] "Pag.Rateale in corso (%s)"
    222 msgstr[1] "Pag.Rateale in corso (%s)"
    223 
    224 #: includes/class-wc-gateway-smallpay.php:103
    225 #: includes/class-wc-gateway-smallpay.php:131
    226 msgid "Incomplete instalments payment"
    227 msgstr "Pag.Rateale in corso"
    228 
    229 #: templates/form.php:79
    230 msgid "Insert credit card info"
    231 msgstr "Inserisci i dati della carta di credito"
    232 
    233 #: templates/form.php:18
    234 msgid ""
    235 "install the amount, choose the number of installments and insert yours "
    236 "credit card!\n"
    237 "    The installments will be charged to you every 5 of every month up to the "
    238 "deadline."
    239 msgstr ""
    240 "Rateizza l'acquisto, scegli il numero di rate e inserisci i dati della tua "
    241 "carta di credito! Le rate ti saranno addebitate il giorno 5 di ogni mese "
    242 "sino alla scadenza."
    243 
    244 #: includes/class-wc-gateway-smallpay.php:376
    245 msgid "INSTALLABLE PRODUCT"
    246 msgstr "PRODOTTO RATEIZZABILE"
    247 
    248 #: includes/class-wc-gateway-smallpay.php:591
    249 msgid "Installment"
    250 msgstr "Rate"
    251 
    252 #: includes/class-wc-gateway-smallpay.php:695
    253 msgid "Installment payment problem for order"
    254 msgstr "Problema nel pagamento di una rata dell'ordine"
    255 
    256 #: includes/class-wc-gateway-smallpay.php:189
    257 msgid "Installments"
    258 msgstr "Rate"
    259 
    260 #: includes/class-wc-gateway-smallpay.php:354
    261 #: includes/class-wc-gateway-smallpay.php:377
    262 msgid "installments"
    263 msgstr "rate"
    264 
    265 #: templates/wc_smallpay_myorder.php:8 templates/details_payment_xpay.php:40
    266 msgid "Installments Information"
    267 msgstr "Informazioni sul piano rateale"
    268 
    269 #: includes/class-wc-gateway-smallpay-configuration.php:129
    270 msgid "Key MAC"
    271 msgstr "Chiave MAC"
    272 
    273 #: includes/class-wc-gateway-smallpay.php:190
    274 msgid "Last Installment"
    275 msgstr "Ultima rata"
    276 
    277 #: includes/class-wc-gateway-smallpay-configuration.php:174
    278 msgid "Letter spacing - px"
    279 msgstr "Spaziature - Px"
    280 
    281 #: includes/class-wc-gateway-smallpay-configuration.php:97
    282 msgid "Max cart amount - €"
    283 msgstr "Valore massimo carrello - €"
    284 
    285 #: includes/class-wc-gateway-smallpay-configuration.php:86
    286 msgid "Max Installments"
    287 msgstr "Massimo numero di rate"
    288 
    289 #: includes/class-wc-gateway-smallpay.php:309
    290 msgid "Max Installmets"
    291 msgstr "Numero massimo di rate"
    292 
    293 #: includes/class-wc-gateway-smallpay-configuration.php:99
    294 msgid "maximum cart amount (in Euro) for installment"
    295 msgstr "Massimo valore del carrello (in Euro) per i pagamenti rateali"
    296 
    297 #: includes/class-wc-gateway-smallpay.php:311
    298 msgid "Maximum number of installments"
    299 msgstr "massimo numero di rate"
    300 
    301 #: includes/class-wc-gateway-smallpay-configuration.php:92
    302 msgid "Min cart amount - €"
    303 msgstr "Valore minimo carrello - €"
    304 
    305 #: includes/class-wc-gateway-smallpay-configuration.php:94
    306 msgid "minimum cart amount (in Euro) for installment"
    307 msgstr "Minimo valore del carrello (in Euro) per i pagamenti rateali"
    308 
    309 #: templates/details_payment_xpay.php:19
    310 msgid "Nationality"
    311 msgstr "Nazionalità"
    312 
    313 #: templates/form.php:65
    314 msgid "New Card"
    315 msgstr "Usa nuova carta"
    316 
    317 #: templates/wc_smallpay_myorder.php:13 templates/details_payment_xpay.php:45
    318 msgid "Nr."
    319 msgstr "Nr."
    320 
    321 #: includes/class-wc-gateway-smallpay.php:699
    322 msgid "of the order"
    323 msgstr "dell'ordine"
     530#. Author of the plugin
     531msgid "SmallPay Srl"
     532msgstr "SmallPay Srl"
    324533
    325534#. Description of the plugin
     
    327536msgstr "Plugin ufficiale SmallPay"
    328537
    329 #: templates/wc_smallpay_myorder.php:17 templates/details_payment_xpay.php:49
    330 msgid "Paid"
    331 msgstr "Pagata"
    332 
    333 #: includes/class-wc-gateway-smallpay-xpay-api.php:213
    334 #: includes/class-wc-gateway-smallpay-xpay-api.php:254
    335 msgid "payment call rejected"
    336 msgstr "Chiamata di pagamento rifiutata"
    337 
    338 #: includes/class-wc-gateway-smallpay-xpay-api.php:207
    339 #: includes/class-wc-gateway-smallpay-xpay-api.php:258
    340 msgid "payment call with MAC error"
    341 msgstr "Chiamata di pagamento con errore MAC"
    342 
    343 #: templates/wc_smallpay_myorder.php:16 templates/details_payment_xpay.php:48
    344 msgid "Payment Date"
    345 msgstr "Data di Pagamento"
    346 
    347 #: includes/class-wc-gateway-smallpay-admin-order-details.php:35
    348 msgid "Payment details"
    349 msgstr "Dettagli Pagamento"
    350 
    351 #: includes/class-wc-gateway-smallpay.php:188
    352 msgid "Payment Method"
    353 msgstr "Metodo di pagamento"
    354 
    355 #: includes/class-wc-gateway-smallpay-configuration.php:199
    356 msgid "Placeholder Color"
    357 msgstr "Colore placeholder"
    358 
    359 #: templates/form.php:88
    360 msgid "problem in xpay build creation"
    361 msgstr "Problema nella creazione del Build Xpay"
    362 
    363 #: includes/class-wc-gateway-smallpay.php:353
    364 msgid "product available in"
    365 msgstr "Prodotto acquistabile in"
    366 
    367 #: includes/class-wc-gateway-smallpay-xpay-api.php:147
    368 msgid "refound call with error"
    369 msgstr "Chiamata di rimborso con errore"
    370 
    371 #: includes/class-wc-gateway-smallpay-xpay-api.php:151
    372 msgid "refound call with MAC error"
    373 msgstr "chiamata di rimborso con errore MAC"
    374 
    375 #: includes/class-wc-gateway-smallpay-configuration.php:89
    376 msgid "Select the maximum number of installments"
    377 msgstr "Seleziona il numero massimo di rate"
    378 
    379 #: smallpay.php:116
    380 msgid "Settings"
    381 msgstr "Impostazioni"
    382 
    383 #. Name of the plugin
     538#. Plugin Name of the plugin
    384539#: includes/class-wc-gateway-smallpay.php:26
    385540msgid "SmallPay"
    386541msgstr "SmallPay"
    387 
    388 #: includes/class-wc-gateway-smallpay.php:46
    389 msgid "Smallpay"
    390 msgstr "Smallpay"
    391 
    392 #: smallpay.php:87
    393 msgid "SmallPay is inactive because WooCommerce is not installed."
    394 msgstr "SmallPay è inattivo perche WooCommerce non è installato"
    395 
    396 #: includes/class-wc-gateway-smallpay-configuration.php:65
    397 msgid "SmallPay Merchant Id"
    398 msgstr "SmallPay Merchant Id"
    399 
    400 #: includes/class-wc-gateway-smallpay-configuration.php:80
    401 msgid "Smallpay Options"
    402 msgstr "Opzioni Smallpay"
    403 
    404 #: includes/class-wc-gateway-smallpay-configuration.php:70
    405 msgid "SmallPay Secret"
    406 msgstr "SmallPay Secret"
    407 
    408 #: includes/class-wc-gateway-smallpay-configuration.php:75
    409 #| msgid "SmallPay Username"
    410 msgid "SmallPay Service"
    411 msgstr "SmallPay Service"
    412 
    413 #. Author of the plugin
    414 msgid "SmallPay Srl"
    415 msgstr "SmallPay Srl"
    416 
    417 #: includes/class-wc-gateway-smallpay.php:698
    418 msgid "SmallPay try to pay installment number"
    419 msgstr "SmallPay ha provato ad addebitare il pagamento della rata numero"
    420 
    421 #: includes/class-wc-gateway-smallpay.php:242
    422 msgid "Status of installment transactions"
    423 msgstr "Stato delle transazioni Rateali"
    424 
    425 #: includes/class-wc-gateway-smallpay-configuration.php:104
    426 msgid "Status of order at creation"
    427 msgstr "Stato dell'ordine al momento della creazione"
    428 
    429 #: includes/class-wc-gateway-smallpay-configuration.php:113
    430 msgid "Status of order at the end of installments"
    431 msgstr "Stato dell'ordine al momento del completamento dei pagamenti rateali"
    432 
    433 #: includes/class-wc-gateway-smallpay-configuration.php:134
    434 msgid "Style configuration"
    435 msgstr "Configurazione stile"
    436 
    437 #: includes/class-wc-gateway-smallpay-configuration.php:208
    438 msgid "Text Color"
    439 msgstr "Colore testo"
    440 
    441 #: includes/class-wc-gateway-smallpay-configuration.php:210
    442 msgid "Text color in input field"
    443 msgstr "Colore del testo nei campi input"
    444 
    445 #: includes/class-wc-gateway-smallpay-configuration.php:201
    446 msgid "Text color of placeholder"
    447 msgstr "Il colore del testo del valore placeholder"
    448 
    449 #: includes/class-wc-gateway-smallpay-xpay.php:201
    450 #: includes/class-wc-gateway-smallpay-xpay.php:213
    451 msgid ""
    452 "Thank you for shopping with us. However, the transaction has been declined."
    453 msgstr "Grazie per l'acquisto. Tuttavia, la transazione è stata rifiutata."
    454 
    455 #: templates/form.php:62
    456 msgid "The expiration of the card was not compatible with installable payment"
    457 msgstr "La scadenza della carta non è compatibile con il pagamento rateale."
    458 
    459 #: includes/class-wc-gateway-smallpay-configuration.php:142
    460 msgid ""
    461 "The font family in the CC Form - Is possible insert all font family "
    462 "installed on server"
    463 msgstr ""
    464 "Il Font Family utilizzato nel form della carta di credito - è possibile "
    465 "inserire qualsiasi font family installato sul server"
    466 
    467 #: templates/form.php:56
    468 msgid ""
    469 "The number of installments was not compatible with the expiration of the card"
    470 msgstr ""
    471 "Il numero di rate selezionato non era compatibile con la scadenza della carta"
    472 
    473 #: includes/class-wc-gateway-smallpay-configuration.php:150
    474 msgid "The size of the font in the CC Form in pixel"
    475 msgstr "La gradezza del font nel form per le carte di credito"
    476 
    477 #: includes/class-wc-gateway-smallpay-configuration.php:176
    478 msgid "The space between letters in pixel"
    479 msgstr "Spaziatura in pixel"
    480 
    481 #: includes/class-wc-gateway-smallpay-xpay-api.php:214
    482 #, php-format
    483 msgid "The transaction %s was rejected. Error detail: %s"
    484 msgstr "La transazione %s è stata rifiutata. Errore: %s"
    485 
    486 #: includes/class-wc-gateway-smallpay.php:597
    487 msgid "Today"
    488 msgstr "Oggi"
    489 
    490 #: includes/class-wc-gateway-smallpay.php:610
    491 msgid "Total"
    492 msgstr "Totale"
    493 
    494 #: includes/class-wc-gateway-smallpay.php:292
    495 msgid "Transaction completed"
    496 msgstr "Transazioni completate"
    497 
    498 #: includes/class-wc-gateway-smallpay.php:290
    499 msgid "Transaction opened"
    500 msgstr "Transazioni aperte"
    501 
    502 #: includes/class-wc-gateway-smallpay-xpay.php:199
    503 msgid "transaction rejected by smallpay"
    504 msgstr "Transazione rifiutata da SmallPay"
    505 
    506 #: includes/class-wc-gateway-smallpay.php:291
    507 msgid "Transaction with problem"
    508 msgstr "Transazioni con problemi"
    509 
    510 #: includes/class-wc-gateway-smallpay-api.php:180
    511 msgid "Unable to save - Configuration refused from Smallpay"
    512 msgstr "Impossibile salvare - Configurazione rifiutata da Smallpay"
    513 
    514 #: templates/form.php:54
    515 msgid "Vary the number of installments."
    516 msgstr "Numero di rate Variato."
    517 
    518 #: includes/class-wc-gateway-smallpay-configuration.php:191
    519 #: includes/class-wc-gateway-smallpay-configuration.php:193
    520 msgid "When form has error"
    521 msgstr "Quando il form ha errori"
    522 
    523 #: includes/class-wc-gateway-smallpay-configuration.php:184
    524 msgid "When form is empty or correct"
    525 msgstr "Quando il form è vuoto o corretto"
    526 
    527 #: includes/class-wc-gateway-smallpay.php:700
    528 msgid "whitout success."
    529 msgstr "senza successo."
    530 
    531 #: includes/class-wc-gateway-smallpay.php:49
    532 msgid "You can pay in installments of your amount"
    533 msgstr "Potrai pagare il tuo ordine in modo rateale"
    534 
    535 #: includes/class-wc-gateway-smallpay.php:377
    536 msgid "you can pay this products in"
    537 msgstr "Potrai pagare questo prodotto in"
    538 
    539 #: templates/form.php:104
    540 msgid "you have chosen to make the payment in a single solution of €"
    541 msgstr "Hai scelto di pagare in un unica soluzione di €"
    542 
    543 #: includes/class-wc-gateway-smallpay.php:588
    544 msgid "your installment plan will be:"
    545 msgstr "Il tuo piano rateale sarà il seguente:"
  • smallpay/trunk/readme.txt

    r2435605 r2476384  
    55Author: SmallPay
    66Requires at least: 4.4.0
    7 Tested up to: 5.5.3
     7Tested up to: 5.6.1
    88WC Requires at least: 3.0.0
    9 WC Tested up to: 4.7.0
    10 Stable tag: 3.0.4
     9WC Tested up to: 5.0.0
     10Stable tag: 3.0.5
    1111License: GNU General Public License v3.0
    1212License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    101101= 3.0.4 =
    102102 * Fixed - Issue with Wordpress back office visualization
     103 
     104= 3.0.5 =
     105 * Fixed - possibility to proceed to purchase even with unconfirmed installments.
  • smallpay/trunk/smallpay.php

    r2435605 r2476384  
    55 * Plugin URI:
    66 * Description: Official SmallPay plugin.
    7  * Version: 3.0.4
     7 * Version: 3.0.5
    88 * Author: SmallPay Srl
    99 * Author URI: https://www.smallpay.it
     
    2323}
    2424
    25 define('SPWC_PLUGIN_VERSION', '3.0.4');
     25define('SPWC_PLUGIN_VERSION', '3.0.5');
    2626
    2727class WC_SmallPay
  • smallpay/trunk/templates/form.php

    r2435229 r2476384  
     1<div>
    12<p class="smallpay-p-size">
    23<?php
     
    7071</div>
    7172    <p id="smallpay-intallment-confirm-text" class="smallpay-p-size smallpay-p-confirm"><?php echo __('I confirm that I have chosen the installment plan independently.', 'smallpay');?></p>
    72     <input id="smallpay-intallment-confirm" type="button" value="<?php echo __('Confirm', 'smallpay');?>" class="btn btn-primary center-block" style="display:block"/>
     73    <input id="smallpay-intallment-confirm" type="button" value="<?php echo __('Confirm', 'smallpay');?>" class="button btn btn-primary center-block" style="display:block; padding:10px"/>
    7374</div>
    7475
     
    8283                $( document ).ready(function() {
    8384                    installmentsCalc();
     85                    if((document.getElementById("smallpay_xpay_maxInstallments").value != 1)) {
     86                        if ($("input[name=payment_method]:checked").val() == 'smallpay' && document.getElementById("smallpay-intallment-confirm").style.display != "none") {
     87                            $("#place_order").prop("disabled", true);
     88                        } else {
     89                            $("#place_order").prop("disabled", false);
     90                        }
     91                    }
     92                    $("input[name=payment_method]").click(function() {
     93                        if((document.getElementById("smallpay_xpay_maxInstallments").value != 1)) {
     94                            if ($("input[name=payment_method]:checked").val() == 'smallpay' && document.getElementById("smallpay-intallment-confirm").style.display != "none") {
     95                                $("#place_order").prop("disabled", true);
     96                            } else {
     97                                $("#place_order").prop("disabled", false);
     98                            }
     99                        }
     100                    });
    84101        });
    85102        }( jQuery ) );
     
    138155?>
    139156</div>
     157</div>
Note: See TracChangeset for help on using the changeset viewer.