Plugin Directory

Changeset 2887504


Ignore:
Timestamp:
03/27/2023 10:58:17 AM (3 years ago)
Author:
abubacker
Message:

Added terms & condtion and surcharge remove taxable

Location:
valorpos
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • valorpos/tags/7.2.0/README.txt

    r2883367 r2887504  
    55Tested up to: 6.1.1
    66Requires PHP: 7.0
    7 Stable tag: 7.1.0
     7Stable tag: 7.2.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= 7.2.0 =
     44* Bug Fix remove subcharge fee taxable.
     45
    4246= 7.1.0 =
    4347* Added checkbox to acknowledgment terms.
     
    5963== Upgrade Notice ==
    6064
    61 = 7.1.0 =
     65= 7.0.1 =
    6266
    6367If you have old valorpos plugin installed remove it and install the new plugin.
  • valorpos/tags/7.2.0/includes/class-wc-valorpay-gateway.php

    r2883367 r2887504  
    309309     */
    310310    public function valorpay_avs_form() {
    311         echo "<fieldset>";
     311        echo '<fieldset>';
    312312        woocommerce_form_field(
    313313            'valorpay_avs_type',
     
    347347            );
    348348        }
    349         echo "</fieldset>";
     349        echo '</fieldset>';
    350350    }
    351351
  • valorpos/tags/7.2.0/languages/wc-valorpay.pot

    r2883367 r2887504  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Valor Pay 7.1.0\n"
     5"Project-Id-Version: Valor Pay 7.2.0\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-valorpay\n"
    67"Last-Translator: Valor Paytech LLC <sales@valorpaytech.com>\n"
    7 "Language-Team: LANGUAGE <LL@li.org>\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=UTF-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "POT-Creation-Date: 2023-03-14T18:06:27+05:30\n"
     11"POT-Creation-Date: 2023-03-27T15:16:11+05:30\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    13 "X-Generator: WP-CLI 2.6.0\n"
     13"X-Generator: WP-CLI 2.7.1\n"
    1414"X-Domain: wc-valorpay\n"
    1515
    1616#. Plugin Name of the plugin
    17 #: includes/class-wc-valorpay-gateway.php:370
     17#: includes/class-wc-valorpay-gateway.php:372
    1818msgid "Valor Pay"
    1919msgstr ""
     
    6969
    7070#: admin/partials/wc-valorpay-admin-failure-tracker.php:18
    71 #: includes/class-wc-valorpay-gateway.php:458
     71#: includes/class-wc-valorpay-gateway.php:460
    7272msgid "Payment Failed Tracker"
    7373msgstr ""
     
    174174msgstr ""
    175175
    176 #: includes/class-wc-valorpay-gateway.php:325
    177176#: includes/class-wc-valorpay-gateway.php:326
     177#: includes/class-wc-valorpay-gateway.php:327
    178178msgid "Zip Code"
    179179msgstr ""
    180180
    181 #: includes/class-wc-valorpay-gateway.php:339
    182181#: includes/class-wc-valorpay-gateway.php:340
     182#: includes/class-wc-valorpay-gateway.php:341
    183183msgid "Street No"
    184184msgstr ""
    185185
    186 #: includes/class-wc-valorpay-gateway.php:360
     186#: includes/class-wc-valorpay-gateway.php:362
    187187msgid "Enable/Disable"
    188188msgstr ""
    189189
    190 #: includes/class-wc-valorpay-gateway.php:361
     190#: includes/class-wc-valorpay-gateway.php:363
    191191msgid "Enable Valor Pay"
    192192msgstr ""
    193193
    194 #: includes/class-wc-valorpay-gateway.php:367
     194#: includes/class-wc-valorpay-gateway.php:369
    195195msgid "Title"
    196196msgstr ""
    197197
    198 #: includes/class-wc-valorpay-gateway.php:369
     198#: includes/class-wc-valorpay-gateway.php:371
    199199msgid "This controls the title which the user sees during checkout."
    200200msgstr ""
    201201
    202 #: includes/class-wc-valorpay-gateway.php:374
     202#: includes/class-wc-valorpay-gateway.php:376
    203203msgid "Use Sandbox"
    204204msgstr ""
    205205
    206 #: includes/class-wc-valorpay-gateway.php:375
     206#: includes/class-wc-valorpay-gateway.php:377
    207207msgid "Enable sandbox mode - live payments will not be taken if enabled."
    208208msgstr ""
    209209
    210 #: includes/class-wc-valorpay-gateway.php:381
     210#: includes/class-wc-valorpay-gateway.php:383
    211211msgid "APP ID"
    212212msgstr ""
    213213
    214 #: includes/class-wc-valorpay-gateway.php:383
     214#: includes/class-wc-valorpay-gateway.php:385
    215215msgid "Please email support@valorpaytech.com to get to know about your APP ID, ( In demo mode APP ID is not needed )"
    216216msgstr ""
    217217
    218 #: includes/class-wc-valorpay-gateway.php:387
     218#: includes/class-wc-valorpay-gateway.php:389
    219219msgid "APP KEY"
    220220msgstr ""
    221221
    222 #: includes/class-wc-valorpay-gateway.php:389
     222#: includes/class-wc-valorpay-gateway.php:391
    223223msgid "Please email support@valorpaytech.com to get to know about your APP KEY, ( In demo mode APP KEY is not needed )"
    224224msgstr ""
    225225
    226 #: includes/class-wc-valorpay-gateway.php:393
     226#: includes/class-wc-valorpay-gateway.php:395
    227227msgid "EPI"
    228228msgstr ""
    229229
    230 #: includes/class-wc-valorpay-gateway.php:395
     230#: includes/class-wc-valorpay-gateway.php:397
    231231msgid "Please email support@valorpaytech.com to get to know about your EPI ID, ( In demo mode EPI ID is not needed )"
    232232msgstr ""
    233233
    234 #: includes/class-wc-valorpay-gateway.php:399
     234#: includes/class-wc-valorpay-gateway.php:401
    235235msgid "Payment Method"
    236236msgstr ""
    237237
    238 #: includes/class-wc-valorpay-gateway.php:409
     238#: includes/class-wc-valorpay-gateway.php:411
    239239msgid "Surcharge Mode"
    240240msgstr ""
    241241
    242 #: includes/class-wc-valorpay-gateway.php:410
    243 #: includes/class-wc-valorpay-gateway.php:417
     242#: includes/class-wc-valorpay-gateway.php:412
     243#: includes/class-wc-valorpay-gateway.php:419
    244244msgid "Enable Surcharge Mode"
    245245msgstr ""
    246246
    247 #: includes/class-wc-valorpay-gateway.php:412
     247#: includes/class-wc-valorpay-gateway.php:414
    248248msgid "Enable only if you want all transactions to be fall on surcharge mode, Merchant must have got an Surcharge MID inorder to work"
    249249msgstr ""
    250250
    251 #: includes/class-wc-valorpay-gateway.php:416
     251#: includes/class-wc-valorpay-gateway.php:418
    252252msgid "Surcharge Type"
    253253msgstr ""
    254254
    255 #: includes/class-wc-valorpay-gateway.php:426
    256 #: includes/class-wc-valorpay-gateway.php:427
     255#: includes/class-wc-valorpay-gateway.php:428
     256#: includes/class-wc-valorpay-gateway.php:429
    257257msgid "Surcharge Label"
    258258msgstr ""
    259259
    260 #: includes/class-wc-valorpay-gateway.php:432
     260#: includes/class-wc-valorpay-gateway.php:434
    261261msgid "Surcharge %"
    262262msgstr ""
    263263
    264 #: includes/class-wc-valorpay-gateway.php:436
     264#: includes/class-wc-valorpay-gateway.php:438
    265265msgid "Percentage will apply only on enabling on surcharge Indicator to true and Surcharge type is set fo Surcharge %"
    266266msgstr ""
    267267
    268 #: includes/class-wc-valorpay-gateway.php:439
     268#: includes/class-wc-valorpay-gateway.php:441
    269269msgid "Flat Rate $"
    270270msgstr ""
    271271
    272 #: includes/class-wc-valorpay-gateway.php:442
     272#: includes/class-wc-valorpay-gateway.php:444
    273273msgid "Flat rate  will apply only on if Enable surcharge mode is true and Surcharge type is set to Flat Rate $"
    274274msgstr ""
    275275
    276 #: includes/class-wc-valorpay-gateway.php:445
     276#: includes/class-wc-valorpay-gateway.php:447
    277277msgid "AVS"
    278278msgstr ""
    279279
    280 #: includes/class-wc-valorpay-gateway.php:455
     280#: includes/class-wc-valorpay-gateway.php:457
    281281msgid "The address verification service will add a text field to the checkout page based on the above option."
    282282msgstr ""
    283283
    284 #: includes/class-wc-valorpay-gateway.php:459
     284#: includes/class-wc-valorpay-gateway.php:461
    285285msgid "Enable Protection"
    286286msgstr ""
    287287
    288288#. translators: 1: Tracker URL.
    289 #: includes/class-wc-valorpay-gateway.php:463
     289#: includes/class-wc-valorpay-gateway.php:465
    290290msgid "Disable the payment method in the checkout page for failed transactions. <a id=\"valorpay-goto-tracker\" href=\"%s\">Unblock IP</a>"
    291291msgstr ""
    292292
    293 #: includes/class-wc-valorpay-gateway.php:469
     293#: includes/class-wc-valorpay-gateway.php:471
    294294msgid "Declined Transaction Count"
    295295msgstr ""
    296296
    297 #: includes/class-wc-valorpay-gateway.php:470
     297#: includes/class-wc-valorpay-gateway.php:472
    298298msgid "Number of declined transaction count."
    299299msgstr ""
    300300
    301 #: includes/class-wc-valorpay-gateway.php:474
     301#: includes/class-wc-valorpay-gateway.php:476
    302302msgid "3"
    303303msgstr ""
    304304
    305 #: includes/class-wc-valorpay-gateway.php:475
     305#: includes/class-wc-valorpay-gateway.php:477
    306306msgid "5"
    307307msgstr ""
    308308
    309 #: includes/class-wc-valorpay-gateway.php:476
     309#: includes/class-wc-valorpay-gateway.php:478
    310310msgid "6"
    311311msgstr ""
    312312
    313 #: includes/class-wc-valorpay-gateway.php:480
     313#: includes/class-wc-valorpay-gateway.php:482
    314314msgid "Block Payment For"
    315315msgstr ""
    316316
    317 #: includes/class-wc-valorpay-gateway.php:481
     317#: includes/class-wc-valorpay-gateway.php:483
    318318msgid "Minutes to block payment gateway in checkout."
    319319msgstr ""
    320320
    321 #: includes/class-wc-valorpay-gateway.php:485
     321#: includes/class-wc-valorpay-gateway.php:487
    322322msgid "1 min"
    323323msgstr ""
    324324
    325 #: includes/class-wc-valorpay-gateway.php:486
     325#: includes/class-wc-valorpay-gateway.php:488
    326326msgid "5 min"
    327327msgstr ""
    328328
    329 #: includes/class-wc-valorpay-gateway.php:487
     329#: includes/class-wc-valorpay-gateway.php:489
    330330msgid "10 min"
    331331msgstr ""
    332332
    333 #: includes/class-wc-valorpay-gateway.php:488
     333#: includes/class-wc-valorpay-gateway.php:490
    334334msgid "1 hour"
    335335msgstr ""
    336336
    337 #: includes/class-wc-valorpay-gateway.php:489
     337#: includes/class-wc-valorpay-gateway.php:491
    338338msgid "3 hour"
    339339msgstr ""
    340340
    341 #: includes/class-wc-valorpay-gateway.php:490
     341#: includes/class-wc-valorpay-gateway.php:492
    342342msgid "5 hour"
    343343msgstr ""
    344344
    345 #: includes/class-wc-valorpay-gateway.php:491
     345#: includes/class-wc-valorpay-gateway.php:493
    346346msgid "10 hour"
    347347msgstr ""
    348348
    349 #: includes/class-wc-valorpay-gateway.php:492
     349#: includes/class-wc-valorpay-gateway.php:494
    350350msgid "1 day"
    351351msgstr ""
    352352
    353 #: includes/class-wc-valorpay-gateway.php:496
     353#: includes/class-wc-valorpay-gateway.php:498
    354354msgid "Accepted Cards"
    355355msgstr ""
    356356
    357 #: includes/class-wc-valorpay-gateway.php:500
     357#: includes/class-wc-valorpay-gateway.php:502
    358358msgid "Select the card types to accept."
    359359msgstr ""
    360360
    361361#. translators: 1: Maximum percentage.
    362 #: includes/class-wc-valorpay-gateway.php:526
     362#: includes/class-wc-valorpay-gateway.php:528
    363363msgid "Surcharge percentage cannot be more than %s"
    364364msgstr ""
    365365
    366366#. translators: 1: Maximum flat rate.
    367 #: includes/class-wc-valorpay-gateway.php:531
     367#: includes/class-wc-valorpay-gateway.php:533
    368368msgid "Surcharge flat rate cannot be more than %s"
    369369msgstr ""
    370370
    371 #: includes/class-wc-valorpay-gateway.php:576
     371#: includes/class-wc-valorpay-gateway.php:578
    372372msgid "Invalid card information."
    373373msgstr ""
    374374
    375375#. translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number.
    376 #: includes/class-wc-valorpay-gateway.php:592
     376#: includes/class-wc-valorpay-gateway.php:594
    377377msgid "Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s"
    378378msgstr ""
    379379
    380380#. translators: %s: API Error Message.
    381 #: includes/class-wc-valorpay-gateway.php:628
    382 #: includes/class-wc-valorpay-gateway.php:631
     381#: includes/class-wc-valorpay-gateway.php:630
     382#: includes/class-wc-valorpay-gateway.php:633
    383383msgid "Payment error: %s"
    384384msgstr ""
    385385
    386 #: includes/class-wc-valorpay-gateway.php:633
     386#: includes/class-wc-valorpay-gateway.php:635
    387387msgid "Unable to process the transaction using Valor Pay, please try again."
    388388msgstr ""
    389389
    390390#. translators: 1: Disable Time, 2: Unblock IP URL, 3: Customer IP.
    391 #: includes/class-wc-valorpay-gateway.php:692
     391#: includes/class-wc-valorpay-gateway.php:694
    392392msgid "Valor Pay method is disabled for %1$s. <a target=\"_blank\" href=\"%2$s\">To Unblock IP</a> %3$s"
    393393msgstr ""
    394394
    395 #: includes/class-wc-valorpay-gateway.php:755
     395#: includes/class-wc-valorpay-gateway.php:757
    396396msgid "Refund failed."
    397397msgstr ""
    398398
    399399#. translators: 1: Amount, 2: Line Break, 3: Approval code, 4: Line Break, 5: RRN Code
    400 #: includes/class-wc-valorpay-gateway.php:767
     400#: includes/class-wc-valorpay-gateway.php:769
    401401msgid "Valor Pay Refund for %1$s.%2$s <strong>Approval Code:</strong> %3$s.%4$s <strong>RRN:</strong> %5$s"
    402402msgstr ""
  • valorpos/tags/7.2.0/public/class-wc-valorpay-public.php

    r2883367 r2887504  
    132132            }
    133133            if ( $surcharge ) {
    134                 $woocommerce->cart->add_fee( "{$valorpay->surcharge_label}", $surcharge, true, '' );
     134                $woocommerce->cart->add_fee( "{$valorpay->surcharge_label}", $surcharge );
    135135            }
    136136        }
  • valorpos/tags/7.2.0/public/css/wc-valorpay-checkout.css

    r2883367 r2887504  
    44}
    55p#valorpay_terms_field .optional {
    6     display: none;
     6    display: none;
    77}
  • valorpos/tags/7.2.0/wc-valorpay.php

    r2883367 r2887504  
    1616 * Plugin URI:        https://valorpaytech.com
    1717 * Description:       Adds the Valor Payment Gateway to WooCommerce.
    18  * Version:           7.1.0
     18 * Version:           7.2.0
    1919 * Author:            Valor Paytech LLC
    2020 * Author URI:        https://valorpaytech.com
     
    3737 * Rename this for your plugin and update it as you release new versions.
    3838 */
    39 define( 'WC_VALORPAY_VERSION', '7.1.0' );
     39define( 'WC_VALORPAY_VERSION', '7.2.0' );
    4040// Directory i.e. /home/user/public_html...
    4141define( 'WC_VALORPAY_DIR', plugin_dir_path( __FILE__ ) );
  • valorpos/trunk/README.txt

    r2883367 r2887504  
    55Tested up to: 6.1.1
    66Requires PHP: 7.0
    7 Stable tag: 7.1.0
     7Stable tag: 7.2.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= 7.2.0 =
     44* Bug Fix remove subcharge fee taxable.
     45
    4246= 7.1.0 =
    4347* Added checkbox to acknowledgment terms.
     
    5963== Upgrade Notice ==
    6064
    61 = 7.1.0 =
     65= 7.0.1 =
    6266
    6367If you have old valorpos plugin installed remove it and install the new plugin.
  • valorpos/trunk/includes/class-wc-valorpay-gateway.php

    r2883367 r2887504  
    309309     */
    310310    public function valorpay_avs_form() {
    311         echo "<fieldset>";
     311        echo '<fieldset>';
    312312        woocommerce_form_field(
    313313            'valorpay_avs_type',
     
    347347            );
    348348        }
    349         echo "</fieldset>";
     349        echo '</fieldset>';
    350350    }
    351351
  • valorpos/trunk/languages/wc-valorpay.pot

    r2883367 r2887504  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Valor Pay 7.1.0\n"
     5"Project-Id-Version: Valor Pay 7.2.0\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-valorpay\n"
    67"Last-Translator: Valor Paytech LLC <sales@valorpaytech.com>\n"
    7 "Language-Team: LANGUAGE <LL@li.org>\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=UTF-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "POT-Creation-Date: 2023-03-14T18:06:27+05:30\n"
     11"POT-Creation-Date: 2023-03-27T15:16:11+05:30\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    13 "X-Generator: WP-CLI 2.6.0\n"
     13"X-Generator: WP-CLI 2.7.1\n"
    1414"X-Domain: wc-valorpay\n"
    1515
    1616#. Plugin Name of the plugin
    17 #: includes/class-wc-valorpay-gateway.php:370
     17#: includes/class-wc-valorpay-gateway.php:372
    1818msgid "Valor Pay"
    1919msgstr ""
     
    6969
    7070#: admin/partials/wc-valorpay-admin-failure-tracker.php:18
    71 #: includes/class-wc-valorpay-gateway.php:458
     71#: includes/class-wc-valorpay-gateway.php:460
    7272msgid "Payment Failed Tracker"
    7373msgstr ""
     
    174174msgstr ""
    175175
    176 #: includes/class-wc-valorpay-gateway.php:325
    177176#: includes/class-wc-valorpay-gateway.php:326
     177#: includes/class-wc-valorpay-gateway.php:327
    178178msgid "Zip Code"
    179179msgstr ""
    180180
    181 #: includes/class-wc-valorpay-gateway.php:339
    182181#: includes/class-wc-valorpay-gateway.php:340
     182#: includes/class-wc-valorpay-gateway.php:341
    183183msgid "Street No"
    184184msgstr ""
    185185
    186 #: includes/class-wc-valorpay-gateway.php:360
     186#: includes/class-wc-valorpay-gateway.php:362
    187187msgid "Enable/Disable"
    188188msgstr ""
    189189
    190 #: includes/class-wc-valorpay-gateway.php:361
     190#: includes/class-wc-valorpay-gateway.php:363
    191191msgid "Enable Valor Pay"
    192192msgstr ""
    193193
    194 #: includes/class-wc-valorpay-gateway.php:367
     194#: includes/class-wc-valorpay-gateway.php:369
    195195msgid "Title"
    196196msgstr ""
    197197
    198 #: includes/class-wc-valorpay-gateway.php:369
     198#: includes/class-wc-valorpay-gateway.php:371
    199199msgid "This controls the title which the user sees during checkout."
    200200msgstr ""
    201201
    202 #: includes/class-wc-valorpay-gateway.php:374
     202#: includes/class-wc-valorpay-gateway.php:376
    203203msgid "Use Sandbox"
    204204msgstr ""
    205205
    206 #: includes/class-wc-valorpay-gateway.php:375
     206#: includes/class-wc-valorpay-gateway.php:377
    207207msgid "Enable sandbox mode - live payments will not be taken if enabled."
    208208msgstr ""
    209209
    210 #: includes/class-wc-valorpay-gateway.php:381
     210#: includes/class-wc-valorpay-gateway.php:383
    211211msgid "APP ID"
    212212msgstr ""
    213213
    214 #: includes/class-wc-valorpay-gateway.php:383
     214#: includes/class-wc-valorpay-gateway.php:385
    215215msgid "Please email support@valorpaytech.com to get to know about your APP ID, ( In demo mode APP ID is not needed )"
    216216msgstr ""
    217217
    218 #: includes/class-wc-valorpay-gateway.php:387
     218#: includes/class-wc-valorpay-gateway.php:389
    219219msgid "APP KEY"
    220220msgstr ""
    221221
    222 #: includes/class-wc-valorpay-gateway.php:389
     222#: includes/class-wc-valorpay-gateway.php:391
    223223msgid "Please email support@valorpaytech.com to get to know about your APP KEY, ( In demo mode APP KEY is not needed )"
    224224msgstr ""
    225225
    226 #: includes/class-wc-valorpay-gateway.php:393
     226#: includes/class-wc-valorpay-gateway.php:395
    227227msgid "EPI"
    228228msgstr ""
    229229
    230 #: includes/class-wc-valorpay-gateway.php:395
     230#: includes/class-wc-valorpay-gateway.php:397
    231231msgid "Please email support@valorpaytech.com to get to know about your EPI ID, ( In demo mode EPI ID is not needed )"
    232232msgstr ""
    233233
    234 #: includes/class-wc-valorpay-gateway.php:399
     234#: includes/class-wc-valorpay-gateway.php:401
    235235msgid "Payment Method"
    236236msgstr ""
    237237
    238 #: includes/class-wc-valorpay-gateway.php:409
     238#: includes/class-wc-valorpay-gateway.php:411
    239239msgid "Surcharge Mode"
    240240msgstr ""
    241241
    242 #: includes/class-wc-valorpay-gateway.php:410
    243 #: includes/class-wc-valorpay-gateway.php:417
     242#: includes/class-wc-valorpay-gateway.php:412
     243#: includes/class-wc-valorpay-gateway.php:419
    244244msgid "Enable Surcharge Mode"
    245245msgstr ""
    246246
    247 #: includes/class-wc-valorpay-gateway.php:412
     247#: includes/class-wc-valorpay-gateway.php:414
    248248msgid "Enable only if you want all transactions to be fall on surcharge mode, Merchant must have got an Surcharge MID inorder to work"
    249249msgstr ""
    250250
    251 #: includes/class-wc-valorpay-gateway.php:416
     251#: includes/class-wc-valorpay-gateway.php:418
    252252msgid "Surcharge Type"
    253253msgstr ""
    254254
    255 #: includes/class-wc-valorpay-gateway.php:426
    256 #: includes/class-wc-valorpay-gateway.php:427
     255#: includes/class-wc-valorpay-gateway.php:428
     256#: includes/class-wc-valorpay-gateway.php:429
    257257msgid "Surcharge Label"
    258258msgstr ""
    259259
    260 #: includes/class-wc-valorpay-gateway.php:432
     260#: includes/class-wc-valorpay-gateway.php:434
    261261msgid "Surcharge %"
    262262msgstr ""
    263263
    264 #: includes/class-wc-valorpay-gateway.php:436
     264#: includes/class-wc-valorpay-gateway.php:438
    265265msgid "Percentage will apply only on enabling on surcharge Indicator to true and Surcharge type is set fo Surcharge %"
    266266msgstr ""
    267267
    268 #: includes/class-wc-valorpay-gateway.php:439
     268#: includes/class-wc-valorpay-gateway.php:441
    269269msgid "Flat Rate $"
    270270msgstr ""
    271271
    272 #: includes/class-wc-valorpay-gateway.php:442
     272#: includes/class-wc-valorpay-gateway.php:444
    273273msgid "Flat rate  will apply only on if Enable surcharge mode is true and Surcharge type is set to Flat Rate $"
    274274msgstr ""
    275275
    276 #: includes/class-wc-valorpay-gateway.php:445
     276#: includes/class-wc-valorpay-gateway.php:447
    277277msgid "AVS"
    278278msgstr ""
    279279
    280 #: includes/class-wc-valorpay-gateway.php:455
     280#: includes/class-wc-valorpay-gateway.php:457
    281281msgid "The address verification service will add a text field to the checkout page based on the above option."
    282282msgstr ""
    283283
    284 #: includes/class-wc-valorpay-gateway.php:459
     284#: includes/class-wc-valorpay-gateway.php:461
    285285msgid "Enable Protection"
    286286msgstr ""
    287287
    288288#. translators: 1: Tracker URL.
    289 #: includes/class-wc-valorpay-gateway.php:463
     289#: includes/class-wc-valorpay-gateway.php:465
    290290msgid "Disable the payment method in the checkout page for failed transactions. <a id=\"valorpay-goto-tracker\" href=\"%s\">Unblock IP</a>"
    291291msgstr ""
    292292
    293 #: includes/class-wc-valorpay-gateway.php:469
     293#: includes/class-wc-valorpay-gateway.php:471
    294294msgid "Declined Transaction Count"
    295295msgstr ""
    296296
    297 #: includes/class-wc-valorpay-gateway.php:470
     297#: includes/class-wc-valorpay-gateway.php:472
    298298msgid "Number of declined transaction count."
    299299msgstr ""
    300300
    301 #: includes/class-wc-valorpay-gateway.php:474
     301#: includes/class-wc-valorpay-gateway.php:476
    302302msgid "3"
    303303msgstr ""
    304304
    305 #: includes/class-wc-valorpay-gateway.php:475
     305#: includes/class-wc-valorpay-gateway.php:477
    306306msgid "5"
    307307msgstr ""
    308308
    309 #: includes/class-wc-valorpay-gateway.php:476
     309#: includes/class-wc-valorpay-gateway.php:478
    310310msgid "6"
    311311msgstr ""
    312312
    313 #: includes/class-wc-valorpay-gateway.php:480
     313#: includes/class-wc-valorpay-gateway.php:482
    314314msgid "Block Payment For"
    315315msgstr ""
    316316
    317 #: includes/class-wc-valorpay-gateway.php:481
     317#: includes/class-wc-valorpay-gateway.php:483
    318318msgid "Minutes to block payment gateway in checkout."
    319319msgstr ""
    320320
    321 #: includes/class-wc-valorpay-gateway.php:485
     321#: includes/class-wc-valorpay-gateway.php:487
    322322msgid "1 min"
    323323msgstr ""
    324324
    325 #: includes/class-wc-valorpay-gateway.php:486
     325#: includes/class-wc-valorpay-gateway.php:488
    326326msgid "5 min"
    327327msgstr ""
    328328
    329 #: includes/class-wc-valorpay-gateway.php:487
     329#: includes/class-wc-valorpay-gateway.php:489
    330330msgid "10 min"
    331331msgstr ""
    332332
    333 #: includes/class-wc-valorpay-gateway.php:488
     333#: includes/class-wc-valorpay-gateway.php:490
    334334msgid "1 hour"
    335335msgstr ""
    336336
    337 #: includes/class-wc-valorpay-gateway.php:489
     337#: includes/class-wc-valorpay-gateway.php:491
    338338msgid "3 hour"
    339339msgstr ""
    340340
    341 #: includes/class-wc-valorpay-gateway.php:490
     341#: includes/class-wc-valorpay-gateway.php:492
    342342msgid "5 hour"
    343343msgstr ""
    344344
    345 #: includes/class-wc-valorpay-gateway.php:491
     345#: includes/class-wc-valorpay-gateway.php:493
    346346msgid "10 hour"
    347347msgstr ""
    348348
    349 #: includes/class-wc-valorpay-gateway.php:492
     349#: includes/class-wc-valorpay-gateway.php:494
    350350msgid "1 day"
    351351msgstr ""
    352352
    353 #: includes/class-wc-valorpay-gateway.php:496
     353#: includes/class-wc-valorpay-gateway.php:498
    354354msgid "Accepted Cards"
    355355msgstr ""
    356356
    357 #: includes/class-wc-valorpay-gateway.php:500
     357#: includes/class-wc-valorpay-gateway.php:502
    358358msgid "Select the card types to accept."
    359359msgstr ""
    360360
    361361#. translators: 1: Maximum percentage.
    362 #: includes/class-wc-valorpay-gateway.php:526
     362#: includes/class-wc-valorpay-gateway.php:528
    363363msgid "Surcharge percentage cannot be more than %s"
    364364msgstr ""
    365365
    366366#. translators: 1: Maximum flat rate.
    367 #: includes/class-wc-valorpay-gateway.php:531
     367#: includes/class-wc-valorpay-gateway.php:533
    368368msgid "Surcharge flat rate cannot be more than %s"
    369369msgstr ""
    370370
    371 #: includes/class-wc-valorpay-gateway.php:576
     371#: includes/class-wc-valorpay-gateway.php:578
    372372msgid "Invalid card information."
    373373msgstr ""
    374374
    375375#. translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number.
    376 #: includes/class-wc-valorpay-gateway.php:592
     376#: includes/class-wc-valorpay-gateway.php:594
    377377msgid "Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s"
    378378msgstr ""
    379379
    380380#. translators: %s: API Error Message.
    381 #: includes/class-wc-valorpay-gateway.php:628
    382 #: includes/class-wc-valorpay-gateway.php:631
     381#: includes/class-wc-valorpay-gateway.php:630
     382#: includes/class-wc-valorpay-gateway.php:633
    383383msgid "Payment error: %s"
    384384msgstr ""
    385385
    386 #: includes/class-wc-valorpay-gateway.php:633
     386#: includes/class-wc-valorpay-gateway.php:635
    387387msgid "Unable to process the transaction using Valor Pay, please try again."
    388388msgstr ""
    389389
    390390#. translators: 1: Disable Time, 2: Unblock IP URL, 3: Customer IP.
    391 #: includes/class-wc-valorpay-gateway.php:692
     391#: includes/class-wc-valorpay-gateway.php:694
    392392msgid "Valor Pay method is disabled for %1$s. <a target=\"_blank\" href=\"%2$s\">To Unblock IP</a> %3$s"
    393393msgstr ""
    394394
    395 #: includes/class-wc-valorpay-gateway.php:755
     395#: includes/class-wc-valorpay-gateway.php:757
    396396msgid "Refund failed."
    397397msgstr ""
    398398
    399399#. translators: 1: Amount, 2: Line Break, 3: Approval code, 4: Line Break, 5: RRN Code
    400 #: includes/class-wc-valorpay-gateway.php:767
     400#: includes/class-wc-valorpay-gateway.php:769
    401401msgid "Valor Pay Refund for %1$s.%2$s <strong>Approval Code:</strong> %3$s.%4$s <strong>RRN:</strong> %5$s"
    402402msgstr ""
  • valorpos/trunk/public/class-wc-valorpay-public.php

    r2883367 r2887504  
    132132            }
    133133            if ( $surcharge ) {
    134                 $woocommerce->cart->add_fee( "{$valorpay->surcharge_label}", $surcharge, true, '' );
     134                $woocommerce->cart->add_fee( "{$valorpay->surcharge_label}", $surcharge );
    135135            }
    136136        }
  • valorpos/trunk/public/css/wc-valorpay-checkout.css

    r2883367 r2887504  
    44}
    55p#valorpay_terms_field .optional {
    6     display: none;
     6    display: none;
    77}
  • valorpos/trunk/wc-valorpay.php

    r2883367 r2887504  
    1616 * Plugin URI:        https://valorpaytech.com
    1717 * Description:       Adds the Valor Payment Gateway to WooCommerce.
    18  * Version:           7.1.0
     18 * Version:           7.2.0
    1919 * Author:            Valor Paytech LLC
    2020 * Author URI:        https://valorpaytech.com
     
    3737 * Rename this for your plugin and update it as you release new versions.
    3838 */
    39 define( 'WC_VALORPAY_VERSION', '7.1.0' );
     39define( 'WC_VALORPAY_VERSION', '7.2.0' );
    4040// Directory i.e. /home/user/public_html...
    4141define( 'WC_VALORPAY_DIR', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.