Changeset 3424882
- Timestamp:
- 12/21/2025 06:45:56 PM (6 weeks ago)
- Location:
- payment-gateway-wc-victoriabank-mia
- Files:
-
- 2 deleted
- 18 edited
- 1 copied
-
tags/1.0.2 (copied) (copied from payment-gateway-wc-victoriabank-mia/trunk)
-
tags/1.0.2/composer.lock (modified) (3 diffs)
-
tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia-ro_RO.mo (modified) (previous)
-
tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia-ro_RO.po (modified) (19 diffs)
-
tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia-ru_RU.mo (modified) (previous)
-
tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia-ru_RU.po (modified) (19 diffs)
-
tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia.pot (modified) (14 diffs)
-
tags/1.0.2/payment-gateway-wc-victoriabank-mia.php (modified) (22 diffs)
-
tags/1.0.2/phpcs.xml (modified) (1 diff)
-
tags/1.0.2/readme.txt (modified) (3 diffs)
-
tags/1.0.2/vendor (deleted)
-
trunk/composer.lock (modified) (3 diffs)
-
trunk/languages/payment-gateway-wc-victoriabank-mia-ro_RO.mo (modified) (previous)
-
trunk/languages/payment-gateway-wc-victoriabank-mia-ro_RO.po (modified) (19 diffs)
-
trunk/languages/payment-gateway-wc-victoriabank-mia-ru_RU.mo (modified) (previous)
-
trunk/languages/payment-gateway-wc-victoriabank-mia-ru_RU.po (modified) (19 diffs)
-
trunk/languages/payment-gateway-wc-victoriabank-mia.pot (modified) (14 diffs)
-
trunk/payment-gateway-wc-victoriabank-mia.php (modified) (22 diffs)
-
trunk/phpcs.xml (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/vendor (deleted)
Legend:
- Unmodified
- Added
- Removed
-
payment-gateway-wc-victoriabank-mia/tags/1.0.2/composer.lock
r3414332 r3424882 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " a16b98d5f3d4b55c7b5c4c50db3ae74f",7 "content-hash": "85827b97f74097c42feaf9587a602b67", 8 8 "packages": [ 9 9 { 10 10 "name": "alexminza/victoriabank-mia-sdk", 11 "version": "v1.0. 1",11 "version": "v1.0.2", 12 12 "source": { 13 13 "type": "git", 14 14 "url": "https://github.com/alexminza/victoriabank-mia-sdk-php.git", 15 "reference": " 3001ee84844b81ad26aa23889a7741f32e19c32e"16 }, 17 "dist": { 18 "type": "zip", 19 "url": "https://api.github.com/repos/alexminza/victoriabank-mia-sdk-php/zipball/ 3001ee84844b81ad26aa23889a7741f32e19c32e",20 "reference": " 3001ee84844b81ad26aa23889a7741f32e19c32e",15 "reference": "bbbddc64995d89d71ebf3549ef7d5b7c933adb17" 16 }, 17 "dist": { 18 "type": "zip", 19 "url": "https://api.github.com/repos/alexminza/victoriabank-mia-sdk-php/zipball/bbbddc64995d89d71ebf3549ef7d5b7c933adb17", 20 "reference": "bbbddc64995d89d71ebf3549ef7d5b7c933adb17", 21 21 "shasum": "" 22 22 }, … … 61 61 "source": "https://github.com/alexminza/victoriabank-mia-sdk-php" 62 62 }, 63 "time": "2025-1 1-07T12:23:17+00:00"63 "time": "2025-12-21T11:31:16+00:00" 64 64 }, 65 65 { … … 1215 1215 } 1216 1216 ], 1217 "packages-dev": [], 1217 "packages-dev": [ 1218 { 1219 "name": "dealerdirect/phpcodesniffer-composer-installer", 1220 "version": "v1.2.0", 1221 "source": { 1222 "type": "git", 1223 "url": "https://github.com/PHPCSStandards/composer-installer.git", 1224 "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1" 1225 }, 1226 "dist": { 1227 "type": "zip", 1228 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/845eb62303d2ca9b289ef216356568ccc075ffd1", 1229 "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1", 1230 "shasum": "" 1231 }, 1232 "require": { 1233 "composer-plugin-api": "^2.2", 1234 "php": ">=5.4", 1235 "squizlabs/php_codesniffer": "^3.1.0 || ^4.0" 1236 }, 1237 "require-dev": { 1238 "composer/composer": "^2.2", 1239 "ext-json": "*", 1240 "ext-zip": "*", 1241 "php-parallel-lint/php-parallel-lint": "^1.4.0", 1242 "phpcompatibility/php-compatibility": "^9.0 || ^10.0.0@dev", 1243 "yoast/phpunit-polyfills": "^1.0" 1244 }, 1245 "type": "composer-plugin", 1246 "extra": { 1247 "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" 1248 }, 1249 "autoload": { 1250 "psr-4": { 1251 "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" 1252 } 1253 }, 1254 "notification-url": "https://packagist.org/downloads/", 1255 "license": [ 1256 "MIT" 1257 ], 1258 "authors": [ 1259 { 1260 "name": "Franck Nijhof", 1261 "email": "[email protected]", 1262 "homepage": "https://frenck.dev", 1263 "role": "Open source developer" 1264 }, 1265 { 1266 "name": "Contributors", 1267 "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" 1268 } 1269 ], 1270 "description": "PHP_CodeSniffer Standards Composer Installer Plugin", 1271 "keywords": [ 1272 "PHPCodeSniffer", 1273 "PHP_CodeSniffer", 1274 "code quality", 1275 "codesniffer", 1276 "composer", 1277 "installer", 1278 "phpcbf", 1279 "phpcs", 1280 "plugin", 1281 "qa", 1282 "quality", 1283 "standard", 1284 "standards", 1285 "style guide", 1286 "stylecheck", 1287 "tests" 1288 ], 1289 "support": { 1290 "issues": "https://github.com/PHPCSStandards/composer-installer/issues", 1291 "security": "https://github.com/PHPCSStandards/composer-installer/security/policy", 1292 "source": "https://github.com/PHPCSStandards/composer-installer" 1293 }, 1294 "funding": [ 1295 { 1296 "url": "https://github.com/PHPCSStandards", 1297 "type": "github" 1298 }, 1299 { 1300 "url": "https://github.com/jrfnl", 1301 "type": "github" 1302 }, 1303 { 1304 "url": "https://opencollective.com/php_codesniffer", 1305 "type": "open_collective" 1306 }, 1307 { 1308 "url": "https://thanks.dev/u/gh/phpcsstandards", 1309 "type": "thanks_dev" 1310 } 1311 ], 1312 "time": "2025-11-11T04:32:07+00:00" 1313 }, 1314 { 1315 "name": "phpcompatibility/php-compatibility", 1316 "version": "9.3.5", 1317 "source": { 1318 "type": "git", 1319 "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", 1320 "reference": "9fb324479acf6f39452e0655d2429cc0d3914243" 1321 }, 1322 "dist": { 1323 "type": "zip", 1324 "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243", 1325 "reference": "9fb324479acf6f39452e0655d2429cc0d3914243", 1326 "shasum": "" 1327 }, 1328 "require": { 1329 "php": ">=5.3", 1330 "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" 1331 }, 1332 "conflict": { 1333 "squizlabs/php_codesniffer": "2.6.2" 1334 }, 1335 "require-dev": { 1336 "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" 1337 }, 1338 "suggest": { 1339 "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.", 1340 "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." 1341 }, 1342 "type": "phpcodesniffer-standard", 1343 "notification-url": "https://packagist.org/downloads/", 1344 "license": [ 1345 "LGPL-3.0-or-later" 1346 ], 1347 "authors": [ 1348 { 1349 "name": "Wim Godden", 1350 "homepage": "https://github.com/wimg", 1351 "role": "lead" 1352 }, 1353 { 1354 "name": "Juliette Reinders Folmer", 1355 "homepage": "https://github.com/jrfnl", 1356 "role": "lead" 1357 }, 1358 { 1359 "name": "Contributors", 1360 "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors" 1361 } 1362 ], 1363 "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", 1364 "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", 1365 "keywords": [ 1366 "compatibility", 1367 "phpcs", 1368 "standards" 1369 ], 1370 "support": { 1371 "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", 1372 "source": "https://github.com/PHPCompatibility/PHPCompatibility" 1373 }, 1374 "time": "2019-12-27T09:44:58+00:00" 1375 }, 1376 { 1377 "name": "phpcompatibility/phpcompatibility-paragonie", 1378 "version": "1.3.4", 1379 "source": { 1380 "type": "git", 1381 "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", 1382 "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf" 1383 }, 1384 "dist": { 1385 "type": "zip", 1386 "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/244d7b04fc4bc2117c15f5abe23eb933b5f02bbf", 1387 "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf", 1388 "shasum": "" 1389 }, 1390 "require": { 1391 "phpcompatibility/php-compatibility": "^9.0" 1392 }, 1393 "require-dev": { 1394 "dealerdirect/phpcodesniffer-composer-installer": "^1.0", 1395 "paragonie/random_compat": "dev-master", 1396 "paragonie/sodium_compat": "dev-master" 1397 }, 1398 "suggest": { 1399 "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", 1400 "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." 1401 }, 1402 "type": "phpcodesniffer-standard", 1403 "notification-url": "https://packagist.org/downloads/", 1404 "license": [ 1405 "LGPL-3.0-or-later" 1406 ], 1407 "authors": [ 1408 { 1409 "name": "Wim Godden", 1410 "role": "lead" 1411 }, 1412 { 1413 "name": "Juliette Reinders Folmer", 1414 "role": "lead" 1415 } 1416 ], 1417 "description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.", 1418 "homepage": "http://phpcompatibility.com/", 1419 "keywords": [ 1420 "compatibility", 1421 "paragonie", 1422 "phpcs", 1423 "polyfill", 1424 "standards", 1425 "static analysis" 1426 ], 1427 "support": { 1428 "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues", 1429 "security": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/security/policy", 1430 "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie" 1431 }, 1432 "funding": [ 1433 { 1434 "url": "https://github.com/PHPCompatibility", 1435 "type": "github" 1436 }, 1437 { 1438 "url": "https://github.com/jrfnl", 1439 "type": "github" 1440 }, 1441 { 1442 "url": "https://opencollective.com/php_codesniffer", 1443 "type": "open_collective" 1444 }, 1445 { 1446 "url": "https://thanks.dev/u/gh/phpcompatibility", 1447 "type": "thanks_dev" 1448 } 1449 ], 1450 "time": "2025-09-19T17:43:28+00:00" 1451 }, 1452 { 1453 "name": "phpcompatibility/phpcompatibility-wp", 1454 "version": "2.1.8", 1455 "source": { 1456 "type": "git", 1457 "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git", 1458 "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa" 1459 }, 1460 "dist": { 1461 "type": "zip", 1462 "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/7c8d18b4d90dac9e86b0869a608fa09158e168fa", 1463 "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa", 1464 "shasum": "" 1465 }, 1466 "require": { 1467 "phpcompatibility/php-compatibility": "^9.0", 1468 "phpcompatibility/phpcompatibility-paragonie": "^1.0", 1469 "squizlabs/php_codesniffer": "^3.3" 1470 }, 1471 "require-dev": { 1472 "dealerdirect/phpcodesniffer-composer-installer": "^1.0" 1473 }, 1474 "suggest": { 1475 "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", 1476 "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." 1477 }, 1478 "type": "phpcodesniffer-standard", 1479 "notification-url": "https://packagist.org/downloads/", 1480 "license": [ 1481 "LGPL-3.0-or-later" 1482 ], 1483 "authors": [ 1484 { 1485 "name": "Wim Godden", 1486 "role": "lead" 1487 }, 1488 { 1489 "name": "Juliette Reinders Folmer", 1490 "role": "lead" 1491 } 1492 ], 1493 "description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.", 1494 "homepage": "http://phpcompatibility.com/", 1495 "keywords": [ 1496 "compatibility", 1497 "phpcs", 1498 "standards", 1499 "static analysis", 1500 "wordpress" 1501 ], 1502 "support": { 1503 "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues", 1504 "security": "https://github.com/PHPCompatibility/PHPCompatibilityWP/security/policy", 1505 "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP" 1506 }, 1507 "funding": [ 1508 { 1509 "url": "https://github.com/PHPCompatibility", 1510 "type": "github" 1511 }, 1512 { 1513 "url": "https://github.com/jrfnl", 1514 "type": "github" 1515 }, 1516 { 1517 "url": "https://opencollective.com/php_codesniffer", 1518 "type": "open_collective" 1519 }, 1520 { 1521 "url": "https://thanks.dev/u/gh/phpcompatibility", 1522 "type": "thanks_dev" 1523 } 1524 ], 1525 "time": "2025-10-18T00:05:59+00:00" 1526 }, 1527 { 1528 "name": "phpcsstandards/phpcsextra", 1529 "version": "1.5.0", 1530 "source": { 1531 "type": "git", 1532 "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", 1533 "reference": "b598aa890815b8df16363271b659d73280129101" 1534 }, 1535 "dist": { 1536 "type": "zip", 1537 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/b598aa890815b8df16363271b659d73280129101", 1538 "reference": "b598aa890815b8df16363271b659d73280129101", 1539 "shasum": "" 1540 }, 1541 "require": { 1542 "php": ">=5.4", 1543 "phpcsstandards/phpcsutils": "^1.2.0", 1544 "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1" 1545 }, 1546 "require-dev": { 1547 "php-parallel-lint/php-console-highlighter": "^1.0", 1548 "php-parallel-lint/php-parallel-lint": "^1.4.0", 1549 "phpcsstandards/phpcsdevcs": "^1.2.0", 1550 "phpcsstandards/phpcsdevtools": "^1.2.1", 1551 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 1552 }, 1553 "type": "phpcodesniffer-standard", 1554 "extra": { 1555 "branch-alias": { 1556 "dev-stable": "1.x-dev", 1557 "dev-develop": "1.x-dev" 1558 } 1559 }, 1560 "notification-url": "https://packagist.org/downloads/", 1561 "license": [ 1562 "LGPL-3.0-or-later" 1563 ], 1564 "authors": [ 1565 { 1566 "name": "Juliette Reinders Folmer", 1567 "homepage": "https://github.com/jrfnl", 1568 "role": "lead" 1569 }, 1570 { 1571 "name": "Contributors", 1572 "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors" 1573 } 1574 ], 1575 "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.", 1576 "keywords": [ 1577 "PHP_CodeSniffer", 1578 "phpcbf", 1579 "phpcodesniffer-standard", 1580 "phpcs", 1581 "standards", 1582 "static analysis" 1583 ], 1584 "support": { 1585 "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues", 1586 "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy", 1587 "source": "https://github.com/PHPCSStandards/PHPCSExtra" 1588 }, 1589 "funding": [ 1590 { 1591 "url": "https://github.com/PHPCSStandards", 1592 "type": "github" 1593 }, 1594 { 1595 "url": "https://github.com/jrfnl", 1596 "type": "github" 1597 }, 1598 { 1599 "url": "https://opencollective.com/php_codesniffer", 1600 "type": "open_collective" 1601 }, 1602 { 1603 "url": "https://thanks.dev/u/gh/phpcsstandards", 1604 "type": "thanks_dev" 1605 } 1606 ], 1607 "time": "2025-11-12T23:06:57+00:00" 1608 }, 1609 { 1610 "name": "phpcsstandards/phpcsutils", 1611 "version": "1.2.2", 1612 "source": { 1613 "type": "git", 1614 "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", 1615 "reference": "c216317e96c8b3f5932808f9b0f1f7a14e3bbf55" 1616 }, 1617 "dist": { 1618 "type": "zip", 1619 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/c216317e96c8b3f5932808f9b0f1f7a14e3bbf55", 1620 "reference": "c216317e96c8b3f5932808f9b0f1f7a14e3bbf55", 1621 "shasum": "" 1622 }, 1623 "require": { 1624 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", 1625 "php": ">=5.4", 1626 "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1" 1627 }, 1628 "require-dev": { 1629 "ext-filter": "*", 1630 "php-parallel-lint/php-console-highlighter": "^1.0", 1631 "php-parallel-lint/php-parallel-lint": "^1.4.0", 1632 "phpcsstandards/phpcsdevcs": "^1.2.0", 1633 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0" 1634 }, 1635 "type": "phpcodesniffer-standard", 1636 "extra": { 1637 "branch-alias": { 1638 "dev-stable": "1.x-dev", 1639 "dev-develop": "1.x-dev" 1640 } 1641 }, 1642 "autoload": { 1643 "classmap": [ 1644 "PHPCSUtils/" 1645 ] 1646 }, 1647 "notification-url": "https://packagist.org/downloads/", 1648 "license": [ 1649 "LGPL-3.0-or-later" 1650 ], 1651 "authors": [ 1652 { 1653 "name": "Juliette Reinders Folmer", 1654 "homepage": "https://github.com/jrfnl", 1655 "role": "lead" 1656 }, 1657 { 1658 "name": "Contributors", 1659 "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors" 1660 } 1661 ], 1662 "description": "A suite of utility functions for use with PHP_CodeSniffer", 1663 "homepage": "https://phpcsutils.com/", 1664 "keywords": [ 1665 "PHP_CodeSniffer", 1666 "phpcbf", 1667 "phpcodesniffer-standard", 1668 "phpcs", 1669 "phpcs3", 1670 "phpcs4", 1671 "standards", 1672 "static analysis", 1673 "tokens", 1674 "utility" 1675 ], 1676 "support": { 1677 "docs": "https://phpcsutils.com/", 1678 "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues", 1679 "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy", 1680 "source": "https://github.com/PHPCSStandards/PHPCSUtils" 1681 }, 1682 "funding": [ 1683 { 1684 "url": "https://github.com/PHPCSStandards", 1685 "type": "github" 1686 }, 1687 { 1688 "url": "https://github.com/jrfnl", 1689 "type": "github" 1690 }, 1691 { 1692 "url": "https://opencollective.com/php_codesniffer", 1693 "type": "open_collective" 1694 }, 1695 { 1696 "url": "https://thanks.dev/u/gh/phpcsstandards", 1697 "type": "thanks_dev" 1698 } 1699 ], 1700 "time": "2025-12-08T14:27:58+00:00" 1701 }, 1702 { 1703 "name": "squizlabs/php_codesniffer", 1704 "version": "3.13.5", 1705 "source": { 1706 "type": "git", 1707 "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", 1708 "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4" 1709 }, 1710 "dist": { 1711 "type": "zip", 1712 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4", 1713 "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4", 1714 "shasum": "" 1715 }, 1716 "require": { 1717 "ext-simplexml": "*", 1718 "ext-tokenizer": "*", 1719 "ext-xmlwriter": "*", 1720 "php": ">=5.4.0" 1721 }, 1722 "require-dev": { 1723 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 1724 }, 1725 "bin": [ 1726 "bin/phpcbf", 1727 "bin/phpcs" 1728 ], 1729 "type": "library", 1730 "notification-url": "https://packagist.org/downloads/", 1731 "license": [ 1732 "BSD-3-Clause" 1733 ], 1734 "authors": [ 1735 { 1736 "name": "Greg Sherwood", 1737 "role": "Former lead" 1738 }, 1739 { 1740 "name": "Juliette Reinders Folmer", 1741 "role": "Current lead" 1742 }, 1743 { 1744 "name": "Contributors", 1745 "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" 1746 } 1747 ], 1748 "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", 1749 "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", 1750 "keywords": [ 1751 "phpcs", 1752 "standards", 1753 "static analysis" 1754 ], 1755 "support": { 1756 "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", 1757 "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", 1758 "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", 1759 "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" 1760 }, 1761 "funding": [ 1762 { 1763 "url": "https://github.com/PHPCSStandards", 1764 "type": "github" 1765 }, 1766 { 1767 "url": "https://github.com/jrfnl", 1768 "type": "github" 1769 }, 1770 { 1771 "url": "https://opencollective.com/php_codesniffer", 1772 "type": "open_collective" 1773 }, 1774 { 1775 "url": "https://thanks.dev/u/gh/phpcsstandards", 1776 "type": "thanks_dev" 1777 } 1778 ], 1779 "time": "2025-11-04T16:30:35+00:00" 1780 }, 1781 { 1782 "name": "woocommerce/woocommerce-sniffs", 1783 "version": "1.0.1", 1784 "source": { 1785 "type": "git", 1786 "url": "https://github.com/woocommerce/woocommerce-sniffs.git", 1787 "reference": "e6da0c372573724806b270ec1d5d94988b8aec52" 1788 }, 1789 "dist": { 1790 "type": "zip", 1791 "url": "https://api.github.com/repos/woocommerce/woocommerce-sniffs/zipball/e6da0c372573724806b270ec1d5d94988b8aec52", 1792 "reference": "e6da0c372573724806b270ec1d5d94988b8aec52", 1793 "shasum": "" 1794 }, 1795 "require": { 1796 "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", 1797 "php": ">=7.0", 1798 "phpcompatibility/phpcompatibility-wp": "^2.1.0", 1799 "wp-coding-standards/wpcs": "^3.0.0" 1800 }, 1801 "type": "phpcodesniffer-standard", 1802 "notification-url": "https://packagist.org/downloads/", 1803 "license": [ 1804 "MIT" 1805 ], 1806 "description": "WooCommerce sniffs", 1807 "keywords": [ 1808 "phpcs", 1809 "standards", 1810 "static analysis", 1811 "woocommerce", 1812 "wordpress" 1813 ], 1814 "support": { 1815 "issues": "https://github.com/woocommerce/woocommerce-sniffs/issues", 1816 "source": "https://github.com/woocommerce/woocommerce-sniffs/tree/1.0.1" 1817 }, 1818 "time": "2025-09-03T13:34:27+00:00" 1819 }, 1820 { 1821 "name": "wp-coding-standards/wpcs", 1822 "version": "3.3.0", 1823 "source": { 1824 "type": "git", 1825 "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", 1826 "reference": "7795ec6fa05663d716a549d0b44e47ffc8b0d4a6" 1827 }, 1828 "dist": { 1829 "type": "zip", 1830 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7795ec6fa05663d716a549d0b44e47ffc8b0d4a6", 1831 "reference": "7795ec6fa05663d716a549d0b44e47ffc8b0d4a6", 1832 "shasum": "" 1833 }, 1834 "require": { 1835 "ext-filter": "*", 1836 "ext-libxml": "*", 1837 "ext-tokenizer": "*", 1838 "ext-xmlreader": "*", 1839 "php": ">=7.2", 1840 "phpcsstandards/phpcsextra": "^1.5.0", 1841 "phpcsstandards/phpcsutils": "^1.1.0", 1842 "squizlabs/php_codesniffer": "^3.13.4" 1843 }, 1844 "require-dev": { 1845 "php-parallel-lint/php-console-highlighter": "^1.0.0", 1846 "php-parallel-lint/php-parallel-lint": "^1.4.0", 1847 "phpcompatibility/php-compatibility": "^10.0.0@dev", 1848 "phpcsstandards/phpcsdevtools": "^1.2.0", 1849 "phpunit/phpunit": "^8.0 || ^9.0" 1850 }, 1851 "suggest": { 1852 "ext-iconv": "For improved results", 1853 "ext-mbstring": "For improved results" 1854 }, 1855 "type": "phpcodesniffer-standard", 1856 "notification-url": "https://packagist.org/downloads/", 1857 "license": [ 1858 "MIT" 1859 ], 1860 "authors": [ 1861 { 1862 "name": "Contributors", 1863 "homepage": "https://github.com/WordPress/WordPress-Coding-Standards/graphs/contributors" 1864 } 1865 ], 1866 "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions", 1867 "keywords": [ 1868 "phpcs", 1869 "standards", 1870 "static analysis", 1871 "wordpress" 1872 ], 1873 "support": { 1874 "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues", 1875 "source": "https://github.com/WordPress/WordPress-Coding-Standards", 1876 "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" 1877 }, 1878 "funding": [ 1879 { 1880 "url": "https://opencollective.com/php_codesniffer", 1881 "type": "custom" 1882 } 1883 ], 1884 "time": "2025-11-25T12:08:04+00:00" 1885 } 1886 ], 1218 1887 "aliases": [], 1219 1888 "minimum-stability": "stable", -
payment-gateway-wc-victoriabank-mia/tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia-ro_RO.po
r3423778 r3424882 4 4 msgstr "" 5 5 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce " 6 "1.0. 1\n"6 "1.0.2\n" 7 7 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-" 8 8 "wc-victoriabank-mia\n" 9 "POT-Creation-Date: 2025-12- 19 16:17+0200\n"10 "PO-Revision-Date: 2025-12- 19 16:17+0200\n"9 "POT-Creation-Date: 2025-12-21 19:55+0200\n" 10 "PO-Revision-Date: 2025-12-21 19:59+0200\n" 11 11 "Last-Translator: Alexander Minza <[email protected]>\n" 12 12 "Language-Team: \n" … … 17 17 "X-Generator: Poedit 3.8\n" 18 18 19 #. Plugin Name of the plugin 20 #: payment-gateway-wc-victoriabank-mia.php 21 msgid "Payment Gateway for Victoriabank MIA for WooCommerce" 22 msgstr "Gateway de plată pentru Victoriabank MIA pentru WooCommerce" 23 19 24 #. Description of the plugin 20 25 #: payment-gateway-wc-victoriabank-mia.php … … 23 28 "for Victoriabank MIA for WooCommerce." 24 29 msgstr "" 25 "Accept ăMIA plăți instant direct în magazin cu gateway-ul de plată "30 "Acceptați MIA plăți instant direct în magazin cu gateway-ul de plată " 26 31 "Victoriabank MIA pentru WooCommerce." 27 32 28 #: payment-gateway-wc-victoriabank-mia.php:118 33 #: payment-gateway-wc-victoriabank-mia.php:75 34 msgid "Accept MIA Instant Payments through Victoriabank." 35 msgstr "Acceptați MIA plăți instant prin Victoriabank." 36 37 #: payment-gateway-wc-victoriabank-mia.php:121 29 38 msgid "Enable/Disable" 30 39 msgstr "Activare/Dezactivare" 31 40 32 #: payment-gateway-wc-victoriabank-mia.php:12 041 #: payment-gateway-wc-victoriabank-mia.php:123 33 42 msgid "Enable this gateway" 34 43 msgstr "Activează acest gateway de plată" 35 44 36 #: payment-gateway-wc-victoriabank-mia.php:12 445 #: payment-gateway-wc-victoriabank-mia.php:127 37 46 msgid "Title" 38 47 msgstr "Titlu" 39 48 40 #: payment-gateway-wc-victoriabank-mia.php:12 649 #: payment-gateway-wc-victoriabank-mia.php:129 41 50 msgid "Payment method title that the customer will see during checkout." 42 51 msgstr "Titlul metodei de plată afișat clientului în timpul plății." 43 52 44 #: payment-gateway-wc-victoriabank-mia.php:13 153 #: payment-gateway-wc-victoriabank-mia.php:137 45 54 msgid "Description" 46 55 msgstr "Descriere" 47 56 48 #: payment-gateway-wc-victoriabank-mia.php:13 357 #: payment-gateway-wc-victoriabank-mia.php:139 49 58 msgid "Payment method description that the customer will see during checkout." 50 59 msgstr "Descrierea metodei de plată afișată clientului în timpul plății." 51 60 52 #: payment-gateway-wc-victoriabank-mia.php:139 61 #: payment-gateway-wc-victoriabank-mia.php:141 62 msgid "" 63 "Pay instantly by scanning the QR code using your bank's mobile application." 64 msgstr "" 65 "Plătește instant scanând codul QR folosind aplicația mobilă a băncii tale." 66 67 #: payment-gateway-wc-victoriabank-mia.php:145 53 68 msgid "Test mode" 54 69 msgstr "Mod testare" 55 70 56 #: payment-gateway-wc-victoriabank-mia.php:14 171 #: payment-gateway-wc-victoriabank-mia.php:147 57 72 msgid "Enabled" 58 73 msgstr "Activat" 59 74 60 #: payment-gateway-wc-victoriabank-mia.php:14 275 #: payment-gateway-wc-victoriabank-mia.php:148 61 76 msgid "" 62 77 "Use Test or Live bank gateway to process the payments. Disable when ready to " … … 66 81 "plăților. Dezactivați atunci când sunteți gata să acceptați plăți reale." 67 82 68 #: payment-gateway-wc-victoriabank-mia.php:1 4783 #: payment-gateway-wc-victoriabank-mia.php:153 69 84 msgid "Debug mode" 70 85 msgstr "Mod depanare" 71 86 72 #: payment-gateway-wc-victoriabank-mia.php:1 4987 #: payment-gateway-wc-victoriabank-mia.php:155 73 88 msgid "Enable logging" 74 89 msgstr "Activează jurnalizare" 75 90 76 #: payment-gateway-wc-victoriabank-mia.php:15 191 #: payment-gateway-wc-victoriabank-mia.php:157 77 92 msgid "View logs" 78 93 msgstr "Vizualizați jurnalele" 79 94 80 #: payment-gateway-wc-victoriabank-mia.php:15 295 #: payment-gateway-wc-victoriabank-mia.php:158 81 96 msgid "" 82 97 "Save debug messages to the WooCommerce System Status logs. Note: this may " … … 88 103 "opțiune numai pentru depanare și ștergeți jurnalele atunci când ați terminat." 89 104 90 #: payment-gateway-wc-victoriabank-mia.php:1 56105 #: payment-gateway-wc-victoriabank-mia.php:162 91 106 msgid "Order description" 92 107 msgstr "Descriere comandă" 93 108 94 109 #. translators: 1: Example placeholder shown to user, represents Order ID 95 #: payment-gateway-wc-victoriabank-mia.php:1 59110 #: payment-gateway-wc-victoriabank-mia.php:165 96 111 #, php-format 97 112 msgid "Format: <code>%1$s</code> - Order ID" 98 113 msgstr "Format: <code>%1$s</code> - ID Comandă" 99 114 100 #: payment-gateway-wc-victoriabank-mia.php:160 101 msgid "Order description that the customer will see on the bank payment page." 102 msgstr "" 103 "Descrierea comenzii afișată clientului pe pagina băncii în timpul plății." 104 105 #: payment-gateway-wc-victoriabank-mia.php:164 115 #: payment-gateway-wc-victoriabank-mia.php:166 116 msgid "Order description that the customer will see in the app during payment." 117 msgstr "" 118 "Descrierea comenzii pe care clientul o va vedea în aplicație în timpul " 119 "plății." 120 121 #: payment-gateway-wc-victoriabank-mia.php:175 106 122 msgid "Transaction validity" 107 123 msgstr "Valabilitatea tranzacției" 108 124 109 #: payment-gateway-wc-victoriabank-mia.php:166 110 msgid "minutes" 111 msgstr "minute" 112 113 #: payment-gateway-wc-victoriabank-mia.php:171 114 #: payment-gateway-wc-victoriabank-mia.php:275 125 #. translators: 1: Transaction validity in minutes 126 #: payment-gateway-wc-victoriabank-mia.php:178 127 #, php-format 128 msgid "Default: %1$s minutes" 129 msgstr "Implicit: %1$s minute" 130 131 #: payment-gateway-wc-victoriabank-mia.php:179 132 msgid "QR code validity time in minutes." 133 msgstr "Timpul de valabilitate al codului QR în minute." 134 135 #: payment-gateway-wc-victoriabank-mia.php:190 136 #: payment-gateway-wc-victoriabank-mia.php:324 115 137 msgid "Connection Settings" 116 138 msgstr "Setări conexiune" 117 139 118 #: payment-gateway-wc-victoriabank-mia.php:1 72140 #: payment-gateway-wc-victoriabank-mia.php:191 119 141 msgid "Payment gateway connection credentials are provided by the bank." 120 142 msgstr "Datele de conectare la gateway-ul de plată sunt furnizate de bancă." 121 143 122 #: payment-gateway-wc-victoriabank-mia.php:1 76144 #: payment-gateway-wc-victoriabank-mia.php:195 123 145 msgid "Username" 124 146 msgstr "Nume utilizator" 125 147 126 #: payment-gateway-wc-victoriabank-mia.php: 180148 #: payment-gateway-wc-victoriabank-mia.php:202 127 149 msgid "Password" 128 150 msgstr "Parolă" 129 151 130 #: payment-gateway-wc-victoriabank-mia.php: 184152 #: payment-gateway-wc-victoriabank-mia.php:209 131 153 msgid "Certificate" 132 154 msgstr "Certificat" 133 155 134 #: payment-gateway-wc-victoriabank-mia.php: 186156 #: payment-gateway-wc-victoriabank-mia.php:212 135 157 msgid "" 136 158 "Victoriabank Public Key Certificate to validate the authenticity of the " … … 140 162 "autenticității notificărilor de plată." 141 163 142 #: payment-gateway-wc-victoriabank-mia.php: 190164 #: payment-gateway-wc-victoriabank-mia.php:220 143 165 msgid "Company Name" 144 166 msgstr "Nume companie" 145 167 146 #: payment-gateway-wc-victoriabank-mia.php:194 168 #: payment-gateway-wc-victoriabank-mia.php:223 169 msgid "Commercial name that the customer will see in the app during payment." 170 msgstr "" 171 "Denumirea comercială pe care clientul o va vedea în aplicație în timpul " 172 "plății." 173 174 #: payment-gateway-wc-victoriabank-mia.php:232 147 175 msgid "Creditor Account" 148 176 msgstr "Cont creditor" 149 177 150 #: payment-gateway-wc-victoriabank-mia.php: 196178 #: payment-gateway-wc-victoriabank-mia.php:234 151 179 msgid "IBAN" 152 180 msgstr "IBAN" 153 181 154 #: payment-gateway-wc-victoriabank-mia.php:200 182 #: payment-gateway-wc-victoriabank-mia.php:235 183 msgid "IBAN account for receiving payments." 184 msgstr "Cont IBAN pentru primirea plăților." 185 186 #: payment-gateway-wc-victoriabank-mia.php:246 155 187 msgid "Payment Notification" 156 188 msgstr "Notificare plăți" 157 189 158 #: payment-gateway-wc-victoriabank-mia.php:2 03190 #: payment-gateway-wc-victoriabank-mia.php:250 159 191 msgid "Provide this URL to the bank to enable online payment notifications." 160 192 msgstr "" … … 162 194 "online." 163 195 164 #: payment-gateway-wc-victoriabank-mia.php:2 04196 #: payment-gateway-wc-victoriabank-mia.php:251 165 197 msgid "Callback URL" 166 198 msgstr "URL apel invers (Callback URL)" 167 199 168 #: payment-gateway-wc-victoriabank-mia.php: 262200 #: payment-gateway-wc-victoriabank-mia.php:311 169 201 msgid "Unsupported store currency" 170 202 msgstr "Valuta magazinului nu este suportată" 171 203 172 #: payment-gateway-wc-victoriabank-mia.php: 264204 #: payment-gateway-wc-victoriabank-mia.php:313 173 205 msgid "Supported currencies" 174 206 msgstr "Valute suportate" 175 207 176 208 #. translators: 1: Plugin installation instructions URL 177 #: payment-gateway-wc-victoriabank-mia.php: 274209 #: payment-gateway-wc-victoriabank-mia.php:323 178 210 #, php-format 179 211 msgid "" … … 184 216 "target=\"_blank\">instrucțiuni de instalare</a>." 185 217 186 #: payment-gateway-wc-victoriabank-mia.php: 275218 #: payment-gateway-wc-victoriabank-mia.php:324 187 219 msgid "Not configured" 188 220 msgstr "Neconfigurat" 189 221 222 #. translators: 1: Field label 223 #: payment-gateway-wc-victoriabank-mia.php:342 224 #, php-format 225 msgid "%1$s field must be set." 226 msgstr "Câmpul %1$s trebuie setat." 227 228 #. translators: 1: Field label, 2: Min value, 3: Max value 229 #: payment-gateway-wc-victoriabank-mia.php:357 230 #, php-format 231 msgid "%1$s field must be an integer between %2$d and %3$d." 232 msgstr "Câmpul %1$s trebuie să fie un număr întreg între %2$d și %3$d." 233 234 #. translators: 1: Field label 235 #: payment-gateway-wc-victoriabank-mia.php:377 236 #, php-format 237 msgid "Invalid %1$s field." 238 msgstr "Câmp %1$s nevalid." 239 240 #. translators: 1: Field label 241 #: payment-gateway-wc-victoriabank-mia.php:392 242 #, php-format 243 msgid "Invalid %1$s field. Must start with MD and have 24 characters." 244 msgstr "" 245 "Câmp %1$s nevalid. Trebuie să înceapă cu MD și să aibă 24 de caractere." 246 190 247 #. translators: 1: Payment method title, 2: Plugin settings URL 191 #: payment-gateway-wc-victoriabank-mia.php: 305248 #: payment-gateway-wc-victoriabank-mia.php:441 192 249 #, php-format 193 250 msgid "" … … 199 256 200 257 #. translators: 1: Payment method title, 2: Plugin settings URL 201 #: payment-gateway-wc-victoriabank-mia.php: 312258 #: payment-gateway-wc-victoriabank-mia.php:448 202 259 #, php-format 203 260 msgid "" … … 209 266 210 267 #. translators: 1: Order ID, 2: Payment method title, 3: API response details 211 #: payment-gateway-wc-victoriabank-mia.php: 449268 #: payment-gateway-wc-victoriabank-mia.php:613 212 269 #, php-format 213 270 msgid "Order #%1$s payment initiated via %2$s: %3$s" … … 215 272 216 273 #. translators: 1: Order ID, 2: Payment method title 217 #: payment-gateway-wc-victoriabank-mia.php: 461274 #: payment-gateway-wc-victoriabank-mia.php:625 218 275 #, php-format 219 276 msgid "Order #%1$s payment initiation failed via %2$s." … … 221 278 222 279 #. translators: 1: Payment method title 223 #: payment-gateway-wc-victoriabank-mia.php: 485280 #: payment-gateway-wc-victoriabank-mia.php:649 224 281 #, php-format 225 282 msgid "%1$s Callback URL" 226 283 msgstr "%1$s Callback URL" 227 284 228 #: payment-gateway-wc-victoriabank-mia.php: 508285 #: payment-gateway-wc-victoriabank-mia.php:672 229 286 msgid "Payment notification callback" 230 287 msgstr "Notificare de plată" 231 288 232 289 #. translators: 1: QR Extension ID, 2: Payment method title 233 #: payment-gateway-wc-victoriabank-mia.php: 543290 #: payment-gateway-wc-victoriabank-mia.php:707 234 291 #, php-format 235 292 msgid "Order not found by QR Extension ID: %1$s received from %2$s." … … 237 294 238 295 #. translators: 1: Callback notification price, 2: Order total price 239 #: payment-gateway-wc-victoriabank-mia.php: 565296 #: payment-gateway-wc-victoriabank-mia.php:729 240 297 #, php-format 241 298 msgid "Order amount mismatch: Callback: %1$s, Order: %2$s." … … 243 300 244 301 #. translators: 1: Order ID 245 #: payment-gateway-wc-victoriabank-mia.php: 573302 #: payment-gateway-wc-victoriabank-mia.php:737 246 303 #, php-format 247 304 msgid "Callback order #%1$s already fully paid." … … 249 306 250 307 #. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data 251 #: payment-gateway-wc-victoriabank-mia.php: 592308 #: payment-gateway-wc-victoriabank-mia.php:756 252 309 #, php-format 253 310 msgid "Order #%1$s payment completed via %2$s: %3$s" … … 255 312 256 313 #. translators: 1: Payment method title 257 #: payment-gateway-wc-victoriabank-mia.php: 616314 #: payment-gateway-wc-victoriabank-mia.php:780 258 315 #, php-format 259 316 msgid "Partial refunds are not currently supported by %1$s." … … 261 318 262 319 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message 263 #: payment-gateway-wc-victoriabank-mia.php: 641320 #: payment-gateway-wc-victoriabank-mia.php:805 264 321 #, php-format 265 322 msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s" … … 267 324 268 325 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title 269 #: payment-gateway-wc-victoriabank-mia.php: 652326 #: payment-gateway-wc-victoriabank-mia.php:816 270 327 #, php-format 271 328 msgid "Order #%1$s refund of %2$s via %3$s approved." … … 273 330 274 331 #. translators: 1: Original message 275 #: payment-gateway-wc-victoriabank-mia.php: 716332 #: payment-gateway-wc-victoriabank-mia.php:880 276 333 #, php-format 277 334 msgid "TEST: %1$s" 278 335 msgstr "TEST: %1$s" 279 336 280 #: payment-gateway-wc-victoriabank-mia.php: 836337 #: payment-gateway-wc-victoriabank-mia.php:995 281 338 msgid "Settings" 282 339 msgstr "Setări" -
payment-gateway-wc-victoriabank-mia/tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia-ru_RU.po
r3423778 r3424882 4 4 msgstr "" 5 5 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce " 6 "1.0. 1\n"6 "1.0.2\n" 7 7 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-" 8 8 "wc-victoriabank-mia\n" 9 "POT-Creation-Date: 2025-12- 19 16:17+0200\n"10 "PO-Revision-Date: 2025-12- 19 16:18+0200\n"9 "POT-Creation-Date: 2025-12-21 19:55+0200\n" 10 "PO-Revision-Date: 2025-12-21 20:01+0200\n" 11 11 "Last-Translator: Alexander Minza <[email protected]>\n" 12 12 "Language-Team: \n" … … 17 17 "X-Generator: Poedit 3.8\n" 18 18 19 #. Plugin Name of the plugin 20 #: payment-gateway-wc-victoriabank-mia.php 21 msgid "Payment Gateway for Victoriabank MIA for WooCommerce" 22 msgstr "Payment Gateway for Victoriabank MIA for WooCommerce" 23 19 24 #. Description of the plugin 20 25 #: payment-gateway-wc-victoriabank-mia.php … … 24 29 msgstr "" 25 30 "Принимайте MIA мгновенные платежи прямо в своем магазине с помощью " 26 "платежного шлюза maib MIA для WooCommerce." 27 28 #: payment-gateway-wc-victoriabank-mia.php:118 31 "платежного шлюза Victoriabank MIA для WooCommerce." 32 33 #: payment-gateway-wc-victoriabank-mia.php:75 34 msgid "Accept MIA Instant Payments through Victoriabank." 35 msgstr "Принимайте MIA мгновенные платежи через Victoriabank." 36 37 #: payment-gateway-wc-victoriabank-mia.php:121 29 38 msgid "Enable/Disable" 30 39 msgstr "Включить/Выключить" 31 40 32 #: payment-gateway-wc-victoriabank-mia.php:12 041 #: payment-gateway-wc-victoriabank-mia.php:123 33 42 msgid "Enable this gateway" 34 43 msgstr "Включить платежный шлюз" 35 44 36 #: payment-gateway-wc-victoriabank-mia.php:12 445 #: payment-gateway-wc-victoriabank-mia.php:127 37 46 msgid "Title" 38 47 msgstr "Наименование" 39 48 40 #: payment-gateway-wc-victoriabank-mia.php:12 649 #: payment-gateway-wc-victoriabank-mia.php:129 41 50 msgid "Payment method title that the customer will see during checkout." 42 msgstr "Заголовок, который видит пользователь в процессе оформления заказа." 43 44 #: payment-gateway-wc-victoriabank-mia.php:131 51 msgstr "" 52 "Название способа оплаты, которое покупатель увидит при оформлении заказа." 53 54 #: payment-gateway-wc-victoriabank-mia.php:137 45 55 msgid "Description" 46 56 msgstr "Описание" 47 57 48 #: payment-gateway-wc-victoriabank-mia.php:13 358 #: payment-gateway-wc-victoriabank-mia.php:139 49 59 msgid "Payment method description that the customer will see during checkout." 50 60 msgstr "" 51 "Описание метода оплаты, которое клиент будет видеть при оформлении заказа." 52 53 #: payment-gateway-wc-victoriabank-mia.php:139 61 "Описание способа оплаты, которое покупатель увидит при оформлении заказа." 62 63 #: payment-gateway-wc-victoriabank-mia.php:141 64 msgid "" 65 "Pay instantly by scanning the QR code using your bank's mobile application." 66 msgstr "" 67 "Оплатите мгновенно, отсканировав QR-код с помощью мобильного приложения " 68 "вашего банка." 69 70 #: payment-gateway-wc-victoriabank-mia.php:145 54 71 msgid "Test mode" 55 72 msgstr "Тестовый режим" 56 73 57 #: payment-gateway-wc-victoriabank-mia.php:14 174 #: payment-gateway-wc-victoriabank-mia.php:147 58 75 msgid "Enabled" 59 76 msgstr "Включен" 60 77 61 #: payment-gateway-wc-victoriabank-mia.php:14 278 #: payment-gateway-wc-victoriabank-mia.php:148 62 79 msgid "" 63 80 "Use Test or Live bank gateway to process the payments. Disable when ready to " … … 67 84 "Отключить, когда будете готовы принимать реальные платежи." 68 85 69 #: payment-gateway-wc-victoriabank-mia.php:1 4786 #: payment-gateway-wc-victoriabank-mia.php:153 70 87 msgid "Debug mode" 71 88 msgstr "Режим отладки" 72 89 73 #: payment-gateway-wc-victoriabank-mia.php:1 4990 #: payment-gateway-wc-victoriabank-mia.php:155 74 91 msgid "Enable logging" 75 92 msgstr "Включить журналирование" 76 93 77 #: payment-gateway-wc-victoriabank-mia.php:15 194 #: payment-gateway-wc-victoriabank-mia.php:157 78 95 msgid "View logs" 79 96 msgstr "Просмотреть журналы" 80 97 81 #: payment-gateway-wc-victoriabank-mia.php:15 298 #: payment-gateway-wc-victoriabank-mia.php:158 82 99 msgid "" 83 100 "Save debug messages to the WooCommerce System Status logs. Note: this may " … … 89 106 "отладки и удалите журналы по завершению." 90 107 91 #: payment-gateway-wc-victoriabank-mia.php:1 56108 #: payment-gateway-wc-victoriabank-mia.php:162 92 109 msgid "Order description" 93 110 msgstr "Описание заказа" 94 111 95 112 #. translators: 1: Example placeholder shown to user, represents Order ID 96 #: payment-gateway-wc-victoriabank-mia.php:1 59113 #: payment-gateway-wc-victoriabank-mia.php:165 97 114 #, php-format 98 115 msgid "Format: <code>%1$s</code> - Order ID" 99 116 msgstr "Формат: <code>%1$s</code> - номер заказа" 100 117 101 #: payment-gateway-wc-victoriabank-mia.php:16 0102 msgid "Order description that the customer will see on the bank payment page."103 msgstr "" 104 "Описание заказа, которое клиент будет видеть при оплате на странице банка."105 106 #: payment-gateway-wc-victoriabank-mia.php:1 64118 #: payment-gateway-wc-victoriabank-mia.php:166 119 msgid "Order description that the customer will see in the app during payment." 120 msgstr "" 121 "Описание заказа, которое покупатель увидит в приложении во время оплаты." 122 123 #: payment-gateway-wc-victoriabank-mia.php:175 107 124 msgid "Transaction validity" 108 125 msgstr "Действительность транзакции" 109 126 110 #: payment-gateway-wc-victoriabank-mia.php:166 111 msgid "minutes" 112 msgstr "минут" 113 114 #: payment-gateway-wc-victoriabank-mia.php:171 115 #: payment-gateway-wc-victoriabank-mia.php:275 127 #. translators: 1: Transaction validity in minutes 128 #: payment-gateway-wc-victoriabank-mia.php:178 129 #, php-format 130 msgid "Default: %1$s minutes" 131 msgstr "По умолчанию: %1$s мин." 132 133 #: payment-gateway-wc-victoriabank-mia.php:179 134 msgid "QR code validity time in minutes." 135 msgstr "Время действия QR-кода в минутах." 136 137 #: payment-gateway-wc-victoriabank-mia.php:190 138 #: payment-gateway-wc-victoriabank-mia.php:324 116 139 msgid "Connection Settings" 117 140 msgstr "Настройки подключения" 118 141 119 #: payment-gateway-wc-victoriabank-mia.php:1 72142 #: payment-gateway-wc-victoriabank-mia.php:191 120 143 msgid "Payment gateway connection credentials are provided by the bank." 121 144 msgstr "" 122 145 "Учетные данные для подключения к платежному шлюзу предоставляются банком." 123 146 124 #: payment-gateway-wc-victoriabank-mia.php:1 76147 #: payment-gateway-wc-victoriabank-mia.php:195 125 148 msgid "Username" 126 149 msgstr "Логин" 127 150 128 #: payment-gateway-wc-victoriabank-mia.php: 180151 #: payment-gateway-wc-victoriabank-mia.php:202 129 152 msgid "Password" 130 153 msgstr "Пароль" 131 154 132 #: payment-gateway-wc-victoriabank-mia.php: 184155 #: payment-gateway-wc-victoriabank-mia.php:209 133 156 msgid "Certificate" 134 157 msgstr "Сертификат" 135 158 136 #: payment-gateway-wc-victoriabank-mia.php: 186159 #: payment-gateway-wc-victoriabank-mia.php:212 137 160 msgid "" 138 161 "Victoriabank Public Key Certificate to validate the authenticity of the " … … 142 165 "уведомлений о платежах." 143 166 144 #: payment-gateway-wc-victoriabank-mia.php: 190167 #: payment-gateway-wc-victoriabank-mia.php:220 145 168 msgid "Company Name" 146 169 msgstr "Название компании" 147 170 148 #: payment-gateway-wc-victoriabank-mia.php:194 171 #: payment-gateway-wc-victoriabank-mia.php:223 172 msgid "Commercial name that the customer will see in the app during payment." 173 msgstr "" 174 "Коммерческое название, которое покупатель увидит в приложении во время " 175 "оплаты." 176 177 #: payment-gateway-wc-victoriabank-mia.php:232 149 178 msgid "Creditor Account" 150 179 msgstr "Кредиторский счет" 151 180 152 #: payment-gateway-wc-victoriabank-mia.php: 196181 #: payment-gateway-wc-victoriabank-mia.php:234 153 182 msgid "IBAN" 154 183 msgstr "IBAN" 155 184 156 #: payment-gateway-wc-victoriabank-mia.php:200 185 #: payment-gateway-wc-victoriabank-mia.php:235 186 msgid "IBAN account for receiving payments." 187 msgstr "IBAN-счет для получения платежей." 188 189 #: payment-gateway-wc-victoriabank-mia.php:246 157 190 msgid "Payment Notification" 158 191 msgstr "Уведомление об оплате" 159 192 160 #: payment-gateway-wc-victoriabank-mia.php:2 03193 #: payment-gateway-wc-victoriabank-mia.php:250 161 194 msgid "Provide this URL to the bank to enable online payment notifications." 162 195 msgstr "" … … 164 197 "платежах." 165 198 166 #: payment-gateway-wc-victoriabank-mia.php:2 04199 #: payment-gateway-wc-victoriabank-mia.php:251 167 200 msgid "Callback URL" 168 201 msgstr "URL обратного вызова (Callback URL)" 169 202 170 #: payment-gateway-wc-victoriabank-mia.php: 262203 #: payment-gateway-wc-victoriabank-mia.php:311 171 204 msgid "Unsupported store currency" 172 205 msgstr "Валюта магазина не поддерживается" 173 206 174 #: payment-gateway-wc-victoriabank-mia.php: 264207 #: payment-gateway-wc-victoriabank-mia.php:313 175 208 msgid "Supported currencies" 176 209 msgstr "Поддерживаемые валюты" 177 210 178 211 #. translators: 1: Plugin installation instructions URL 179 #: payment-gateway-wc-victoriabank-mia.php: 274212 #: payment-gateway-wc-victoriabank-mia.php:323 180 213 #, php-format 181 214 msgid "" … … 186 219 "target=\"_blank\">инструкций по установке</a>." 187 220 188 #: payment-gateway-wc-victoriabank-mia.php: 275221 #: payment-gateway-wc-victoriabank-mia.php:324 189 222 msgid "Not configured" 190 223 msgstr "Не настроено" 191 224 225 #. translators: 1: Field label 226 #: payment-gateway-wc-victoriabank-mia.php:342 227 #, php-format 228 msgid "%1$s field must be set." 229 msgstr "В поле %1$s должно быть задано значение." 230 231 #. translators: 1: Field label, 2: Min value, 3: Max value 232 #: payment-gateway-wc-victoriabank-mia.php:357 233 #, php-format 234 msgid "%1$s field must be an integer between %2$d and %3$d." 235 msgstr "Поле %1$s должно быть целым числом от %2$d до %3$d." 236 237 #. translators: 1: Field label 238 #: payment-gateway-wc-victoriabank-mia.php:377 239 #, php-format 240 msgid "Invalid %1$s field." 241 msgstr "Неверное поле %1$s." 242 243 #. translators: 1: Field label 244 #: payment-gateway-wc-victoriabank-mia.php:392 245 #, php-format 246 msgid "Invalid %1$s field. Must start with MD and have 24 characters." 247 msgstr "" 248 "Недопустимое поле %1$s. Должно начинаться с MD и состоять из 24 символов." 249 192 250 #. translators: 1: Payment method title, 2: Plugin settings URL 193 #: payment-gateway-wc-victoriabank-mia.php: 305251 #: payment-gateway-wc-victoriabank-mia.php:441 194 252 #, php-format 195 253 msgid "" … … 201 259 202 260 #. translators: 1: Payment method title, 2: Plugin settings URL 203 #: payment-gateway-wc-victoriabank-mia.php: 312261 #: payment-gateway-wc-victoriabank-mia.php:448 204 262 #, php-format 205 263 msgid "" … … 211 269 212 270 #. translators: 1: Order ID, 2: Payment method title, 3: API response details 213 #: payment-gateway-wc-victoriabank-mia.php: 449271 #: payment-gateway-wc-victoriabank-mia.php:613 214 272 #, php-format 215 273 msgid "Order #%1$s payment initiated via %2$s: %3$s" … … 217 275 218 276 #. translators: 1: Order ID, 2: Payment method title 219 #: payment-gateway-wc-victoriabank-mia.php: 461277 #: payment-gateway-wc-victoriabank-mia.php:625 220 278 #, php-format 221 279 msgid "Order #%1$s payment initiation failed via %2$s." … … 223 281 224 282 #. translators: 1: Payment method title 225 #: payment-gateway-wc-victoriabank-mia.php: 485283 #: payment-gateway-wc-victoriabank-mia.php:649 226 284 #, php-format 227 285 msgid "%1$s Callback URL" 228 286 msgstr "%1$s Callback URL" 229 287 230 #: payment-gateway-wc-victoriabank-mia.php: 508288 #: payment-gateway-wc-victoriabank-mia.php:672 231 289 msgid "Payment notification callback" 232 290 msgstr "Уведомление об оплате" 233 291 234 292 #. translators: 1: QR Extension ID, 2: Payment method title 235 #: payment-gateway-wc-victoriabank-mia.php: 543293 #: payment-gateway-wc-victoriabank-mia.php:707 236 294 #, php-format 237 295 msgid "Order not found by QR Extension ID: %1$s received from %2$s." … … 239 297 240 298 #. translators: 1: Callback notification price, 2: Order total price 241 #: payment-gateway-wc-victoriabank-mia.php: 565299 #: payment-gateway-wc-victoriabank-mia.php:729 242 300 #, php-format 243 301 msgid "Order amount mismatch: Callback: %1$s, Order: %2$s." … … 245 303 246 304 #. translators: 1: Order ID 247 #: payment-gateway-wc-victoriabank-mia.php: 573305 #: payment-gateway-wc-victoriabank-mia.php:737 248 306 #, php-format 249 307 msgid "Callback order #%1$s already fully paid." … … 251 309 252 310 #. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data 253 #: payment-gateway-wc-victoriabank-mia.php: 592311 #: payment-gateway-wc-victoriabank-mia.php:756 254 312 #, php-format 255 313 msgid "Order #%1$s payment completed via %2$s: %3$s" … … 257 315 258 316 #. translators: 1: Payment method title 259 #: payment-gateway-wc-victoriabank-mia.php: 616317 #: payment-gateway-wc-victoriabank-mia.php:780 260 318 #, php-format 261 319 msgid "Partial refunds are not currently supported by %1$s." … … 263 321 264 322 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message 265 #: payment-gateway-wc-victoriabank-mia.php: 641323 #: payment-gateway-wc-victoriabank-mia.php:805 266 324 #, php-format 267 325 msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s" … … 269 327 270 328 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title 271 #: payment-gateway-wc-victoriabank-mia.php: 652329 #: payment-gateway-wc-victoriabank-mia.php:816 272 330 #, php-format 273 331 msgid "Order #%1$s refund of %2$s via %3$s approved." … … 275 333 276 334 #. translators: 1: Original message 277 #: payment-gateway-wc-victoriabank-mia.php: 716335 #: payment-gateway-wc-victoriabank-mia.php:880 278 336 #, php-format 279 337 msgid "TEST: %1$s" 280 338 msgstr "ТЕСТ: %1$s" 281 339 282 #: payment-gateway-wc-victoriabank-mia.php: 836340 #: payment-gateway-wc-victoriabank-mia.php:995 283 341 msgid "Settings" 284 342 msgstr "Настройки" -
payment-gateway-wc-victoriabank-mia/tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia.pot
r3423778 r3424882 4 4 msgid "" 5 5 msgstr "" 6 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce 1.0. 1\n"6 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce 1.0.2\n" 7 7 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-wc-victoriabank-mia\n" 8 "POT-Creation-Date: 2025-12- 19 16:17+0200\n"8 "POT-Creation-Date: 2025-12-21 19:55+0200\n" 9 9 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 10 10 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 15 15 "X-Generator: Poedit 3.8\n" 16 16 17 #. Plugin Name of the plugin 18 #: payment-gateway-wc-victoriabank-mia.php 19 msgid "Payment Gateway for Victoriabank MIA for WooCommerce" 20 msgstr "" 21 17 22 #. Description of the plugin 18 23 #: payment-gateway-wc-victoriabank-mia.php … … 20 25 msgstr "" 21 26 22 #: payment-gateway-wc-victoriabank-mia.php:118 27 #: payment-gateway-wc-victoriabank-mia.php:75 28 msgid "Accept MIA Instant Payments through Victoriabank." 29 msgstr "" 30 31 #: payment-gateway-wc-victoriabank-mia.php:121 23 32 msgid "Enable/Disable" 24 33 msgstr "" 25 34 26 #: payment-gateway-wc-victoriabank-mia.php:12 035 #: payment-gateway-wc-victoriabank-mia.php:123 27 36 msgid "Enable this gateway" 28 37 msgstr "" 29 38 30 #: payment-gateway-wc-victoriabank-mia.php:12 439 #: payment-gateway-wc-victoriabank-mia.php:127 31 40 msgid "Title" 32 41 msgstr "" 33 42 34 #: payment-gateway-wc-victoriabank-mia.php:12 643 #: payment-gateway-wc-victoriabank-mia.php:129 35 44 msgid "Payment method title that the customer will see during checkout." 36 45 msgstr "" 37 46 38 #: payment-gateway-wc-victoriabank-mia.php:13 147 #: payment-gateway-wc-victoriabank-mia.php:137 39 48 msgid "Description" 40 49 msgstr "" 41 50 42 #: payment-gateway-wc-victoriabank-mia.php:13 351 #: payment-gateway-wc-victoriabank-mia.php:139 43 52 msgid "Payment method description that the customer will see during checkout." 44 53 msgstr "" 45 54 46 #: payment-gateway-wc-victoriabank-mia.php:139 55 #: payment-gateway-wc-victoriabank-mia.php:141 56 msgid "Pay instantly by scanning the QR code using your bank's mobile application." 57 msgstr "" 58 59 #: payment-gateway-wc-victoriabank-mia.php:145 47 60 msgid "Test mode" 48 61 msgstr "" 49 62 50 #: payment-gateway-wc-victoriabank-mia.php:14 163 #: payment-gateway-wc-victoriabank-mia.php:147 51 64 msgid "Enabled" 52 65 msgstr "" 53 66 54 #: payment-gateway-wc-victoriabank-mia.php:14 267 #: payment-gateway-wc-victoriabank-mia.php:148 55 68 msgid "Use Test or Live bank gateway to process the payments. Disable when ready to accept live payments." 56 69 msgstr "" 57 70 58 #: payment-gateway-wc-victoriabank-mia.php:1 4771 #: payment-gateway-wc-victoriabank-mia.php:153 59 72 msgid "Debug mode" 60 73 msgstr "" 61 74 62 #: payment-gateway-wc-victoriabank-mia.php:1 4975 #: payment-gateway-wc-victoriabank-mia.php:155 63 76 msgid "Enable logging" 64 77 msgstr "" 65 78 66 #: payment-gateway-wc-victoriabank-mia.php:15 179 #: payment-gateway-wc-victoriabank-mia.php:157 67 80 msgid "View logs" 68 81 msgstr "" 69 82 70 #: payment-gateway-wc-victoriabank-mia.php:15 283 #: payment-gateway-wc-victoriabank-mia.php:158 71 84 msgid "Save debug messages to the WooCommerce System Status logs. Note: this may log personal information. Use this for debugging purposes only and delete the logs when finished." 72 85 msgstr "" 73 86 74 #: payment-gateway-wc-victoriabank-mia.php:1 5687 #: payment-gateway-wc-victoriabank-mia.php:162 75 88 msgid "Order description" 76 89 msgstr "" 77 90 78 91 #. translators: 1: Example placeholder shown to user, represents Order ID 79 #: payment-gateway-wc-victoriabank-mia.php:1 5992 #: payment-gateway-wc-victoriabank-mia.php:165 80 93 #, php-format 81 94 msgid "Format: <code>%1$s</code> - Order ID" 82 95 msgstr "" 83 96 84 #: payment-gateway-wc-victoriabank-mia.php:16 085 msgid "Order description that the customer will see on the bank payment page."86 msgstr "" 87 88 #: payment-gateway-wc-victoriabank-mia.php:1 6497 #: payment-gateway-wc-victoriabank-mia.php:166 98 msgid "Order description that the customer will see in the app during payment." 99 msgstr "" 100 101 #: payment-gateway-wc-victoriabank-mia.php:175 89 102 msgid "Transaction validity" 90 103 msgstr "" 91 104 92 #: payment-gateway-wc-victoriabank-mia.php:166 93 msgid "minutes" 94 msgstr "" 95 96 #: payment-gateway-wc-victoriabank-mia.php:171 97 #: payment-gateway-wc-victoriabank-mia.php:275 105 #. translators: 1: Transaction validity in minutes 106 #: payment-gateway-wc-victoriabank-mia.php:178 107 #, php-format 108 msgid "Default: %1$s minutes" 109 msgstr "" 110 111 #: payment-gateway-wc-victoriabank-mia.php:179 112 msgid "QR code validity time in minutes." 113 msgstr "" 114 115 #: payment-gateway-wc-victoriabank-mia.php:190 116 #: payment-gateway-wc-victoriabank-mia.php:324 98 117 msgid "Connection Settings" 99 118 msgstr "" 100 119 101 #: payment-gateway-wc-victoriabank-mia.php:1 72120 #: payment-gateway-wc-victoriabank-mia.php:191 102 121 msgid "Payment gateway connection credentials are provided by the bank." 103 122 msgstr "" 104 123 105 #: payment-gateway-wc-victoriabank-mia.php:1 76124 #: payment-gateway-wc-victoriabank-mia.php:195 106 125 msgid "Username" 107 126 msgstr "" 108 127 109 #: payment-gateway-wc-victoriabank-mia.php: 180128 #: payment-gateway-wc-victoriabank-mia.php:202 110 129 msgid "Password" 111 130 msgstr "" 112 131 113 #: payment-gateway-wc-victoriabank-mia.php: 184132 #: payment-gateway-wc-victoriabank-mia.php:209 114 133 msgid "Certificate" 115 134 msgstr "" 116 135 117 #: payment-gateway-wc-victoriabank-mia.php: 186136 #: payment-gateway-wc-victoriabank-mia.php:212 118 137 msgid "Victoriabank Public Key Certificate to validate the authenticity of the payment notifications." 119 138 msgstr "" 120 139 121 #: payment-gateway-wc-victoriabank-mia.php: 190140 #: payment-gateway-wc-victoriabank-mia.php:220 122 141 msgid "Company Name" 123 142 msgstr "" 124 143 125 #: payment-gateway-wc-victoriabank-mia.php:194 144 #: payment-gateway-wc-victoriabank-mia.php:223 145 msgid "Commercial name that the customer will see in the app during payment." 146 msgstr "" 147 148 #: payment-gateway-wc-victoriabank-mia.php:232 126 149 msgid "Creditor Account" 127 150 msgstr "" 128 151 129 #: payment-gateway-wc-victoriabank-mia.php: 196152 #: payment-gateway-wc-victoriabank-mia.php:234 130 153 msgid "IBAN" 131 154 msgstr "" 132 155 133 #: payment-gateway-wc-victoriabank-mia.php:200 156 #: payment-gateway-wc-victoriabank-mia.php:235 157 msgid "IBAN account for receiving payments." 158 msgstr "" 159 160 #: payment-gateway-wc-victoriabank-mia.php:246 134 161 msgid "Payment Notification" 135 162 msgstr "" 136 163 137 #: payment-gateway-wc-victoriabank-mia.php:2 03164 #: payment-gateway-wc-victoriabank-mia.php:250 138 165 msgid "Provide this URL to the bank to enable online payment notifications." 139 166 msgstr "" 140 167 141 #: payment-gateway-wc-victoriabank-mia.php:2 04168 #: payment-gateway-wc-victoriabank-mia.php:251 142 169 msgid "Callback URL" 143 170 msgstr "" 144 171 145 #: payment-gateway-wc-victoriabank-mia.php: 262172 #: payment-gateway-wc-victoriabank-mia.php:311 146 173 msgid "Unsupported store currency" 147 174 msgstr "" 148 175 149 #: payment-gateway-wc-victoriabank-mia.php: 264176 #: payment-gateway-wc-victoriabank-mia.php:313 150 177 msgid "Supported currencies" 151 178 msgstr "" 152 179 153 180 #. translators: 1: Plugin installation instructions URL 154 #: payment-gateway-wc-victoriabank-mia.php: 274181 #: payment-gateway-wc-victoriabank-mia.php:323 155 182 #, php-format 156 183 msgid "See plugin documentation for <a href=\"%1$s\" target=\"_blank\">installation instructions</a>." 157 184 msgstr "" 158 185 159 #: payment-gateway-wc-victoriabank-mia.php: 275186 #: payment-gateway-wc-victoriabank-mia.php:324 160 187 msgid "Not configured" 161 188 msgstr "" 162 189 190 #. translators: 1: Field label 191 #: payment-gateway-wc-victoriabank-mia.php:342 192 #, php-format 193 msgid "%1$s field must be set." 194 msgstr "" 195 196 #. translators: 1: Field label, 2: Min value, 3: Max value 197 #: payment-gateway-wc-victoriabank-mia.php:357 198 #, php-format 199 msgid "%1$s field must be an integer between %2$d and %3$d." 200 msgstr "" 201 202 #. translators: 1: Field label 203 #: payment-gateway-wc-victoriabank-mia.php:377 204 #, php-format 205 msgid "Invalid %1$s field." 206 msgstr "" 207 208 #. translators: 1: Field label 209 #: payment-gateway-wc-victoriabank-mia.php:392 210 #, php-format 211 msgid "Invalid %1$s field. Must start with MD and have 24 characters." 212 msgstr "" 213 163 214 #. translators: 1: Payment method title, 2: Plugin settings URL 164 #: payment-gateway-wc-victoriabank-mia.php: 305215 #: payment-gateway-wc-victoriabank-mia.php:441 165 216 #, php-format 166 217 msgid "%1$s is not properly configured. Verify plugin <a href=\"%2$s\">Connection Settings</a>." … … 168 219 169 220 #. translators: 1: Payment method title, 2: Plugin settings URL 170 #: payment-gateway-wc-victoriabank-mia.php: 312221 #: payment-gateway-wc-victoriabank-mia.php:448 171 222 #, php-format 172 223 msgid "See <a href=\"%2$s\">%1$s settings</a> page for log details and setup instructions." … … 174 225 175 226 #. translators: 1: Order ID, 2: Payment method title, 3: API response details 176 #: payment-gateway-wc-victoriabank-mia.php: 449227 #: payment-gateway-wc-victoriabank-mia.php:613 177 228 #, php-format 178 229 msgid "Order #%1$s payment initiated via %2$s: %3$s" … … 180 231 181 232 #. translators: 1: Order ID, 2: Payment method title 182 #: payment-gateway-wc-victoriabank-mia.php: 461233 #: payment-gateway-wc-victoriabank-mia.php:625 183 234 #, php-format 184 235 msgid "Order #%1$s payment initiation failed via %2$s." … … 186 237 187 238 #. translators: 1: Payment method title 188 #: payment-gateway-wc-victoriabank-mia.php: 485239 #: payment-gateway-wc-victoriabank-mia.php:649 189 240 #, php-format 190 241 msgid "%1$s Callback URL" 191 242 msgstr "" 192 243 193 #: payment-gateway-wc-victoriabank-mia.php: 508244 #: payment-gateway-wc-victoriabank-mia.php:672 194 245 msgid "Payment notification callback" 195 246 msgstr "" 196 247 197 248 #. translators: 1: QR Extension ID, 2: Payment method title 198 #: payment-gateway-wc-victoriabank-mia.php: 543249 #: payment-gateway-wc-victoriabank-mia.php:707 199 250 #, php-format 200 251 msgid "Order not found by QR Extension ID: %1$s received from %2$s." … … 202 253 203 254 #. translators: 1: Callback notification price, 2: Order total price 204 #: payment-gateway-wc-victoriabank-mia.php: 565255 #: payment-gateway-wc-victoriabank-mia.php:729 205 256 #, php-format 206 257 msgid "Order amount mismatch: Callback: %1$s, Order: %2$s." … … 208 259 209 260 #. translators: 1: Order ID 210 #: payment-gateway-wc-victoriabank-mia.php: 573261 #: payment-gateway-wc-victoriabank-mia.php:737 211 262 #, php-format 212 263 msgid "Callback order #%1$s already fully paid." … … 214 265 215 266 #. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data 216 #: payment-gateway-wc-victoriabank-mia.php: 592267 #: payment-gateway-wc-victoriabank-mia.php:756 217 268 #, php-format 218 269 msgid "Order #%1$s payment completed via %2$s: %3$s" … … 220 271 221 272 #. translators: 1: Payment method title 222 #: payment-gateway-wc-victoriabank-mia.php: 616273 #: payment-gateway-wc-victoriabank-mia.php:780 223 274 #, php-format 224 275 msgid "Partial refunds are not currently supported by %1$s." … … 226 277 227 278 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message 228 #: payment-gateway-wc-victoriabank-mia.php: 641279 #: payment-gateway-wc-victoriabank-mia.php:805 229 280 #, php-format 230 281 msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s" … … 232 283 233 284 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title 234 #: payment-gateway-wc-victoriabank-mia.php: 652285 #: payment-gateway-wc-victoriabank-mia.php:816 235 286 #, php-format 236 287 msgid "Order #%1$s refund of %2$s via %3$s approved." … … 238 289 239 290 #. translators: 1: Original message 240 #: payment-gateway-wc-victoriabank-mia.php: 716291 #: payment-gateway-wc-victoriabank-mia.php:880 241 292 #, php-format 242 293 msgid "TEST: %1$s" 243 294 msgstr "" 244 295 245 #: payment-gateway-wc-victoriabank-mia.php: 836296 #: payment-gateway-wc-victoriabank-mia.php:995 246 297 msgid "Settings" 247 298 msgstr "" -
payment-gateway-wc-victoriabank-mia/tags/1.0.2/payment-gateway-wc-victoriabank-mia.php
r3423778 r3424882 5 5 * Description: Accept MIA Instant Payments directly on your store with the Payment Gateway for Victoriabank MIA for WooCommerce. 6 6 * Plugin URI: https://github.com/alexminza/payment-gateway-wc-victoriabank-mia 7 * Version: 1.0. 17 * Version: 1.0.2 8 8 * Author: Alexander Minza 9 9 * Author URI: https://profiles.wordpress.org/alexminza … … 38 38 { 39 39 // https://developer.woocommerce.com/docs/features/payments/payment-gateway-plugin-base/ 40 // load_plugin_textdomain('payment-gateway-wc-victoriabank-mia', false, dirname(plugin_basename(__FILE__)) . '/languages');41 42 40 if (!class_exists('WC_Payment_Gateway')) { 43 41 return; … … 48 46 //region Constants 49 47 const MOD_ID = 'victoriabank_mia'; 50 const MOD_TITLE = 'Victoriabank MIA';51 48 const MOD_PREFIX = 'victoriabank_mia_'; 52 const MOD_VERSION = '1.0. 1';49 const MOD_VERSION = '1.0.2'; 53 50 54 51 const SUPPORTED_CURRENCIES = array('MDL'); … … 62 59 63 60 const DEFAULT_TIMEOUT = 30; // seconds 64 const DEFAULT_VALIDITY = 15; // minutes 61 const DEFAULT_VALIDITY = 360; // minutes 62 const MIN_VALIDITY = 1; //minutes 63 const MAX_VALIDITY = 1440; //minutes 65 64 //endregion 66 65 … … 71 70 { 72 71 $this->id = self::MOD_ID; 73 $this->method_title = self::MOD_TITLE;74 $this->method_description = 'Payment Gateway for Victoriabank MIA';72 $this->method_title = 'Victoriabank MIA'; 73 $this->method_description = __('Accept MIA Instant Payments through Victoriabank.', 'payment-gateway-wc-victoriabank-mia'); 75 74 $this->has_fields = false; 76 75 $this->supports = array('products', 'refunds'); 77 76 78 //region Initialize user set variables 79 $this->enabled = $this->get_option('enabled', 'no'); 80 $this->title = $this->get_option('title', $this->method_title); 81 $this->description = $this->get_option('description'); 82 $this->icon = plugins_url('/assets/img/mia.svg', __FILE__); 83 84 $this->testmode = wc_string_to_bool($this->get_option('testmode', 'no')); 85 $this->debug = wc_string_to_bool($this->get_option('debug', 'no')); 86 $this->logger = new WC_Logger(null, $this->debug ? WC_Log_Levels::DEBUG : WC_Log_Levels::INFO); 77 //region Initialize settings 78 $this->init_form_fields(); 79 $this->init_settings(); 80 81 $this->enabled = $this->get_option('enabled', 'no'); 82 $this->title = $this->get_option('title', $this->method_title); 83 $this->description = $this->get_option('description'); 84 $this->icon = plugins_url('/assets/img/mia.svg', __FILE__); 85 86 $this->testmode = wc_string_to_bool($this->get_option('testmode', 'no')); 87 $this->debug = wc_string_to_bool($this->get_option('debug', 'no')); 88 $this->logger = new WC_Logger(null, $this->debug ? WC_Log_Levels::DEBUG : WC_Log_Levels::INFO); 87 89 88 90 if ($this->testmode) { … … 94 96 95 97 // https://github.com/alexminza/victoriabank-mia-sdk-php/blob/main/src/VictoriabankMia/VictoriabankMiaClient.php 96 $this->victoriabank_mia_base_url = $this->testmode ? VictoriabankMiaClient::TEST_BASE_URL : VictoriabankMiaClient::DEFAULT_BASE_URL;97 $this->victoriabank_mia_username = $this->get_option('victoriabank_mia_username');98 $this->victoriabank_mia_password = $this->get_option('victoriabank_mia_password');99 $this->victoriabank_mia_certificate = $this->get_option('victoriabank_mia_certificate');98 $this->victoriabank_mia_base_url = $this->testmode ? VictoriabankMiaClient::TEST_BASE_URL : VictoriabankMiaClient::DEFAULT_BASE_URL; 99 $this->victoriabank_mia_username = $this->get_option('victoriabank_mia_username'); 100 $this->victoriabank_mia_password = $this->get_option('victoriabank_mia_password'); 101 $this->victoriabank_mia_certificate = $this->get_option('victoriabank_mia_certificate'); 100 102 $this->victoriabank_mia_creditor_account = $this->get_option('victoriabank_mia_creditor_account'); 101 103 $this->victoriabank_mia_company_name = $this->get_option('victoriabank_mia_company_name'); 102 104 103 $this->init_form_fields();104 $this->init_settings();105 //endregion106 107 105 if (is_admin()) { 108 106 add_action("woocommerce_update_options_payment_gateways_{$this->id}", array($this, 'process_admin_options')); 109 107 } 108 //endregion 110 109 111 110 add_action("woocommerce_api_wc_{$this->id}", array($this, 'check_response')); … … 114 113 public function init_form_fields() 115 114 { 115 $blog_info_name = get_bloginfo('name'); 116 116 117 $this->form_fields = array( 117 118 'enabled' => array( … … 126 127 'description' => __('Payment method title that the customer will see during checkout.', 'payment-gateway-wc-victoriabank-mia'), 127 128 'desc_tip' => true, 128 'default' => self::MOD_TITLE, 129 'default' => $this->method_title, 130 'custom_attributes' => array( 131 'required' => 'required', 132 ), 129 133 ), 130 134 'description' => array( … … 133 137 'description' => __('Payment method description that the customer will see during checkout.', 'payment-gateway-wc-victoriabank-mia'), 134 138 'desc_tip' => true, 135 'default' => '',139 'default' => __('Pay instantly by scanning the QR code using your bank\'s mobile application.', 'payment-gateway-wc-victoriabank-mia'), 136 140 ), 137 141 … … 158 162 /* translators: 1: Example placeholder shown to user, represents Order ID */ 159 163 'description' => __('Format: <code>%1$s</code> - Order ID', 'payment-gateway-wc-victoriabank-mia'), 160 'desc_tip' => __('Order description that the customer will see on the bank payment page.', 'payment-gateway-wc-victoriabank-mia'),164 'desc_tip' => __('Order description that the customer will see in the app during payment.', 'payment-gateway-wc-victoriabank-mia'), 161 165 'default' => self::ORDER_TEMPLATE, 166 'custom_attributes' => array( 167 'required' => 'required', 168 'minlength' => 2, 169 'maxlength' => 35, 170 ), 162 171 ), 163 172 'transaction_validity' => array( 164 173 'title' => __('Transaction validity', 'payment-gateway-wc-victoriabank-mia'), 165 'type' => 'decimal', 166 'description' => __('minutes', 'payment-gateway-wc-victoriabank-mia'), 174 'type' => 'number', 175 /* translators: 1: Transaction validity in minutes */ 176 'description' => sprintf(__('Default: %1$s minutes', 'payment-gateway-wc-victoriabank-mia'), self::DEFAULT_VALIDITY), 177 'desc_tip' => __('QR code validity time in minutes.', 'payment-gateway-wc-victoriabank-mia'), 178 'custom_attributes' => array( 179 'min' => self::MIN_VALIDITY, 180 'step' => 1, 181 'max' => self::MAX_VALIDITY, 182 'required' => 'required', 183 ), 167 184 'default' => self::DEFAULT_VALIDITY, 168 185 ), … … 176 193 'title' => __('Username', 'payment-gateway-wc-victoriabank-mia'), 177 194 'type' => 'text', 195 'custom_attributes' => array( 196 'required' => 'required', 197 ), 178 198 ), 179 199 'victoriabank_mia_password' => array( 180 200 'title' => __('Password', 'payment-gateway-wc-victoriabank-mia'), 181 201 'type' => 'password', 202 'custom_attributes' => array( 203 'required' => 'required', 204 ), 182 205 ), 183 206 'victoriabank_mia_certificate' => array( 184 207 'title' => __('Certificate', 'payment-gateway-wc-victoriabank-mia'), 185 208 'type' => 'textarea', 186 'description' => __('Victoriabank Public Key Certificate to validate the authenticity of the payment notifications.', 'payment-gateway-wc-victoriabank-mia'), 187 'desc_tip' => true, 209 'description' => 'VBCA.crt', 210 'desc_tip' => __('Victoriabank Public Key Certificate to validate the authenticity of the payment notifications.', 'payment-gateway-wc-victoriabank-mia'), 211 'placeholder' => "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", 212 'class' => 'code', 213 'custom_attributes' => array( 214 'required' => 'required', 215 ), 188 216 ), 189 217 'victoriabank_mia_company_name' => array( 190 218 'title' => __('Company Name', 'payment-gateway-wc-victoriabank-mia'), 191 219 'type' => 'text', 220 'description' => $blog_info_name, 221 'desc_tip' => __('Commercial name that the customer will see in the app during payment.', 'payment-gateway-wc-victoriabank-mia'), 222 'custom_attributes' => array( 223 'required' => 'required', 224 'minlength' => 2, 225 'maxlength' => 25, 226 ), 227 'default' => $blog_info_name, 192 228 ), 193 229 'victoriabank_mia_creditor_account' => array( … … 195 231 'type' => 'text', 196 232 'description' => __('IBAN', 'payment-gateway-wc-victoriabank-mia'), 233 'desc_tip' => __('IBAN account for receiving payments.', 'payment-gateway-wc-victoriabank-mia'), 234 'placeholder' => 'MD00XX000000000000000000', 235 'custom_attributes' => array( 236 'required' => 'required', 237 'minlength' => 24, 238 'maxlength' => 24, 239 'pattern' => '^MD.*', 240 ), 197 241 ), 198 242 199 243 'payment_notification' => array( 200 244 'title' => __('Payment Notification', 'payment-gateway-wc-victoriabank-mia'), 245 'type' => 'title', 201 246 'description' => sprintf( 202 247 '%1$s<br /><br /><b>%2$s:</b> <code>%3$s</code>', … … 205 250 esc_url($this->get_callback_url()) 206 251 ), 207 'type' => 'title',208 252 ), 209 253 ); … … 245 289 } 246 290 291 //region Settings validation 247 292 protected function check_settings() 248 293 { 249 294 return !empty($this->victoriabank_mia_username) 250 295 && !empty($this->victoriabank_mia_password) 251 && !empty($this->victoriabank_mia_certificate); 296 && $this->validate_certificate($this->victoriabank_mia_certificate) 297 && !empty($this->victoriabank_mia_company_name) 298 && $this->validate_iban($this->victoriabank_mia_creditor_account); 252 299 } 253 300 … … 280 327 } 281 328 329 // https://developer.woocommerce.com/docs/extensions/settings-and-config/implementing-settings/ 330 protected function get_settings_field_label($key) 331 { 332 $form_fields = $this->get_form_fields(); 333 return $form_fields[$key]['title']; 334 } 335 336 public function validate_required_field($key, $value) 337 { 338 if (isset($value) && empty($value)) { 339 /* translators: 1: Field label */ 340 WC_Admin_Settings::add_error(sprintf(esc_html__('%1$s field must be set.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key))); 341 } 342 343 return $value; 344 } 345 346 public function validate_order_template_field($key, $value) 347 { 348 return $this->validate_required_field($key, $value); 349 } 350 351 public function validate_transaction_validity_field($key, $value) 352 { 353 if (isset($value) && !$this->validate_transaction_validity($value)) { 354 /* translators: 1: Field label, 2: Min value, 3: Max value */ 355 WC_Admin_Settings::add_error(sprintf(esc_html__('%1$s field must be an integer between %2$d and %3$d.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key), self::MIN_VALIDITY, self::MAX_VALIDITY)); 356 } 357 358 return $value; 359 } 360 361 public function validate_victoriabank_mia_username_field($key, $value) 362 { 363 return $this->validate_required_field($key, $value); 364 } 365 366 public function validate_victoriabank_mia_password_field($key, $value) 367 { 368 return $this->validate_required_field($key, $value); 369 } 370 371 public function validate_victoriabank_mia_certificate_field($key, $value) 372 { 373 if (isset($value) && !$this->validate_certificate($value)) { 374 /* translators: 1: Field label */ 375 WC_Admin_Settings::add_error(sprintf(esc_html__('Invalid %1$s field.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key))); 376 } 377 378 return $value; 379 } 380 381 public function validate_victoriabank_mia_company_name_field($key, $value) 382 { 383 return $this->validate_required_field($key, $value); 384 } 385 386 public function validate_victoriabank_mia_creditor_account_field($key, $value) 387 { 388 if (isset($value) && !$this->validate_iban($value)) { 389 /* translators: 1: Field label */ 390 WC_Admin_Settings::add_error(sprintf(esc_html__('Invalid %1$s field. Must start with MD and have 24 characters.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key))); 391 } 392 393 return $value; 394 } 395 396 protected function validate_transaction_validity($value) 397 { 398 $transaction_validity = intval($value); 399 return $transaction_validity >= self::MIN_VALIDITY 400 && $transaction_validity <= self::MAX_VALIDITY; 401 } 402 403 protected function validate_certificate($value) 404 { 405 return !empty($value) 406 && !empty(openssl_pkey_get_public($value)); 407 } 408 409 protected function validate_iban($value) 410 { 411 return !empty($value) 412 && strlen($value) === 24 413 && substr($value, 0, 2) === 'MD'; 414 } 415 282 416 protected function logs_admin_website_notice() 283 417 { … … 313 447 return $message; 314 448 } 449 //endregion 315 450 316 451 //region Victoriabank MIA … … 404 539 $auth_token = $this->victoriabank_mia_generate_token($client); 405 540 541 //region Existing QR 542 $qr_extension_id = strval($order->get_meta(self::MOD_QR_EXTENSION_ID, true)); 543 $qr_url = strval($order->get_meta(self::MOD_QR_URL, true)); 544 545 if (!empty($qr_extension_id) && !empty($qr_url)) { 546 $qr_extension_status = $client->getQrExtensionStatus($qr_extension_id, $auth_token); 547 548 if (!empty($qr_extension_status)) { 549 $qr_extension_status_value = strval($qr_extension_status['status']); 550 if (strtolower($qr_extension_status_value) === 'active') { 551 $qr_extension_status_ttl = (array) $qr_extension_status['ttl']; 552 $qr_extension_status_ttl_length = intval($qr_extension_status_ttl['length']); 553 $qr_extension_status_ttl_units = strval($qr_extension_status_ttl['units']); 554 555 $qr_extension_status_ttl_minutes = strtolower($qr_extension_status_ttl_units) === 'mm' 556 ? $qr_extension_status_ttl_length 557 : intdiv($qr_extension_status_ttl_length, 60); 558 559 if ($qr_extension_status_ttl_minutes >= intdiv($this->transaction_validity, 2)) { 560 return array( 561 'result' => 'success', 562 'redirect' => $qr_url, 563 ); 564 } 565 } 566 } 567 } 568 //endregion 569 406 570 $create_qr_response = $this->victoriabank_mia_pay( 407 571 $client, … … 420 584 $create_qr_response['qrAsImage'] = null; 421 585 } 422 423 $this->log(self::print_var($create_qr_response));424 586 } catch (Exception $ex) { 425 587 $this->log( … … 481 643 { 482 644 $request_method = isset($_SERVER['REQUEST_METHOD']) ? sanitize_text_field(wp_unslash($_SERVER['REQUEST_METHOD'])) : ''; 483 if ( $request_method === 'GET') {645 if ('GET' === $request_method) { 484 646 /* translators: 1: Payment method title */ 485 647 $message = sprintf(__('%1$s Callback URL', 'payment-gateway-wc-victoriabank-mia'), $this->method_title); 486 648 return self::return_response(WP_Http::OK, $message); 487 } elseif ( $request_method !== 'POST') {649 } elseif ('POST' !== $request_method) { 488 650 return self::return_response(WP_Http::METHOD_NOT_ALLOWED); 489 651 } … … 606 768 607 769 $order = wc_get_order($order_id); 608 $payment_reference = $order->get_meta(self::MOD_PAYMENT_REFERENCE, true);770 $payment_reference = strval($order->get_meta(self::MOD_PAYMENT_REFERENCE, true)); 609 771 $transaction_id = VictoriabankMiaClient::getPaymentTransactionId($payment_reference); 610 772 $order_total = $order->get_total(); … … 674 836 $orders = wc_get_orders($args); 675 837 $orders_count = count($orders); 676 if ( $orders_count === 1) {838 if (1 === $orders_count) { 677 839 return $orders[0]; 678 840 } elseif ($orders_count > 1) { … … 777 939 } 778 940 779 /** 780 * @param string $message 781 * @param string $level 782 * @param array $additional_context 783 */ 784 protected static function static_log($message, $level = WC_Log_Levels::DEBUG, $additional_context = null) 785 { 786 $log_context = array('source' => self::MOD_ID); 787 if (!empty($additional_context)) { 788 $log_context = array_merge($log_context, $additional_context); 789 } 790 791 $logger = wc_get_logger(); 792 $logger->log($level, $message, $log_context); 793 } 794 795 protected static function print_var($expression) 941 protected function log_var($message, $value) 942 { 943 $this->log( 944 $message, 945 WC_Log_Levels::DEBUG, 946 array( 947 'value' => self::print_var($value), 948 ) 949 ); 950 } 951 952 protected static function print_var($value) 796 953 { 797 954 // https://woocommerce.github.io/code-reference/namespaces/default.html#function_wc_print_r 798 return wc_print_r($ expression, true);955 return wc_print_r($value, true); 799 956 } 800 957 -
payment-gateway-wc-victoriabank-mia/tags/1.0.2/phpcs.xml
r3423778 r3424882 13 13 <properties> 14 14 <property name="text_domain" type="array"> 15 <element value=" wc-victoriabank-mia"/>15 <element value="payment-gateway-wc-victoriabank-mia"/> 16 16 </property> 17 17 </properties> -
payment-gateway-wc-victoriabank-mia/tags/1.0.2/readme.txt
r3423778 r3424882 4 4 Requires at least: 4.8 5 5 Tested up to: 6.9 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 Requires PHP: 7.2.5 8 8 License: GPLv3 or later … … 69 69 See [payment-gateway-wc-victoriabank-mia project releases on GitHub](https://github.com/alexminza/payment-gateway-wc-victoriabank-mia/releases) for details. 70 70 71 = 1.0.2 = 72 Improved QR code generation logic and settings validation. 73 71 74 = 1.0.1 = 72 75 Minor improvements. … … 77 80 == Upgrade Notice == 78 81 82 = 1.0.2 = 83 Improved QR code generation logic and settings validation. 84 79 85 = 1.0.1 = 80 86 Minor improvements. -
payment-gateway-wc-victoriabank-mia/trunk/composer.lock
r3414332 r3424882 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " a16b98d5f3d4b55c7b5c4c50db3ae74f",7 "content-hash": "85827b97f74097c42feaf9587a602b67", 8 8 "packages": [ 9 9 { 10 10 "name": "alexminza/victoriabank-mia-sdk", 11 "version": "v1.0. 1",11 "version": "v1.0.2", 12 12 "source": { 13 13 "type": "git", 14 14 "url": "https://github.com/alexminza/victoriabank-mia-sdk-php.git", 15 "reference": " 3001ee84844b81ad26aa23889a7741f32e19c32e"16 }, 17 "dist": { 18 "type": "zip", 19 "url": "https://api.github.com/repos/alexminza/victoriabank-mia-sdk-php/zipball/ 3001ee84844b81ad26aa23889a7741f32e19c32e",20 "reference": " 3001ee84844b81ad26aa23889a7741f32e19c32e",15 "reference": "bbbddc64995d89d71ebf3549ef7d5b7c933adb17" 16 }, 17 "dist": { 18 "type": "zip", 19 "url": "https://api.github.com/repos/alexminza/victoriabank-mia-sdk-php/zipball/bbbddc64995d89d71ebf3549ef7d5b7c933adb17", 20 "reference": "bbbddc64995d89d71ebf3549ef7d5b7c933adb17", 21 21 "shasum": "" 22 22 }, … … 61 61 "source": "https://github.com/alexminza/victoriabank-mia-sdk-php" 62 62 }, 63 "time": "2025-1 1-07T12:23:17+00:00"63 "time": "2025-12-21T11:31:16+00:00" 64 64 }, 65 65 { … … 1215 1215 } 1216 1216 ], 1217 "packages-dev": [], 1217 "packages-dev": [ 1218 { 1219 "name": "dealerdirect/phpcodesniffer-composer-installer", 1220 "version": "v1.2.0", 1221 "source": { 1222 "type": "git", 1223 "url": "https://github.com/PHPCSStandards/composer-installer.git", 1224 "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1" 1225 }, 1226 "dist": { 1227 "type": "zip", 1228 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/845eb62303d2ca9b289ef216356568ccc075ffd1", 1229 "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1", 1230 "shasum": "" 1231 }, 1232 "require": { 1233 "composer-plugin-api": "^2.2", 1234 "php": ">=5.4", 1235 "squizlabs/php_codesniffer": "^3.1.0 || ^4.0" 1236 }, 1237 "require-dev": { 1238 "composer/composer": "^2.2", 1239 "ext-json": "*", 1240 "ext-zip": "*", 1241 "php-parallel-lint/php-parallel-lint": "^1.4.0", 1242 "phpcompatibility/php-compatibility": "^9.0 || ^10.0.0@dev", 1243 "yoast/phpunit-polyfills": "^1.0" 1244 }, 1245 "type": "composer-plugin", 1246 "extra": { 1247 "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" 1248 }, 1249 "autoload": { 1250 "psr-4": { 1251 "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" 1252 } 1253 }, 1254 "notification-url": "https://packagist.org/downloads/", 1255 "license": [ 1256 "MIT" 1257 ], 1258 "authors": [ 1259 { 1260 "name": "Franck Nijhof", 1261 "email": "[email protected]", 1262 "homepage": "https://frenck.dev", 1263 "role": "Open source developer" 1264 }, 1265 { 1266 "name": "Contributors", 1267 "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" 1268 } 1269 ], 1270 "description": "PHP_CodeSniffer Standards Composer Installer Plugin", 1271 "keywords": [ 1272 "PHPCodeSniffer", 1273 "PHP_CodeSniffer", 1274 "code quality", 1275 "codesniffer", 1276 "composer", 1277 "installer", 1278 "phpcbf", 1279 "phpcs", 1280 "plugin", 1281 "qa", 1282 "quality", 1283 "standard", 1284 "standards", 1285 "style guide", 1286 "stylecheck", 1287 "tests" 1288 ], 1289 "support": { 1290 "issues": "https://github.com/PHPCSStandards/composer-installer/issues", 1291 "security": "https://github.com/PHPCSStandards/composer-installer/security/policy", 1292 "source": "https://github.com/PHPCSStandards/composer-installer" 1293 }, 1294 "funding": [ 1295 { 1296 "url": "https://github.com/PHPCSStandards", 1297 "type": "github" 1298 }, 1299 { 1300 "url": "https://github.com/jrfnl", 1301 "type": "github" 1302 }, 1303 { 1304 "url": "https://opencollective.com/php_codesniffer", 1305 "type": "open_collective" 1306 }, 1307 { 1308 "url": "https://thanks.dev/u/gh/phpcsstandards", 1309 "type": "thanks_dev" 1310 } 1311 ], 1312 "time": "2025-11-11T04:32:07+00:00" 1313 }, 1314 { 1315 "name": "phpcompatibility/php-compatibility", 1316 "version": "9.3.5", 1317 "source": { 1318 "type": "git", 1319 "url": "https://github.com/PHPCompatibility/PHPCompatibility.git", 1320 "reference": "9fb324479acf6f39452e0655d2429cc0d3914243" 1321 }, 1322 "dist": { 1323 "type": "zip", 1324 "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243", 1325 "reference": "9fb324479acf6f39452e0655d2429cc0d3914243", 1326 "shasum": "" 1327 }, 1328 "require": { 1329 "php": ">=5.3", 1330 "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" 1331 }, 1332 "conflict": { 1333 "squizlabs/php_codesniffer": "2.6.2" 1334 }, 1335 "require-dev": { 1336 "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" 1337 }, 1338 "suggest": { 1339 "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.", 1340 "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." 1341 }, 1342 "type": "phpcodesniffer-standard", 1343 "notification-url": "https://packagist.org/downloads/", 1344 "license": [ 1345 "LGPL-3.0-or-later" 1346 ], 1347 "authors": [ 1348 { 1349 "name": "Wim Godden", 1350 "homepage": "https://github.com/wimg", 1351 "role": "lead" 1352 }, 1353 { 1354 "name": "Juliette Reinders Folmer", 1355 "homepage": "https://github.com/jrfnl", 1356 "role": "lead" 1357 }, 1358 { 1359 "name": "Contributors", 1360 "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors" 1361 } 1362 ], 1363 "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", 1364 "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", 1365 "keywords": [ 1366 "compatibility", 1367 "phpcs", 1368 "standards" 1369 ], 1370 "support": { 1371 "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", 1372 "source": "https://github.com/PHPCompatibility/PHPCompatibility" 1373 }, 1374 "time": "2019-12-27T09:44:58+00:00" 1375 }, 1376 { 1377 "name": "phpcompatibility/phpcompatibility-paragonie", 1378 "version": "1.3.4", 1379 "source": { 1380 "type": "git", 1381 "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", 1382 "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf" 1383 }, 1384 "dist": { 1385 "type": "zip", 1386 "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/244d7b04fc4bc2117c15f5abe23eb933b5f02bbf", 1387 "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf", 1388 "shasum": "" 1389 }, 1390 "require": { 1391 "phpcompatibility/php-compatibility": "^9.0" 1392 }, 1393 "require-dev": { 1394 "dealerdirect/phpcodesniffer-composer-installer": "^1.0", 1395 "paragonie/random_compat": "dev-master", 1396 "paragonie/sodium_compat": "dev-master" 1397 }, 1398 "suggest": { 1399 "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", 1400 "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." 1401 }, 1402 "type": "phpcodesniffer-standard", 1403 "notification-url": "https://packagist.org/downloads/", 1404 "license": [ 1405 "LGPL-3.0-or-later" 1406 ], 1407 "authors": [ 1408 { 1409 "name": "Wim Godden", 1410 "role": "lead" 1411 }, 1412 { 1413 "name": "Juliette Reinders Folmer", 1414 "role": "lead" 1415 } 1416 ], 1417 "description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.", 1418 "homepage": "http://phpcompatibility.com/", 1419 "keywords": [ 1420 "compatibility", 1421 "paragonie", 1422 "phpcs", 1423 "polyfill", 1424 "standards", 1425 "static analysis" 1426 ], 1427 "support": { 1428 "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues", 1429 "security": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/security/policy", 1430 "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie" 1431 }, 1432 "funding": [ 1433 { 1434 "url": "https://github.com/PHPCompatibility", 1435 "type": "github" 1436 }, 1437 { 1438 "url": "https://github.com/jrfnl", 1439 "type": "github" 1440 }, 1441 { 1442 "url": "https://opencollective.com/php_codesniffer", 1443 "type": "open_collective" 1444 }, 1445 { 1446 "url": "https://thanks.dev/u/gh/phpcompatibility", 1447 "type": "thanks_dev" 1448 } 1449 ], 1450 "time": "2025-09-19T17:43:28+00:00" 1451 }, 1452 { 1453 "name": "phpcompatibility/phpcompatibility-wp", 1454 "version": "2.1.8", 1455 "source": { 1456 "type": "git", 1457 "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git", 1458 "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa" 1459 }, 1460 "dist": { 1461 "type": "zip", 1462 "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/7c8d18b4d90dac9e86b0869a608fa09158e168fa", 1463 "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa", 1464 "shasum": "" 1465 }, 1466 "require": { 1467 "phpcompatibility/php-compatibility": "^9.0", 1468 "phpcompatibility/phpcompatibility-paragonie": "^1.0", 1469 "squizlabs/php_codesniffer": "^3.3" 1470 }, 1471 "require-dev": { 1472 "dealerdirect/phpcodesniffer-composer-installer": "^1.0" 1473 }, 1474 "suggest": { 1475 "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", 1476 "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." 1477 }, 1478 "type": "phpcodesniffer-standard", 1479 "notification-url": "https://packagist.org/downloads/", 1480 "license": [ 1481 "LGPL-3.0-or-later" 1482 ], 1483 "authors": [ 1484 { 1485 "name": "Wim Godden", 1486 "role": "lead" 1487 }, 1488 { 1489 "name": "Juliette Reinders Folmer", 1490 "role": "lead" 1491 } 1492 ], 1493 "description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.", 1494 "homepage": "http://phpcompatibility.com/", 1495 "keywords": [ 1496 "compatibility", 1497 "phpcs", 1498 "standards", 1499 "static analysis", 1500 "wordpress" 1501 ], 1502 "support": { 1503 "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues", 1504 "security": "https://github.com/PHPCompatibility/PHPCompatibilityWP/security/policy", 1505 "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP" 1506 }, 1507 "funding": [ 1508 { 1509 "url": "https://github.com/PHPCompatibility", 1510 "type": "github" 1511 }, 1512 { 1513 "url": "https://github.com/jrfnl", 1514 "type": "github" 1515 }, 1516 { 1517 "url": "https://opencollective.com/php_codesniffer", 1518 "type": "open_collective" 1519 }, 1520 { 1521 "url": "https://thanks.dev/u/gh/phpcompatibility", 1522 "type": "thanks_dev" 1523 } 1524 ], 1525 "time": "2025-10-18T00:05:59+00:00" 1526 }, 1527 { 1528 "name": "phpcsstandards/phpcsextra", 1529 "version": "1.5.0", 1530 "source": { 1531 "type": "git", 1532 "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", 1533 "reference": "b598aa890815b8df16363271b659d73280129101" 1534 }, 1535 "dist": { 1536 "type": "zip", 1537 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/b598aa890815b8df16363271b659d73280129101", 1538 "reference": "b598aa890815b8df16363271b659d73280129101", 1539 "shasum": "" 1540 }, 1541 "require": { 1542 "php": ">=5.4", 1543 "phpcsstandards/phpcsutils": "^1.2.0", 1544 "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1" 1545 }, 1546 "require-dev": { 1547 "php-parallel-lint/php-console-highlighter": "^1.0", 1548 "php-parallel-lint/php-parallel-lint": "^1.4.0", 1549 "phpcsstandards/phpcsdevcs": "^1.2.0", 1550 "phpcsstandards/phpcsdevtools": "^1.2.1", 1551 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 1552 }, 1553 "type": "phpcodesniffer-standard", 1554 "extra": { 1555 "branch-alias": { 1556 "dev-stable": "1.x-dev", 1557 "dev-develop": "1.x-dev" 1558 } 1559 }, 1560 "notification-url": "https://packagist.org/downloads/", 1561 "license": [ 1562 "LGPL-3.0-or-later" 1563 ], 1564 "authors": [ 1565 { 1566 "name": "Juliette Reinders Folmer", 1567 "homepage": "https://github.com/jrfnl", 1568 "role": "lead" 1569 }, 1570 { 1571 "name": "Contributors", 1572 "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors" 1573 } 1574 ], 1575 "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.", 1576 "keywords": [ 1577 "PHP_CodeSniffer", 1578 "phpcbf", 1579 "phpcodesniffer-standard", 1580 "phpcs", 1581 "standards", 1582 "static analysis" 1583 ], 1584 "support": { 1585 "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues", 1586 "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy", 1587 "source": "https://github.com/PHPCSStandards/PHPCSExtra" 1588 }, 1589 "funding": [ 1590 { 1591 "url": "https://github.com/PHPCSStandards", 1592 "type": "github" 1593 }, 1594 { 1595 "url": "https://github.com/jrfnl", 1596 "type": "github" 1597 }, 1598 { 1599 "url": "https://opencollective.com/php_codesniffer", 1600 "type": "open_collective" 1601 }, 1602 { 1603 "url": "https://thanks.dev/u/gh/phpcsstandards", 1604 "type": "thanks_dev" 1605 } 1606 ], 1607 "time": "2025-11-12T23:06:57+00:00" 1608 }, 1609 { 1610 "name": "phpcsstandards/phpcsutils", 1611 "version": "1.2.2", 1612 "source": { 1613 "type": "git", 1614 "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", 1615 "reference": "c216317e96c8b3f5932808f9b0f1f7a14e3bbf55" 1616 }, 1617 "dist": { 1618 "type": "zip", 1619 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/c216317e96c8b3f5932808f9b0f1f7a14e3bbf55", 1620 "reference": "c216317e96c8b3f5932808f9b0f1f7a14e3bbf55", 1621 "shasum": "" 1622 }, 1623 "require": { 1624 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", 1625 "php": ">=5.4", 1626 "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1" 1627 }, 1628 "require-dev": { 1629 "ext-filter": "*", 1630 "php-parallel-lint/php-console-highlighter": "^1.0", 1631 "php-parallel-lint/php-parallel-lint": "^1.4.0", 1632 "phpcsstandards/phpcsdevcs": "^1.2.0", 1633 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0" 1634 }, 1635 "type": "phpcodesniffer-standard", 1636 "extra": { 1637 "branch-alias": { 1638 "dev-stable": "1.x-dev", 1639 "dev-develop": "1.x-dev" 1640 } 1641 }, 1642 "autoload": { 1643 "classmap": [ 1644 "PHPCSUtils/" 1645 ] 1646 }, 1647 "notification-url": "https://packagist.org/downloads/", 1648 "license": [ 1649 "LGPL-3.0-or-later" 1650 ], 1651 "authors": [ 1652 { 1653 "name": "Juliette Reinders Folmer", 1654 "homepage": "https://github.com/jrfnl", 1655 "role": "lead" 1656 }, 1657 { 1658 "name": "Contributors", 1659 "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors" 1660 } 1661 ], 1662 "description": "A suite of utility functions for use with PHP_CodeSniffer", 1663 "homepage": "https://phpcsutils.com/", 1664 "keywords": [ 1665 "PHP_CodeSniffer", 1666 "phpcbf", 1667 "phpcodesniffer-standard", 1668 "phpcs", 1669 "phpcs3", 1670 "phpcs4", 1671 "standards", 1672 "static analysis", 1673 "tokens", 1674 "utility" 1675 ], 1676 "support": { 1677 "docs": "https://phpcsutils.com/", 1678 "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues", 1679 "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy", 1680 "source": "https://github.com/PHPCSStandards/PHPCSUtils" 1681 }, 1682 "funding": [ 1683 { 1684 "url": "https://github.com/PHPCSStandards", 1685 "type": "github" 1686 }, 1687 { 1688 "url": "https://github.com/jrfnl", 1689 "type": "github" 1690 }, 1691 { 1692 "url": "https://opencollective.com/php_codesniffer", 1693 "type": "open_collective" 1694 }, 1695 { 1696 "url": "https://thanks.dev/u/gh/phpcsstandards", 1697 "type": "thanks_dev" 1698 } 1699 ], 1700 "time": "2025-12-08T14:27:58+00:00" 1701 }, 1702 { 1703 "name": "squizlabs/php_codesniffer", 1704 "version": "3.13.5", 1705 "source": { 1706 "type": "git", 1707 "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", 1708 "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4" 1709 }, 1710 "dist": { 1711 "type": "zip", 1712 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4", 1713 "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4", 1714 "shasum": "" 1715 }, 1716 "require": { 1717 "ext-simplexml": "*", 1718 "ext-tokenizer": "*", 1719 "ext-xmlwriter": "*", 1720 "php": ">=5.4.0" 1721 }, 1722 "require-dev": { 1723 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 1724 }, 1725 "bin": [ 1726 "bin/phpcbf", 1727 "bin/phpcs" 1728 ], 1729 "type": "library", 1730 "notification-url": "https://packagist.org/downloads/", 1731 "license": [ 1732 "BSD-3-Clause" 1733 ], 1734 "authors": [ 1735 { 1736 "name": "Greg Sherwood", 1737 "role": "Former lead" 1738 }, 1739 { 1740 "name": "Juliette Reinders Folmer", 1741 "role": "Current lead" 1742 }, 1743 { 1744 "name": "Contributors", 1745 "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" 1746 } 1747 ], 1748 "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", 1749 "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", 1750 "keywords": [ 1751 "phpcs", 1752 "standards", 1753 "static analysis" 1754 ], 1755 "support": { 1756 "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", 1757 "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", 1758 "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", 1759 "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" 1760 }, 1761 "funding": [ 1762 { 1763 "url": "https://github.com/PHPCSStandards", 1764 "type": "github" 1765 }, 1766 { 1767 "url": "https://github.com/jrfnl", 1768 "type": "github" 1769 }, 1770 { 1771 "url": "https://opencollective.com/php_codesniffer", 1772 "type": "open_collective" 1773 }, 1774 { 1775 "url": "https://thanks.dev/u/gh/phpcsstandards", 1776 "type": "thanks_dev" 1777 } 1778 ], 1779 "time": "2025-11-04T16:30:35+00:00" 1780 }, 1781 { 1782 "name": "woocommerce/woocommerce-sniffs", 1783 "version": "1.0.1", 1784 "source": { 1785 "type": "git", 1786 "url": "https://github.com/woocommerce/woocommerce-sniffs.git", 1787 "reference": "e6da0c372573724806b270ec1d5d94988b8aec52" 1788 }, 1789 "dist": { 1790 "type": "zip", 1791 "url": "https://api.github.com/repos/woocommerce/woocommerce-sniffs/zipball/e6da0c372573724806b270ec1d5d94988b8aec52", 1792 "reference": "e6da0c372573724806b270ec1d5d94988b8aec52", 1793 "shasum": "" 1794 }, 1795 "require": { 1796 "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", 1797 "php": ">=7.0", 1798 "phpcompatibility/phpcompatibility-wp": "^2.1.0", 1799 "wp-coding-standards/wpcs": "^3.0.0" 1800 }, 1801 "type": "phpcodesniffer-standard", 1802 "notification-url": "https://packagist.org/downloads/", 1803 "license": [ 1804 "MIT" 1805 ], 1806 "description": "WooCommerce sniffs", 1807 "keywords": [ 1808 "phpcs", 1809 "standards", 1810 "static analysis", 1811 "woocommerce", 1812 "wordpress" 1813 ], 1814 "support": { 1815 "issues": "https://github.com/woocommerce/woocommerce-sniffs/issues", 1816 "source": "https://github.com/woocommerce/woocommerce-sniffs/tree/1.0.1" 1817 }, 1818 "time": "2025-09-03T13:34:27+00:00" 1819 }, 1820 { 1821 "name": "wp-coding-standards/wpcs", 1822 "version": "3.3.0", 1823 "source": { 1824 "type": "git", 1825 "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", 1826 "reference": "7795ec6fa05663d716a549d0b44e47ffc8b0d4a6" 1827 }, 1828 "dist": { 1829 "type": "zip", 1830 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7795ec6fa05663d716a549d0b44e47ffc8b0d4a6", 1831 "reference": "7795ec6fa05663d716a549d0b44e47ffc8b0d4a6", 1832 "shasum": "" 1833 }, 1834 "require": { 1835 "ext-filter": "*", 1836 "ext-libxml": "*", 1837 "ext-tokenizer": "*", 1838 "ext-xmlreader": "*", 1839 "php": ">=7.2", 1840 "phpcsstandards/phpcsextra": "^1.5.0", 1841 "phpcsstandards/phpcsutils": "^1.1.0", 1842 "squizlabs/php_codesniffer": "^3.13.4" 1843 }, 1844 "require-dev": { 1845 "php-parallel-lint/php-console-highlighter": "^1.0.0", 1846 "php-parallel-lint/php-parallel-lint": "^1.4.0", 1847 "phpcompatibility/php-compatibility": "^10.0.0@dev", 1848 "phpcsstandards/phpcsdevtools": "^1.2.0", 1849 "phpunit/phpunit": "^8.0 || ^9.0" 1850 }, 1851 "suggest": { 1852 "ext-iconv": "For improved results", 1853 "ext-mbstring": "For improved results" 1854 }, 1855 "type": "phpcodesniffer-standard", 1856 "notification-url": "https://packagist.org/downloads/", 1857 "license": [ 1858 "MIT" 1859 ], 1860 "authors": [ 1861 { 1862 "name": "Contributors", 1863 "homepage": "https://github.com/WordPress/WordPress-Coding-Standards/graphs/contributors" 1864 } 1865 ], 1866 "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions", 1867 "keywords": [ 1868 "phpcs", 1869 "standards", 1870 "static analysis", 1871 "wordpress" 1872 ], 1873 "support": { 1874 "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues", 1875 "source": "https://github.com/WordPress/WordPress-Coding-Standards", 1876 "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" 1877 }, 1878 "funding": [ 1879 { 1880 "url": "https://opencollective.com/php_codesniffer", 1881 "type": "custom" 1882 } 1883 ], 1884 "time": "2025-11-25T12:08:04+00:00" 1885 } 1886 ], 1218 1887 "aliases": [], 1219 1888 "minimum-stability": "stable", -
payment-gateway-wc-victoriabank-mia/trunk/languages/payment-gateway-wc-victoriabank-mia-ro_RO.po
r3423778 r3424882 4 4 msgstr "" 5 5 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce " 6 "1.0. 1\n"6 "1.0.2\n" 7 7 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-" 8 8 "wc-victoriabank-mia\n" 9 "POT-Creation-Date: 2025-12- 19 16:17+0200\n"10 "PO-Revision-Date: 2025-12- 19 16:17+0200\n"9 "POT-Creation-Date: 2025-12-21 19:55+0200\n" 10 "PO-Revision-Date: 2025-12-21 19:59+0200\n" 11 11 "Last-Translator: Alexander Minza <[email protected]>\n" 12 12 "Language-Team: \n" … … 17 17 "X-Generator: Poedit 3.8\n" 18 18 19 #. Plugin Name of the plugin 20 #: payment-gateway-wc-victoriabank-mia.php 21 msgid "Payment Gateway for Victoriabank MIA for WooCommerce" 22 msgstr "Gateway de plată pentru Victoriabank MIA pentru WooCommerce" 23 19 24 #. Description of the plugin 20 25 #: payment-gateway-wc-victoriabank-mia.php … … 23 28 "for Victoriabank MIA for WooCommerce." 24 29 msgstr "" 25 "Accept ăMIA plăți instant direct în magazin cu gateway-ul de plată "30 "Acceptați MIA plăți instant direct în magazin cu gateway-ul de plată " 26 31 "Victoriabank MIA pentru WooCommerce." 27 32 28 #: payment-gateway-wc-victoriabank-mia.php:118 33 #: payment-gateway-wc-victoriabank-mia.php:75 34 msgid "Accept MIA Instant Payments through Victoriabank." 35 msgstr "Acceptați MIA plăți instant prin Victoriabank." 36 37 #: payment-gateway-wc-victoriabank-mia.php:121 29 38 msgid "Enable/Disable" 30 39 msgstr "Activare/Dezactivare" 31 40 32 #: payment-gateway-wc-victoriabank-mia.php:12 041 #: payment-gateway-wc-victoriabank-mia.php:123 33 42 msgid "Enable this gateway" 34 43 msgstr "Activează acest gateway de plată" 35 44 36 #: payment-gateway-wc-victoriabank-mia.php:12 445 #: payment-gateway-wc-victoriabank-mia.php:127 37 46 msgid "Title" 38 47 msgstr "Titlu" 39 48 40 #: payment-gateway-wc-victoriabank-mia.php:12 649 #: payment-gateway-wc-victoriabank-mia.php:129 41 50 msgid "Payment method title that the customer will see during checkout." 42 51 msgstr "Titlul metodei de plată afișat clientului în timpul plății." 43 52 44 #: payment-gateway-wc-victoriabank-mia.php:13 153 #: payment-gateway-wc-victoriabank-mia.php:137 45 54 msgid "Description" 46 55 msgstr "Descriere" 47 56 48 #: payment-gateway-wc-victoriabank-mia.php:13 357 #: payment-gateway-wc-victoriabank-mia.php:139 49 58 msgid "Payment method description that the customer will see during checkout." 50 59 msgstr "Descrierea metodei de plată afișată clientului în timpul plății." 51 60 52 #: payment-gateway-wc-victoriabank-mia.php:139 61 #: payment-gateway-wc-victoriabank-mia.php:141 62 msgid "" 63 "Pay instantly by scanning the QR code using your bank's mobile application." 64 msgstr "" 65 "Plătește instant scanând codul QR folosind aplicația mobilă a băncii tale." 66 67 #: payment-gateway-wc-victoriabank-mia.php:145 53 68 msgid "Test mode" 54 69 msgstr "Mod testare" 55 70 56 #: payment-gateway-wc-victoriabank-mia.php:14 171 #: payment-gateway-wc-victoriabank-mia.php:147 57 72 msgid "Enabled" 58 73 msgstr "Activat" 59 74 60 #: payment-gateway-wc-victoriabank-mia.php:14 275 #: payment-gateway-wc-victoriabank-mia.php:148 61 76 msgid "" 62 77 "Use Test or Live bank gateway to process the payments. Disable when ready to " … … 66 81 "plăților. Dezactivați atunci când sunteți gata să acceptați plăți reale." 67 82 68 #: payment-gateway-wc-victoriabank-mia.php:1 4783 #: payment-gateway-wc-victoriabank-mia.php:153 69 84 msgid "Debug mode" 70 85 msgstr "Mod depanare" 71 86 72 #: payment-gateway-wc-victoriabank-mia.php:1 4987 #: payment-gateway-wc-victoriabank-mia.php:155 73 88 msgid "Enable logging" 74 89 msgstr "Activează jurnalizare" 75 90 76 #: payment-gateway-wc-victoriabank-mia.php:15 191 #: payment-gateway-wc-victoriabank-mia.php:157 77 92 msgid "View logs" 78 93 msgstr "Vizualizați jurnalele" 79 94 80 #: payment-gateway-wc-victoriabank-mia.php:15 295 #: payment-gateway-wc-victoriabank-mia.php:158 81 96 msgid "" 82 97 "Save debug messages to the WooCommerce System Status logs. Note: this may " … … 88 103 "opțiune numai pentru depanare și ștergeți jurnalele atunci când ați terminat." 89 104 90 #: payment-gateway-wc-victoriabank-mia.php:1 56105 #: payment-gateway-wc-victoriabank-mia.php:162 91 106 msgid "Order description" 92 107 msgstr "Descriere comandă" 93 108 94 109 #. translators: 1: Example placeholder shown to user, represents Order ID 95 #: payment-gateway-wc-victoriabank-mia.php:1 59110 #: payment-gateway-wc-victoriabank-mia.php:165 96 111 #, php-format 97 112 msgid "Format: <code>%1$s</code> - Order ID" 98 113 msgstr "Format: <code>%1$s</code> - ID Comandă" 99 114 100 #: payment-gateway-wc-victoriabank-mia.php:160 101 msgid "Order description that the customer will see on the bank payment page." 102 msgstr "" 103 "Descrierea comenzii afișată clientului pe pagina băncii în timpul plății." 104 105 #: payment-gateway-wc-victoriabank-mia.php:164 115 #: payment-gateway-wc-victoriabank-mia.php:166 116 msgid "Order description that the customer will see in the app during payment." 117 msgstr "" 118 "Descrierea comenzii pe care clientul o va vedea în aplicație în timpul " 119 "plății." 120 121 #: payment-gateway-wc-victoriabank-mia.php:175 106 122 msgid "Transaction validity" 107 123 msgstr "Valabilitatea tranzacției" 108 124 109 #: payment-gateway-wc-victoriabank-mia.php:166 110 msgid "minutes" 111 msgstr "minute" 112 113 #: payment-gateway-wc-victoriabank-mia.php:171 114 #: payment-gateway-wc-victoriabank-mia.php:275 125 #. translators: 1: Transaction validity in minutes 126 #: payment-gateway-wc-victoriabank-mia.php:178 127 #, php-format 128 msgid "Default: %1$s minutes" 129 msgstr "Implicit: %1$s minute" 130 131 #: payment-gateway-wc-victoriabank-mia.php:179 132 msgid "QR code validity time in minutes." 133 msgstr "Timpul de valabilitate al codului QR în minute." 134 135 #: payment-gateway-wc-victoriabank-mia.php:190 136 #: payment-gateway-wc-victoriabank-mia.php:324 115 137 msgid "Connection Settings" 116 138 msgstr "Setări conexiune" 117 139 118 #: payment-gateway-wc-victoriabank-mia.php:1 72140 #: payment-gateway-wc-victoriabank-mia.php:191 119 141 msgid "Payment gateway connection credentials are provided by the bank." 120 142 msgstr "Datele de conectare la gateway-ul de plată sunt furnizate de bancă." 121 143 122 #: payment-gateway-wc-victoriabank-mia.php:1 76144 #: payment-gateway-wc-victoriabank-mia.php:195 123 145 msgid "Username" 124 146 msgstr "Nume utilizator" 125 147 126 #: payment-gateway-wc-victoriabank-mia.php: 180148 #: payment-gateway-wc-victoriabank-mia.php:202 127 149 msgid "Password" 128 150 msgstr "Parolă" 129 151 130 #: payment-gateway-wc-victoriabank-mia.php: 184152 #: payment-gateway-wc-victoriabank-mia.php:209 131 153 msgid "Certificate" 132 154 msgstr "Certificat" 133 155 134 #: payment-gateway-wc-victoriabank-mia.php: 186156 #: payment-gateway-wc-victoriabank-mia.php:212 135 157 msgid "" 136 158 "Victoriabank Public Key Certificate to validate the authenticity of the " … … 140 162 "autenticității notificărilor de plată." 141 163 142 #: payment-gateway-wc-victoriabank-mia.php: 190164 #: payment-gateway-wc-victoriabank-mia.php:220 143 165 msgid "Company Name" 144 166 msgstr "Nume companie" 145 167 146 #: payment-gateway-wc-victoriabank-mia.php:194 168 #: payment-gateway-wc-victoriabank-mia.php:223 169 msgid "Commercial name that the customer will see in the app during payment." 170 msgstr "" 171 "Denumirea comercială pe care clientul o va vedea în aplicație în timpul " 172 "plății." 173 174 #: payment-gateway-wc-victoriabank-mia.php:232 147 175 msgid "Creditor Account" 148 176 msgstr "Cont creditor" 149 177 150 #: payment-gateway-wc-victoriabank-mia.php: 196178 #: payment-gateway-wc-victoriabank-mia.php:234 151 179 msgid "IBAN" 152 180 msgstr "IBAN" 153 181 154 #: payment-gateway-wc-victoriabank-mia.php:200 182 #: payment-gateway-wc-victoriabank-mia.php:235 183 msgid "IBAN account for receiving payments." 184 msgstr "Cont IBAN pentru primirea plăților." 185 186 #: payment-gateway-wc-victoriabank-mia.php:246 155 187 msgid "Payment Notification" 156 188 msgstr "Notificare plăți" 157 189 158 #: payment-gateway-wc-victoriabank-mia.php:2 03190 #: payment-gateway-wc-victoriabank-mia.php:250 159 191 msgid "Provide this URL to the bank to enable online payment notifications." 160 192 msgstr "" … … 162 194 "online." 163 195 164 #: payment-gateway-wc-victoriabank-mia.php:2 04196 #: payment-gateway-wc-victoriabank-mia.php:251 165 197 msgid "Callback URL" 166 198 msgstr "URL apel invers (Callback URL)" 167 199 168 #: payment-gateway-wc-victoriabank-mia.php: 262200 #: payment-gateway-wc-victoriabank-mia.php:311 169 201 msgid "Unsupported store currency" 170 202 msgstr "Valuta magazinului nu este suportată" 171 203 172 #: payment-gateway-wc-victoriabank-mia.php: 264204 #: payment-gateway-wc-victoriabank-mia.php:313 173 205 msgid "Supported currencies" 174 206 msgstr "Valute suportate" 175 207 176 208 #. translators: 1: Plugin installation instructions URL 177 #: payment-gateway-wc-victoriabank-mia.php: 274209 #: payment-gateway-wc-victoriabank-mia.php:323 178 210 #, php-format 179 211 msgid "" … … 184 216 "target=\"_blank\">instrucțiuni de instalare</a>." 185 217 186 #: payment-gateway-wc-victoriabank-mia.php: 275218 #: payment-gateway-wc-victoriabank-mia.php:324 187 219 msgid "Not configured" 188 220 msgstr "Neconfigurat" 189 221 222 #. translators: 1: Field label 223 #: payment-gateway-wc-victoriabank-mia.php:342 224 #, php-format 225 msgid "%1$s field must be set." 226 msgstr "Câmpul %1$s trebuie setat." 227 228 #. translators: 1: Field label, 2: Min value, 3: Max value 229 #: payment-gateway-wc-victoriabank-mia.php:357 230 #, php-format 231 msgid "%1$s field must be an integer between %2$d and %3$d." 232 msgstr "Câmpul %1$s trebuie să fie un număr întreg între %2$d și %3$d." 233 234 #. translators: 1: Field label 235 #: payment-gateway-wc-victoriabank-mia.php:377 236 #, php-format 237 msgid "Invalid %1$s field." 238 msgstr "Câmp %1$s nevalid." 239 240 #. translators: 1: Field label 241 #: payment-gateway-wc-victoriabank-mia.php:392 242 #, php-format 243 msgid "Invalid %1$s field. Must start with MD and have 24 characters." 244 msgstr "" 245 "Câmp %1$s nevalid. Trebuie să înceapă cu MD și să aibă 24 de caractere." 246 190 247 #. translators: 1: Payment method title, 2: Plugin settings URL 191 #: payment-gateway-wc-victoriabank-mia.php: 305248 #: payment-gateway-wc-victoriabank-mia.php:441 192 249 #, php-format 193 250 msgid "" … … 199 256 200 257 #. translators: 1: Payment method title, 2: Plugin settings URL 201 #: payment-gateway-wc-victoriabank-mia.php: 312258 #: payment-gateway-wc-victoriabank-mia.php:448 202 259 #, php-format 203 260 msgid "" … … 209 266 210 267 #. translators: 1: Order ID, 2: Payment method title, 3: API response details 211 #: payment-gateway-wc-victoriabank-mia.php: 449268 #: payment-gateway-wc-victoriabank-mia.php:613 212 269 #, php-format 213 270 msgid "Order #%1$s payment initiated via %2$s: %3$s" … … 215 272 216 273 #. translators: 1: Order ID, 2: Payment method title 217 #: payment-gateway-wc-victoriabank-mia.php: 461274 #: payment-gateway-wc-victoriabank-mia.php:625 218 275 #, php-format 219 276 msgid "Order #%1$s payment initiation failed via %2$s." … … 221 278 222 279 #. translators: 1: Payment method title 223 #: payment-gateway-wc-victoriabank-mia.php: 485280 #: payment-gateway-wc-victoriabank-mia.php:649 224 281 #, php-format 225 282 msgid "%1$s Callback URL" 226 283 msgstr "%1$s Callback URL" 227 284 228 #: payment-gateway-wc-victoriabank-mia.php: 508285 #: payment-gateway-wc-victoriabank-mia.php:672 229 286 msgid "Payment notification callback" 230 287 msgstr "Notificare de plată" 231 288 232 289 #. translators: 1: QR Extension ID, 2: Payment method title 233 #: payment-gateway-wc-victoriabank-mia.php: 543290 #: payment-gateway-wc-victoriabank-mia.php:707 234 291 #, php-format 235 292 msgid "Order not found by QR Extension ID: %1$s received from %2$s." … … 237 294 238 295 #. translators: 1: Callback notification price, 2: Order total price 239 #: payment-gateway-wc-victoriabank-mia.php: 565296 #: payment-gateway-wc-victoriabank-mia.php:729 240 297 #, php-format 241 298 msgid "Order amount mismatch: Callback: %1$s, Order: %2$s." … … 243 300 244 301 #. translators: 1: Order ID 245 #: payment-gateway-wc-victoriabank-mia.php: 573302 #: payment-gateway-wc-victoriabank-mia.php:737 246 303 #, php-format 247 304 msgid "Callback order #%1$s already fully paid." … … 249 306 250 307 #. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data 251 #: payment-gateway-wc-victoriabank-mia.php: 592308 #: payment-gateway-wc-victoriabank-mia.php:756 252 309 #, php-format 253 310 msgid "Order #%1$s payment completed via %2$s: %3$s" … … 255 312 256 313 #. translators: 1: Payment method title 257 #: payment-gateway-wc-victoriabank-mia.php: 616314 #: payment-gateway-wc-victoriabank-mia.php:780 258 315 #, php-format 259 316 msgid "Partial refunds are not currently supported by %1$s." … … 261 318 262 319 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message 263 #: payment-gateway-wc-victoriabank-mia.php: 641320 #: payment-gateway-wc-victoriabank-mia.php:805 264 321 #, php-format 265 322 msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s" … … 267 324 268 325 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title 269 #: payment-gateway-wc-victoriabank-mia.php: 652326 #: payment-gateway-wc-victoriabank-mia.php:816 270 327 #, php-format 271 328 msgid "Order #%1$s refund of %2$s via %3$s approved." … … 273 330 274 331 #. translators: 1: Original message 275 #: payment-gateway-wc-victoriabank-mia.php: 716332 #: payment-gateway-wc-victoriabank-mia.php:880 276 333 #, php-format 277 334 msgid "TEST: %1$s" 278 335 msgstr "TEST: %1$s" 279 336 280 #: payment-gateway-wc-victoriabank-mia.php: 836337 #: payment-gateway-wc-victoriabank-mia.php:995 281 338 msgid "Settings" 282 339 msgstr "Setări" -
payment-gateway-wc-victoriabank-mia/trunk/languages/payment-gateway-wc-victoriabank-mia-ru_RU.po
r3423778 r3424882 4 4 msgstr "" 5 5 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce " 6 "1.0. 1\n"6 "1.0.2\n" 7 7 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-" 8 8 "wc-victoriabank-mia\n" 9 "POT-Creation-Date: 2025-12- 19 16:17+0200\n"10 "PO-Revision-Date: 2025-12- 19 16:18+0200\n"9 "POT-Creation-Date: 2025-12-21 19:55+0200\n" 10 "PO-Revision-Date: 2025-12-21 20:01+0200\n" 11 11 "Last-Translator: Alexander Minza <[email protected]>\n" 12 12 "Language-Team: \n" … … 17 17 "X-Generator: Poedit 3.8\n" 18 18 19 #. Plugin Name of the plugin 20 #: payment-gateway-wc-victoriabank-mia.php 21 msgid "Payment Gateway for Victoriabank MIA for WooCommerce" 22 msgstr "Payment Gateway for Victoriabank MIA for WooCommerce" 23 19 24 #. Description of the plugin 20 25 #: payment-gateway-wc-victoriabank-mia.php … … 24 29 msgstr "" 25 30 "Принимайте MIA мгновенные платежи прямо в своем магазине с помощью " 26 "платежного шлюза maib MIA для WooCommerce." 27 28 #: payment-gateway-wc-victoriabank-mia.php:118 31 "платежного шлюза Victoriabank MIA для WooCommerce." 32 33 #: payment-gateway-wc-victoriabank-mia.php:75 34 msgid "Accept MIA Instant Payments through Victoriabank." 35 msgstr "Принимайте MIA мгновенные платежи через Victoriabank." 36 37 #: payment-gateway-wc-victoriabank-mia.php:121 29 38 msgid "Enable/Disable" 30 39 msgstr "Включить/Выключить" 31 40 32 #: payment-gateway-wc-victoriabank-mia.php:12 041 #: payment-gateway-wc-victoriabank-mia.php:123 33 42 msgid "Enable this gateway" 34 43 msgstr "Включить платежный шлюз" 35 44 36 #: payment-gateway-wc-victoriabank-mia.php:12 445 #: payment-gateway-wc-victoriabank-mia.php:127 37 46 msgid "Title" 38 47 msgstr "Наименование" 39 48 40 #: payment-gateway-wc-victoriabank-mia.php:12 649 #: payment-gateway-wc-victoriabank-mia.php:129 41 50 msgid "Payment method title that the customer will see during checkout." 42 msgstr "Заголовок, который видит пользователь в процессе оформления заказа." 43 44 #: payment-gateway-wc-victoriabank-mia.php:131 51 msgstr "" 52 "Название способа оплаты, которое покупатель увидит при оформлении заказа." 53 54 #: payment-gateway-wc-victoriabank-mia.php:137 45 55 msgid "Description" 46 56 msgstr "Описание" 47 57 48 #: payment-gateway-wc-victoriabank-mia.php:13 358 #: payment-gateway-wc-victoriabank-mia.php:139 49 59 msgid "Payment method description that the customer will see during checkout." 50 60 msgstr "" 51 "Описание метода оплаты, которое клиент будет видеть при оформлении заказа." 52 53 #: payment-gateway-wc-victoriabank-mia.php:139 61 "Описание способа оплаты, которое покупатель увидит при оформлении заказа." 62 63 #: payment-gateway-wc-victoriabank-mia.php:141 64 msgid "" 65 "Pay instantly by scanning the QR code using your bank's mobile application." 66 msgstr "" 67 "Оплатите мгновенно, отсканировав QR-код с помощью мобильного приложения " 68 "вашего банка." 69 70 #: payment-gateway-wc-victoriabank-mia.php:145 54 71 msgid "Test mode" 55 72 msgstr "Тестовый режим" 56 73 57 #: payment-gateway-wc-victoriabank-mia.php:14 174 #: payment-gateway-wc-victoriabank-mia.php:147 58 75 msgid "Enabled" 59 76 msgstr "Включен" 60 77 61 #: payment-gateway-wc-victoriabank-mia.php:14 278 #: payment-gateway-wc-victoriabank-mia.php:148 62 79 msgid "" 63 80 "Use Test or Live bank gateway to process the payments. Disable when ready to " … … 67 84 "Отключить, когда будете готовы принимать реальные платежи." 68 85 69 #: payment-gateway-wc-victoriabank-mia.php:1 4786 #: payment-gateway-wc-victoriabank-mia.php:153 70 87 msgid "Debug mode" 71 88 msgstr "Режим отладки" 72 89 73 #: payment-gateway-wc-victoriabank-mia.php:1 4990 #: payment-gateway-wc-victoriabank-mia.php:155 74 91 msgid "Enable logging" 75 92 msgstr "Включить журналирование" 76 93 77 #: payment-gateway-wc-victoriabank-mia.php:15 194 #: payment-gateway-wc-victoriabank-mia.php:157 78 95 msgid "View logs" 79 96 msgstr "Просмотреть журналы" 80 97 81 #: payment-gateway-wc-victoriabank-mia.php:15 298 #: payment-gateway-wc-victoriabank-mia.php:158 82 99 msgid "" 83 100 "Save debug messages to the WooCommerce System Status logs. Note: this may " … … 89 106 "отладки и удалите журналы по завершению." 90 107 91 #: payment-gateway-wc-victoriabank-mia.php:1 56108 #: payment-gateway-wc-victoriabank-mia.php:162 92 109 msgid "Order description" 93 110 msgstr "Описание заказа" 94 111 95 112 #. translators: 1: Example placeholder shown to user, represents Order ID 96 #: payment-gateway-wc-victoriabank-mia.php:1 59113 #: payment-gateway-wc-victoriabank-mia.php:165 97 114 #, php-format 98 115 msgid "Format: <code>%1$s</code> - Order ID" 99 116 msgstr "Формат: <code>%1$s</code> - номер заказа" 100 117 101 #: payment-gateway-wc-victoriabank-mia.php:16 0102 msgid "Order description that the customer will see on the bank payment page."103 msgstr "" 104 "Описание заказа, которое клиент будет видеть при оплате на странице банка."105 106 #: payment-gateway-wc-victoriabank-mia.php:1 64118 #: payment-gateway-wc-victoriabank-mia.php:166 119 msgid "Order description that the customer will see in the app during payment." 120 msgstr "" 121 "Описание заказа, которое покупатель увидит в приложении во время оплаты." 122 123 #: payment-gateway-wc-victoriabank-mia.php:175 107 124 msgid "Transaction validity" 108 125 msgstr "Действительность транзакции" 109 126 110 #: payment-gateway-wc-victoriabank-mia.php:166 111 msgid "minutes" 112 msgstr "минут" 113 114 #: payment-gateway-wc-victoriabank-mia.php:171 115 #: payment-gateway-wc-victoriabank-mia.php:275 127 #. translators: 1: Transaction validity in minutes 128 #: payment-gateway-wc-victoriabank-mia.php:178 129 #, php-format 130 msgid "Default: %1$s minutes" 131 msgstr "По умолчанию: %1$s мин." 132 133 #: payment-gateway-wc-victoriabank-mia.php:179 134 msgid "QR code validity time in minutes." 135 msgstr "Время действия QR-кода в минутах." 136 137 #: payment-gateway-wc-victoriabank-mia.php:190 138 #: payment-gateway-wc-victoriabank-mia.php:324 116 139 msgid "Connection Settings" 117 140 msgstr "Настройки подключения" 118 141 119 #: payment-gateway-wc-victoriabank-mia.php:1 72142 #: payment-gateway-wc-victoriabank-mia.php:191 120 143 msgid "Payment gateway connection credentials are provided by the bank." 121 144 msgstr "" 122 145 "Учетные данные для подключения к платежному шлюзу предоставляются банком." 123 146 124 #: payment-gateway-wc-victoriabank-mia.php:1 76147 #: payment-gateway-wc-victoriabank-mia.php:195 125 148 msgid "Username" 126 149 msgstr "Логин" 127 150 128 #: payment-gateway-wc-victoriabank-mia.php: 180151 #: payment-gateway-wc-victoriabank-mia.php:202 129 152 msgid "Password" 130 153 msgstr "Пароль" 131 154 132 #: payment-gateway-wc-victoriabank-mia.php: 184155 #: payment-gateway-wc-victoriabank-mia.php:209 133 156 msgid "Certificate" 134 157 msgstr "Сертификат" 135 158 136 #: payment-gateway-wc-victoriabank-mia.php: 186159 #: payment-gateway-wc-victoriabank-mia.php:212 137 160 msgid "" 138 161 "Victoriabank Public Key Certificate to validate the authenticity of the " … … 142 165 "уведомлений о платежах." 143 166 144 #: payment-gateway-wc-victoriabank-mia.php: 190167 #: payment-gateway-wc-victoriabank-mia.php:220 145 168 msgid "Company Name" 146 169 msgstr "Название компании" 147 170 148 #: payment-gateway-wc-victoriabank-mia.php:194 171 #: payment-gateway-wc-victoriabank-mia.php:223 172 msgid "Commercial name that the customer will see in the app during payment." 173 msgstr "" 174 "Коммерческое название, которое покупатель увидит в приложении во время " 175 "оплаты." 176 177 #: payment-gateway-wc-victoriabank-mia.php:232 149 178 msgid "Creditor Account" 150 179 msgstr "Кредиторский счет" 151 180 152 #: payment-gateway-wc-victoriabank-mia.php: 196181 #: payment-gateway-wc-victoriabank-mia.php:234 153 182 msgid "IBAN" 154 183 msgstr "IBAN" 155 184 156 #: payment-gateway-wc-victoriabank-mia.php:200 185 #: payment-gateway-wc-victoriabank-mia.php:235 186 msgid "IBAN account for receiving payments." 187 msgstr "IBAN-счет для получения платежей." 188 189 #: payment-gateway-wc-victoriabank-mia.php:246 157 190 msgid "Payment Notification" 158 191 msgstr "Уведомление об оплате" 159 192 160 #: payment-gateway-wc-victoriabank-mia.php:2 03193 #: payment-gateway-wc-victoriabank-mia.php:250 161 194 msgid "Provide this URL to the bank to enable online payment notifications." 162 195 msgstr "" … … 164 197 "платежах." 165 198 166 #: payment-gateway-wc-victoriabank-mia.php:2 04199 #: payment-gateway-wc-victoriabank-mia.php:251 167 200 msgid "Callback URL" 168 201 msgstr "URL обратного вызова (Callback URL)" 169 202 170 #: payment-gateway-wc-victoriabank-mia.php: 262203 #: payment-gateway-wc-victoriabank-mia.php:311 171 204 msgid "Unsupported store currency" 172 205 msgstr "Валюта магазина не поддерживается" 173 206 174 #: payment-gateway-wc-victoriabank-mia.php: 264207 #: payment-gateway-wc-victoriabank-mia.php:313 175 208 msgid "Supported currencies" 176 209 msgstr "Поддерживаемые валюты" 177 210 178 211 #. translators: 1: Plugin installation instructions URL 179 #: payment-gateway-wc-victoriabank-mia.php: 274212 #: payment-gateway-wc-victoriabank-mia.php:323 180 213 #, php-format 181 214 msgid "" … … 186 219 "target=\"_blank\">инструкций по установке</a>." 187 220 188 #: payment-gateway-wc-victoriabank-mia.php: 275221 #: payment-gateway-wc-victoriabank-mia.php:324 189 222 msgid "Not configured" 190 223 msgstr "Не настроено" 191 224 225 #. translators: 1: Field label 226 #: payment-gateway-wc-victoriabank-mia.php:342 227 #, php-format 228 msgid "%1$s field must be set." 229 msgstr "В поле %1$s должно быть задано значение." 230 231 #. translators: 1: Field label, 2: Min value, 3: Max value 232 #: payment-gateway-wc-victoriabank-mia.php:357 233 #, php-format 234 msgid "%1$s field must be an integer between %2$d and %3$d." 235 msgstr "Поле %1$s должно быть целым числом от %2$d до %3$d." 236 237 #. translators: 1: Field label 238 #: payment-gateway-wc-victoriabank-mia.php:377 239 #, php-format 240 msgid "Invalid %1$s field." 241 msgstr "Неверное поле %1$s." 242 243 #. translators: 1: Field label 244 #: payment-gateway-wc-victoriabank-mia.php:392 245 #, php-format 246 msgid "Invalid %1$s field. Must start with MD and have 24 characters." 247 msgstr "" 248 "Недопустимое поле %1$s. Должно начинаться с MD и состоять из 24 символов." 249 192 250 #. translators: 1: Payment method title, 2: Plugin settings URL 193 #: payment-gateway-wc-victoriabank-mia.php: 305251 #: payment-gateway-wc-victoriabank-mia.php:441 194 252 #, php-format 195 253 msgid "" … … 201 259 202 260 #. translators: 1: Payment method title, 2: Plugin settings URL 203 #: payment-gateway-wc-victoriabank-mia.php: 312261 #: payment-gateway-wc-victoriabank-mia.php:448 204 262 #, php-format 205 263 msgid "" … … 211 269 212 270 #. translators: 1: Order ID, 2: Payment method title, 3: API response details 213 #: payment-gateway-wc-victoriabank-mia.php: 449271 #: payment-gateway-wc-victoriabank-mia.php:613 214 272 #, php-format 215 273 msgid "Order #%1$s payment initiated via %2$s: %3$s" … … 217 275 218 276 #. translators: 1: Order ID, 2: Payment method title 219 #: payment-gateway-wc-victoriabank-mia.php: 461277 #: payment-gateway-wc-victoriabank-mia.php:625 220 278 #, php-format 221 279 msgid "Order #%1$s payment initiation failed via %2$s." … … 223 281 224 282 #. translators: 1: Payment method title 225 #: payment-gateway-wc-victoriabank-mia.php: 485283 #: payment-gateway-wc-victoriabank-mia.php:649 226 284 #, php-format 227 285 msgid "%1$s Callback URL" 228 286 msgstr "%1$s Callback URL" 229 287 230 #: payment-gateway-wc-victoriabank-mia.php: 508288 #: payment-gateway-wc-victoriabank-mia.php:672 231 289 msgid "Payment notification callback" 232 290 msgstr "Уведомление об оплате" 233 291 234 292 #. translators: 1: QR Extension ID, 2: Payment method title 235 #: payment-gateway-wc-victoriabank-mia.php: 543293 #: payment-gateway-wc-victoriabank-mia.php:707 236 294 #, php-format 237 295 msgid "Order not found by QR Extension ID: %1$s received from %2$s." … … 239 297 240 298 #. translators: 1: Callback notification price, 2: Order total price 241 #: payment-gateway-wc-victoriabank-mia.php: 565299 #: payment-gateway-wc-victoriabank-mia.php:729 242 300 #, php-format 243 301 msgid "Order amount mismatch: Callback: %1$s, Order: %2$s." … … 245 303 246 304 #. translators: 1: Order ID 247 #: payment-gateway-wc-victoriabank-mia.php: 573305 #: payment-gateway-wc-victoriabank-mia.php:737 248 306 #, php-format 249 307 msgid "Callback order #%1$s already fully paid." … … 251 309 252 310 #. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data 253 #: payment-gateway-wc-victoriabank-mia.php: 592311 #: payment-gateway-wc-victoriabank-mia.php:756 254 312 #, php-format 255 313 msgid "Order #%1$s payment completed via %2$s: %3$s" … … 257 315 258 316 #. translators: 1: Payment method title 259 #: payment-gateway-wc-victoriabank-mia.php: 616317 #: payment-gateway-wc-victoriabank-mia.php:780 260 318 #, php-format 261 319 msgid "Partial refunds are not currently supported by %1$s." … … 263 321 264 322 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message 265 #: payment-gateway-wc-victoriabank-mia.php: 641323 #: payment-gateway-wc-victoriabank-mia.php:805 266 324 #, php-format 267 325 msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s" … … 269 327 270 328 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title 271 #: payment-gateway-wc-victoriabank-mia.php: 652329 #: payment-gateway-wc-victoriabank-mia.php:816 272 330 #, php-format 273 331 msgid "Order #%1$s refund of %2$s via %3$s approved." … … 275 333 276 334 #. translators: 1: Original message 277 #: payment-gateway-wc-victoriabank-mia.php: 716335 #: payment-gateway-wc-victoriabank-mia.php:880 278 336 #, php-format 279 337 msgid "TEST: %1$s" 280 338 msgstr "ТЕСТ: %1$s" 281 339 282 #: payment-gateway-wc-victoriabank-mia.php: 836340 #: payment-gateway-wc-victoriabank-mia.php:995 283 341 msgid "Settings" 284 342 msgstr "Настройки" -
payment-gateway-wc-victoriabank-mia/trunk/languages/payment-gateway-wc-victoriabank-mia.pot
r3423778 r3424882 4 4 msgid "" 5 5 msgstr "" 6 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce 1.0. 1\n"6 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce 1.0.2\n" 7 7 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-wc-victoriabank-mia\n" 8 "POT-Creation-Date: 2025-12- 19 16:17+0200\n"8 "POT-Creation-Date: 2025-12-21 19:55+0200\n" 9 9 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 10 10 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 15 15 "X-Generator: Poedit 3.8\n" 16 16 17 #. Plugin Name of the plugin 18 #: payment-gateway-wc-victoriabank-mia.php 19 msgid "Payment Gateway for Victoriabank MIA for WooCommerce" 20 msgstr "" 21 17 22 #. Description of the plugin 18 23 #: payment-gateway-wc-victoriabank-mia.php … … 20 25 msgstr "" 21 26 22 #: payment-gateway-wc-victoriabank-mia.php:118 27 #: payment-gateway-wc-victoriabank-mia.php:75 28 msgid "Accept MIA Instant Payments through Victoriabank." 29 msgstr "" 30 31 #: payment-gateway-wc-victoriabank-mia.php:121 23 32 msgid "Enable/Disable" 24 33 msgstr "" 25 34 26 #: payment-gateway-wc-victoriabank-mia.php:12 035 #: payment-gateway-wc-victoriabank-mia.php:123 27 36 msgid "Enable this gateway" 28 37 msgstr "" 29 38 30 #: payment-gateway-wc-victoriabank-mia.php:12 439 #: payment-gateway-wc-victoriabank-mia.php:127 31 40 msgid "Title" 32 41 msgstr "" 33 42 34 #: payment-gateway-wc-victoriabank-mia.php:12 643 #: payment-gateway-wc-victoriabank-mia.php:129 35 44 msgid "Payment method title that the customer will see during checkout." 36 45 msgstr "" 37 46 38 #: payment-gateway-wc-victoriabank-mia.php:13 147 #: payment-gateway-wc-victoriabank-mia.php:137 39 48 msgid "Description" 40 49 msgstr "" 41 50 42 #: payment-gateway-wc-victoriabank-mia.php:13 351 #: payment-gateway-wc-victoriabank-mia.php:139 43 52 msgid "Payment method description that the customer will see during checkout." 44 53 msgstr "" 45 54 46 #: payment-gateway-wc-victoriabank-mia.php:139 55 #: payment-gateway-wc-victoriabank-mia.php:141 56 msgid "Pay instantly by scanning the QR code using your bank's mobile application." 57 msgstr "" 58 59 #: payment-gateway-wc-victoriabank-mia.php:145 47 60 msgid "Test mode" 48 61 msgstr "" 49 62 50 #: payment-gateway-wc-victoriabank-mia.php:14 163 #: payment-gateway-wc-victoriabank-mia.php:147 51 64 msgid "Enabled" 52 65 msgstr "" 53 66 54 #: payment-gateway-wc-victoriabank-mia.php:14 267 #: payment-gateway-wc-victoriabank-mia.php:148 55 68 msgid "Use Test or Live bank gateway to process the payments. Disable when ready to accept live payments." 56 69 msgstr "" 57 70 58 #: payment-gateway-wc-victoriabank-mia.php:1 4771 #: payment-gateway-wc-victoriabank-mia.php:153 59 72 msgid "Debug mode" 60 73 msgstr "" 61 74 62 #: payment-gateway-wc-victoriabank-mia.php:1 4975 #: payment-gateway-wc-victoriabank-mia.php:155 63 76 msgid "Enable logging" 64 77 msgstr "" 65 78 66 #: payment-gateway-wc-victoriabank-mia.php:15 179 #: payment-gateway-wc-victoriabank-mia.php:157 67 80 msgid "View logs" 68 81 msgstr "" 69 82 70 #: payment-gateway-wc-victoriabank-mia.php:15 283 #: payment-gateway-wc-victoriabank-mia.php:158 71 84 msgid "Save debug messages to the WooCommerce System Status logs. Note: this may log personal information. Use this for debugging purposes only and delete the logs when finished." 72 85 msgstr "" 73 86 74 #: payment-gateway-wc-victoriabank-mia.php:1 5687 #: payment-gateway-wc-victoriabank-mia.php:162 75 88 msgid "Order description" 76 89 msgstr "" 77 90 78 91 #. translators: 1: Example placeholder shown to user, represents Order ID 79 #: payment-gateway-wc-victoriabank-mia.php:1 5992 #: payment-gateway-wc-victoriabank-mia.php:165 80 93 #, php-format 81 94 msgid "Format: <code>%1$s</code> - Order ID" 82 95 msgstr "" 83 96 84 #: payment-gateway-wc-victoriabank-mia.php:16 085 msgid "Order description that the customer will see on the bank payment page."86 msgstr "" 87 88 #: payment-gateway-wc-victoriabank-mia.php:1 6497 #: payment-gateway-wc-victoriabank-mia.php:166 98 msgid "Order description that the customer will see in the app during payment." 99 msgstr "" 100 101 #: payment-gateway-wc-victoriabank-mia.php:175 89 102 msgid "Transaction validity" 90 103 msgstr "" 91 104 92 #: payment-gateway-wc-victoriabank-mia.php:166 93 msgid "minutes" 94 msgstr "" 95 96 #: payment-gateway-wc-victoriabank-mia.php:171 97 #: payment-gateway-wc-victoriabank-mia.php:275 105 #. translators: 1: Transaction validity in minutes 106 #: payment-gateway-wc-victoriabank-mia.php:178 107 #, php-format 108 msgid "Default: %1$s minutes" 109 msgstr "" 110 111 #: payment-gateway-wc-victoriabank-mia.php:179 112 msgid "QR code validity time in minutes." 113 msgstr "" 114 115 #: payment-gateway-wc-victoriabank-mia.php:190 116 #: payment-gateway-wc-victoriabank-mia.php:324 98 117 msgid "Connection Settings" 99 118 msgstr "" 100 119 101 #: payment-gateway-wc-victoriabank-mia.php:1 72120 #: payment-gateway-wc-victoriabank-mia.php:191 102 121 msgid "Payment gateway connection credentials are provided by the bank." 103 122 msgstr "" 104 123 105 #: payment-gateway-wc-victoriabank-mia.php:1 76124 #: payment-gateway-wc-victoriabank-mia.php:195 106 125 msgid "Username" 107 126 msgstr "" 108 127 109 #: payment-gateway-wc-victoriabank-mia.php: 180128 #: payment-gateway-wc-victoriabank-mia.php:202 110 129 msgid "Password" 111 130 msgstr "" 112 131 113 #: payment-gateway-wc-victoriabank-mia.php: 184132 #: payment-gateway-wc-victoriabank-mia.php:209 114 133 msgid "Certificate" 115 134 msgstr "" 116 135 117 #: payment-gateway-wc-victoriabank-mia.php: 186136 #: payment-gateway-wc-victoriabank-mia.php:212 118 137 msgid "Victoriabank Public Key Certificate to validate the authenticity of the payment notifications." 119 138 msgstr "" 120 139 121 #: payment-gateway-wc-victoriabank-mia.php: 190140 #: payment-gateway-wc-victoriabank-mia.php:220 122 141 msgid "Company Name" 123 142 msgstr "" 124 143 125 #: payment-gateway-wc-victoriabank-mia.php:194 144 #: payment-gateway-wc-victoriabank-mia.php:223 145 msgid "Commercial name that the customer will see in the app during payment." 146 msgstr "" 147 148 #: payment-gateway-wc-victoriabank-mia.php:232 126 149 msgid "Creditor Account" 127 150 msgstr "" 128 151 129 #: payment-gateway-wc-victoriabank-mia.php: 196152 #: payment-gateway-wc-victoriabank-mia.php:234 130 153 msgid "IBAN" 131 154 msgstr "" 132 155 133 #: payment-gateway-wc-victoriabank-mia.php:200 156 #: payment-gateway-wc-victoriabank-mia.php:235 157 msgid "IBAN account for receiving payments." 158 msgstr "" 159 160 #: payment-gateway-wc-victoriabank-mia.php:246 134 161 msgid "Payment Notification" 135 162 msgstr "" 136 163 137 #: payment-gateway-wc-victoriabank-mia.php:2 03164 #: payment-gateway-wc-victoriabank-mia.php:250 138 165 msgid "Provide this URL to the bank to enable online payment notifications." 139 166 msgstr "" 140 167 141 #: payment-gateway-wc-victoriabank-mia.php:2 04168 #: payment-gateway-wc-victoriabank-mia.php:251 142 169 msgid "Callback URL" 143 170 msgstr "" 144 171 145 #: payment-gateway-wc-victoriabank-mia.php: 262172 #: payment-gateway-wc-victoriabank-mia.php:311 146 173 msgid "Unsupported store currency" 147 174 msgstr "" 148 175 149 #: payment-gateway-wc-victoriabank-mia.php: 264176 #: payment-gateway-wc-victoriabank-mia.php:313 150 177 msgid "Supported currencies" 151 178 msgstr "" 152 179 153 180 #. translators: 1: Plugin installation instructions URL 154 #: payment-gateway-wc-victoriabank-mia.php: 274181 #: payment-gateway-wc-victoriabank-mia.php:323 155 182 #, php-format 156 183 msgid "See plugin documentation for <a href=\"%1$s\" target=\"_blank\">installation instructions</a>." 157 184 msgstr "" 158 185 159 #: payment-gateway-wc-victoriabank-mia.php: 275186 #: payment-gateway-wc-victoriabank-mia.php:324 160 187 msgid "Not configured" 161 188 msgstr "" 162 189 190 #. translators: 1: Field label 191 #: payment-gateway-wc-victoriabank-mia.php:342 192 #, php-format 193 msgid "%1$s field must be set." 194 msgstr "" 195 196 #. translators: 1: Field label, 2: Min value, 3: Max value 197 #: payment-gateway-wc-victoriabank-mia.php:357 198 #, php-format 199 msgid "%1$s field must be an integer between %2$d and %3$d." 200 msgstr "" 201 202 #. translators: 1: Field label 203 #: payment-gateway-wc-victoriabank-mia.php:377 204 #, php-format 205 msgid "Invalid %1$s field." 206 msgstr "" 207 208 #. translators: 1: Field label 209 #: payment-gateway-wc-victoriabank-mia.php:392 210 #, php-format 211 msgid "Invalid %1$s field. Must start with MD and have 24 characters." 212 msgstr "" 213 163 214 #. translators: 1: Payment method title, 2: Plugin settings URL 164 #: payment-gateway-wc-victoriabank-mia.php: 305215 #: payment-gateway-wc-victoriabank-mia.php:441 165 216 #, php-format 166 217 msgid "%1$s is not properly configured. Verify plugin <a href=\"%2$s\">Connection Settings</a>." … … 168 219 169 220 #. translators: 1: Payment method title, 2: Plugin settings URL 170 #: payment-gateway-wc-victoriabank-mia.php: 312221 #: payment-gateway-wc-victoriabank-mia.php:448 171 222 #, php-format 172 223 msgid "See <a href=\"%2$s\">%1$s settings</a> page for log details and setup instructions." … … 174 225 175 226 #. translators: 1: Order ID, 2: Payment method title, 3: API response details 176 #: payment-gateway-wc-victoriabank-mia.php: 449227 #: payment-gateway-wc-victoriabank-mia.php:613 177 228 #, php-format 178 229 msgid "Order #%1$s payment initiated via %2$s: %3$s" … … 180 231 181 232 #. translators: 1: Order ID, 2: Payment method title 182 #: payment-gateway-wc-victoriabank-mia.php: 461233 #: payment-gateway-wc-victoriabank-mia.php:625 183 234 #, php-format 184 235 msgid "Order #%1$s payment initiation failed via %2$s." … … 186 237 187 238 #. translators: 1: Payment method title 188 #: payment-gateway-wc-victoriabank-mia.php: 485239 #: payment-gateway-wc-victoriabank-mia.php:649 189 240 #, php-format 190 241 msgid "%1$s Callback URL" 191 242 msgstr "" 192 243 193 #: payment-gateway-wc-victoriabank-mia.php: 508244 #: payment-gateway-wc-victoriabank-mia.php:672 194 245 msgid "Payment notification callback" 195 246 msgstr "" 196 247 197 248 #. translators: 1: QR Extension ID, 2: Payment method title 198 #: payment-gateway-wc-victoriabank-mia.php: 543249 #: payment-gateway-wc-victoriabank-mia.php:707 199 250 #, php-format 200 251 msgid "Order not found by QR Extension ID: %1$s received from %2$s." … … 202 253 203 254 #. translators: 1: Callback notification price, 2: Order total price 204 #: payment-gateway-wc-victoriabank-mia.php: 565255 #: payment-gateway-wc-victoriabank-mia.php:729 205 256 #, php-format 206 257 msgid "Order amount mismatch: Callback: %1$s, Order: %2$s." … … 208 259 209 260 #. translators: 1: Order ID 210 #: payment-gateway-wc-victoriabank-mia.php: 573261 #: payment-gateway-wc-victoriabank-mia.php:737 211 262 #, php-format 212 263 msgid "Callback order #%1$s already fully paid." … … 214 265 215 266 #. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data 216 #: payment-gateway-wc-victoriabank-mia.php: 592267 #: payment-gateway-wc-victoriabank-mia.php:756 217 268 #, php-format 218 269 msgid "Order #%1$s payment completed via %2$s: %3$s" … … 220 271 221 272 #. translators: 1: Payment method title 222 #: payment-gateway-wc-victoriabank-mia.php: 616273 #: payment-gateway-wc-victoriabank-mia.php:780 223 274 #, php-format 224 275 msgid "Partial refunds are not currently supported by %1$s." … … 226 277 227 278 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message 228 #: payment-gateway-wc-victoriabank-mia.php: 641279 #: payment-gateway-wc-victoriabank-mia.php:805 229 280 #, php-format 230 281 msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s" … … 232 283 233 284 #. translators: 1: Order ID, 2: Refund amount, 3: Payment method title 234 #: payment-gateway-wc-victoriabank-mia.php: 652285 #: payment-gateway-wc-victoriabank-mia.php:816 235 286 #, php-format 236 287 msgid "Order #%1$s refund of %2$s via %3$s approved." … … 238 289 239 290 #. translators: 1: Original message 240 #: payment-gateway-wc-victoriabank-mia.php: 716291 #: payment-gateway-wc-victoriabank-mia.php:880 241 292 #, php-format 242 293 msgid "TEST: %1$s" 243 294 msgstr "" 244 295 245 #: payment-gateway-wc-victoriabank-mia.php: 836296 #: payment-gateway-wc-victoriabank-mia.php:995 246 297 msgid "Settings" 247 298 msgstr "" -
payment-gateway-wc-victoriabank-mia/trunk/payment-gateway-wc-victoriabank-mia.php
r3423778 r3424882 5 5 * Description: Accept MIA Instant Payments directly on your store with the Payment Gateway for Victoriabank MIA for WooCommerce. 6 6 * Plugin URI: https://github.com/alexminza/payment-gateway-wc-victoriabank-mia 7 * Version: 1.0. 17 * Version: 1.0.2 8 8 * Author: Alexander Minza 9 9 * Author URI: https://profiles.wordpress.org/alexminza … … 38 38 { 39 39 // https://developer.woocommerce.com/docs/features/payments/payment-gateway-plugin-base/ 40 // load_plugin_textdomain('payment-gateway-wc-victoriabank-mia', false, dirname(plugin_basename(__FILE__)) . '/languages');41 42 40 if (!class_exists('WC_Payment_Gateway')) { 43 41 return; … … 48 46 //region Constants 49 47 const MOD_ID = 'victoriabank_mia'; 50 const MOD_TITLE = 'Victoriabank MIA';51 48 const MOD_PREFIX = 'victoriabank_mia_'; 52 const MOD_VERSION = '1.0. 1';49 const MOD_VERSION = '1.0.2'; 53 50 54 51 const SUPPORTED_CURRENCIES = array('MDL'); … … 62 59 63 60 const DEFAULT_TIMEOUT = 30; // seconds 64 const DEFAULT_VALIDITY = 15; // minutes 61 const DEFAULT_VALIDITY = 360; // minutes 62 const MIN_VALIDITY = 1; //minutes 63 const MAX_VALIDITY = 1440; //minutes 65 64 //endregion 66 65 … … 71 70 { 72 71 $this->id = self::MOD_ID; 73 $this->method_title = self::MOD_TITLE;74 $this->method_description = 'Payment Gateway for Victoriabank MIA';72 $this->method_title = 'Victoriabank MIA'; 73 $this->method_description = __('Accept MIA Instant Payments through Victoriabank.', 'payment-gateway-wc-victoriabank-mia'); 75 74 $this->has_fields = false; 76 75 $this->supports = array('products', 'refunds'); 77 76 78 //region Initialize user set variables 79 $this->enabled = $this->get_option('enabled', 'no'); 80 $this->title = $this->get_option('title', $this->method_title); 81 $this->description = $this->get_option('description'); 82 $this->icon = plugins_url('/assets/img/mia.svg', __FILE__); 83 84 $this->testmode = wc_string_to_bool($this->get_option('testmode', 'no')); 85 $this->debug = wc_string_to_bool($this->get_option('debug', 'no')); 86 $this->logger = new WC_Logger(null, $this->debug ? WC_Log_Levels::DEBUG : WC_Log_Levels::INFO); 77 //region Initialize settings 78 $this->init_form_fields(); 79 $this->init_settings(); 80 81 $this->enabled = $this->get_option('enabled', 'no'); 82 $this->title = $this->get_option('title', $this->method_title); 83 $this->description = $this->get_option('description'); 84 $this->icon = plugins_url('/assets/img/mia.svg', __FILE__); 85 86 $this->testmode = wc_string_to_bool($this->get_option('testmode', 'no')); 87 $this->debug = wc_string_to_bool($this->get_option('debug', 'no')); 88 $this->logger = new WC_Logger(null, $this->debug ? WC_Log_Levels::DEBUG : WC_Log_Levels::INFO); 87 89 88 90 if ($this->testmode) { … … 94 96 95 97 // https://github.com/alexminza/victoriabank-mia-sdk-php/blob/main/src/VictoriabankMia/VictoriabankMiaClient.php 96 $this->victoriabank_mia_base_url = $this->testmode ? VictoriabankMiaClient::TEST_BASE_URL : VictoriabankMiaClient::DEFAULT_BASE_URL;97 $this->victoriabank_mia_username = $this->get_option('victoriabank_mia_username');98 $this->victoriabank_mia_password = $this->get_option('victoriabank_mia_password');99 $this->victoriabank_mia_certificate = $this->get_option('victoriabank_mia_certificate');98 $this->victoriabank_mia_base_url = $this->testmode ? VictoriabankMiaClient::TEST_BASE_URL : VictoriabankMiaClient::DEFAULT_BASE_URL; 99 $this->victoriabank_mia_username = $this->get_option('victoriabank_mia_username'); 100 $this->victoriabank_mia_password = $this->get_option('victoriabank_mia_password'); 101 $this->victoriabank_mia_certificate = $this->get_option('victoriabank_mia_certificate'); 100 102 $this->victoriabank_mia_creditor_account = $this->get_option('victoriabank_mia_creditor_account'); 101 103 $this->victoriabank_mia_company_name = $this->get_option('victoriabank_mia_company_name'); 102 104 103 $this->init_form_fields();104 $this->init_settings();105 //endregion106 107 105 if (is_admin()) { 108 106 add_action("woocommerce_update_options_payment_gateways_{$this->id}", array($this, 'process_admin_options')); 109 107 } 108 //endregion 110 109 111 110 add_action("woocommerce_api_wc_{$this->id}", array($this, 'check_response')); … … 114 113 public function init_form_fields() 115 114 { 115 $blog_info_name = get_bloginfo('name'); 116 116 117 $this->form_fields = array( 117 118 'enabled' => array( … … 126 127 'description' => __('Payment method title that the customer will see during checkout.', 'payment-gateway-wc-victoriabank-mia'), 127 128 'desc_tip' => true, 128 'default' => self::MOD_TITLE, 129 'default' => $this->method_title, 130 'custom_attributes' => array( 131 'required' => 'required', 132 ), 129 133 ), 130 134 'description' => array( … … 133 137 'description' => __('Payment method description that the customer will see during checkout.', 'payment-gateway-wc-victoriabank-mia'), 134 138 'desc_tip' => true, 135 'default' => '',139 'default' => __('Pay instantly by scanning the QR code using your bank\'s mobile application.', 'payment-gateway-wc-victoriabank-mia'), 136 140 ), 137 141 … … 158 162 /* translators: 1: Example placeholder shown to user, represents Order ID */ 159 163 'description' => __('Format: <code>%1$s</code> - Order ID', 'payment-gateway-wc-victoriabank-mia'), 160 'desc_tip' => __('Order description that the customer will see on the bank payment page.', 'payment-gateway-wc-victoriabank-mia'),164 'desc_tip' => __('Order description that the customer will see in the app during payment.', 'payment-gateway-wc-victoriabank-mia'), 161 165 'default' => self::ORDER_TEMPLATE, 166 'custom_attributes' => array( 167 'required' => 'required', 168 'minlength' => 2, 169 'maxlength' => 35, 170 ), 162 171 ), 163 172 'transaction_validity' => array( 164 173 'title' => __('Transaction validity', 'payment-gateway-wc-victoriabank-mia'), 165 'type' => 'decimal', 166 'description' => __('minutes', 'payment-gateway-wc-victoriabank-mia'), 174 'type' => 'number', 175 /* translators: 1: Transaction validity in minutes */ 176 'description' => sprintf(__('Default: %1$s minutes', 'payment-gateway-wc-victoriabank-mia'), self::DEFAULT_VALIDITY), 177 'desc_tip' => __('QR code validity time in minutes.', 'payment-gateway-wc-victoriabank-mia'), 178 'custom_attributes' => array( 179 'min' => self::MIN_VALIDITY, 180 'step' => 1, 181 'max' => self::MAX_VALIDITY, 182 'required' => 'required', 183 ), 167 184 'default' => self::DEFAULT_VALIDITY, 168 185 ), … … 176 193 'title' => __('Username', 'payment-gateway-wc-victoriabank-mia'), 177 194 'type' => 'text', 195 'custom_attributes' => array( 196 'required' => 'required', 197 ), 178 198 ), 179 199 'victoriabank_mia_password' => array( 180 200 'title' => __('Password', 'payment-gateway-wc-victoriabank-mia'), 181 201 'type' => 'password', 202 'custom_attributes' => array( 203 'required' => 'required', 204 ), 182 205 ), 183 206 'victoriabank_mia_certificate' => array( 184 207 'title' => __('Certificate', 'payment-gateway-wc-victoriabank-mia'), 185 208 'type' => 'textarea', 186 'description' => __('Victoriabank Public Key Certificate to validate the authenticity of the payment notifications.', 'payment-gateway-wc-victoriabank-mia'), 187 'desc_tip' => true, 209 'description' => 'VBCA.crt', 210 'desc_tip' => __('Victoriabank Public Key Certificate to validate the authenticity of the payment notifications.', 'payment-gateway-wc-victoriabank-mia'), 211 'placeholder' => "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", 212 'class' => 'code', 213 'custom_attributes' => array( 214 'required' => 'required', 215 ), 188 216 ), 189 217 'victoriabank_mia_company_name' => array( 190 218 'title' => __('Company Name', 'payment-gateway-wc-victoriabank-mia'), 191 219 'type' => 'text', 220 'description' => $blog_info_name, 221 'desc_tip' => __('Commercial name that the customer will see in the app during payment.', 'payment-gateway-wc-victoriabank-mia'), 222 'custom_attributes' => array( 223 'required' => 'required', 224 'minlength' => 2, 225 'maxlength' => 25, 226 ), 227 'default' => $blog_info_name, 192 228 ), 193 229 'victoriabank_mia_creditor_account' => array( … … 195 231 'type' => 'text', 196 232 'description' => __('IBAN', 'payment-gateway-wc-victoriabank-mia'), 233 'desc_tip' => __('IBAN account for receiving payments.', 'payment-gateway-wc-victoriabank-mia'), 234 'placeholder' => 'MD00XX000000000000000000', 235 'custom_attributes' => array( 236 'required' => 'required', 237 'minlength' => 24, 238 'maxlength' => 24, 239 'pattern' => '^MD.*', 240 ), 197 241 ), 198 242 199 243 'payment_notification' => array( 200 244 'title' => __('Payment Notification', 'payment-gateway-wc-victoriabank-mia'), 245 'type' => 'title', 201 246 'description' => sprintf( 202 247 '%1$s<br /><br /><b>%2$s:</b> <code>%3$s</code>', … … 205 250 esc_url($this->get_callback_url()) 206 251 ), 207 'type' => 'title',208 252 ), 209 253 ); … … 245 289 } 246 290 291 //region Settings validation 247 292 protected function check_settings() 248 293 { 249 294 return !empty($this->victoriabank_mia_username) 250 295 && !empty($this->victoriabank_mia_password) 251 && !empty($this->victoriabank_mia_certificate); 296 && $this->validate_certificate($this->victoriabank_mia_certificate) 297 && !empty($this->victoriabank_mia_company_name) 298 && $this->validate_iban($this->victoriabank_mia_creditor_account); 252 299 } 253 300 … … 280 327 } 281 328 329 // https://developer.woocommerce.com/docs/extensions/settings-and-config/implementing-settings/ 330 protected function get_settings_field_label($key) 331 { 332 $form_fields = $this->get_form_fields(); 333 return $form_fields[$key]['title']; 334 } 335 336 public function validate_required_field($key, $value) 337 { 338 if (isset($value) && empty($value)) { 339 /* translators: 1: Field label */ 340 WC_Admin_Settings::add_error(sprintf(esc_html__('%1$s field must be set.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key))); 341 } 342 343 return $value; 344 } 345 346 public function validate_order_template_field($key, $value) 347 { 348 return $this->validate_required_field($key, $value); 349 } 350 351 public function validate_transaction_validity_field($key, $value) 352 { 353 if (isset($value) && !$this->validate_transaction_validity($value)) { 354 /* translators: 1: Field label, 2: Min value, 3: Max value */ 355 WC_Admin_Settings::add_error(sprintf(esc_html__('%1$s field must be an integer between %2$d and %3$d.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key), self::MIN_VALIDITY, self::MAX_VALIDITY)); 356 } 357 358 return $value; 359 } 360 361 public function validate_victoriabank_mia_username_field($key, $value) 362 { 363 return $this->validate_required_field($key, $value); 364 } 365 366 public function validate_victoriabank_mia_password_field($key, $value) 367 { 368 return $this->validate_required_field($key, $value); 369 } 370 371 public function validate_victoriabank_mia_certificate_field($key, $value) 372 { 373 if (isset($value) && !$this->validate_certificate($value)) { 374 /* translators: 1: Field label */ 375 WC_Admin_Settings::add_error(sprintf(esc_html__('Invalid %1$s field.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key))); 376 } 377 378 return $value; 379 } 380 381 public function validate_victoriabank_mia_company_name_field($key, $value) 382 { 383 return $this->validate_required_field($key, $value); 384 } 385 386 public function validate_victoriabank_mia_creditor_account_field($key, $value) 387 { 388 if (isset($value) && !$this->validate_iban($value)) { 389 /* translators: 1: Field label */ 390 WC_Admin_Settings::add_error(sprintf(esc_html__('Invalid %1$s field. Must start with MD and have 24 characters.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key))); 391 } 392 393 return $value; 394 } 395 396 protected function validate_transaction_validity($value) 397 { 398 $transaction_validity = intval($value); 399 return $transaction_validity >= self::MIN_VALIDITY 400 && $transaction_validity <= self::MAX_VALIDITY; 401 } 402 403 protected function validate_certificate($value) 404 { 405 return !empty($value) 406 && !empty(openssl_pkey_get_public($value)); 407 } 408 409 protected function validate_iban($value) 410 { 411 return !empty($value) 412 && strlen($value) === 24 413 && substr($value, 0, 2) === 'MD'; 414 } 415 282 416 protected function logs_admin_website_notice() 283 417 { … … 313 447 return $message; 314 448 } 449 //endregion 315 450 316 451 //region Victoriabank MIA … … 404 539 $auth_token = $this->victoriabank_mia_generate_token($client); 405 540 541 //region Existing QR 542 $qr_extension_id = strval($order->get_meta(self::MOD_QR_EXTENSION_ID, true)); 543 $qr_url = strval($order->get_meta(self::MOD_QR_URL, true)); 544 545 if (!empty($qr_extension_id) && !empty($qr_url)) { 546 $qr_extension_status = $client->getQrExtensionStatus($qr_extension_id, $auth_token); 547 548 if (!empty($qr_extension_status)) { 549 $qr_extension_status_value = strval($qr_extension_status['status']); 550 if (strtolower($qr_extension_status_value) === 'active') { 551 $qr_extension_status_ttl = (array) $qr_extension_status['ttl']; 552 $qr_extension_status_ttl_length = intval($qr_extension_status_ttl['length']); 553 $qr_extension_status_ttl_units = strval($qr_extension_status_ttl['units']); 554 555 $qr_extension_status_ttl_minutes = strtolower($qr_extension_status_ttl_units) === 'mm' 556 ? $qr_extension_status_ttl_length 557 : intdiv($qr_extension_status_ttl_length, 60); 558 559 if ($qr_extension_status_ttl_minutes >= intdiv($this->transaction_validity, 2)) { 560 return array( 561 'result' => 'success', 562 'redirect' => $qr_url, 563 ); 564 } 565 } 566 } 567 } 568 //endregion 569 406 570 $create_qr_response = $this->victoriabank_mia_pay( 407 571 $client, … … 420 584 $create_qr_response['qrAsImage'] = null; 421 585 } 422 423 $this->log(self::print_var($create_qr_response));424 586 } catch (Exception $ex) { 425 587 $this->log( … … 481 643 { 482 644 $request_method = isset($_SERVER['REQUEST_METHOD']) ? sanitize_text_field(wp_unslash($_SERVER['REQUEST_METHOD'])) : ''; 483 if ( $request_method === 'GET') {645 if ('GET' === $request_method) { 484 646 /* translators: 1: Payment method title */ 485 647 $message = sprintf(__('%1$s Callback URL', 'payment-gateway-wc-victoriabank-mia'), $this->method_title); 486 648 return self::return_response(WP_Http::OK, $message); 487 } elseif ( $request_method !== 'POST') {649 } elseif ('POST' !== $request_method) { 488 650 return self::return_response(WP_Http::METHOD_NOT_ALLOWED); 489 651 } … … 606 768 607 769 $order = wc_get_order($order_id); 608 $payment_reference = $order->get_meta(self::MOD_PAYMENT_REFERENCE, true);770 $payment_reference = strval($order->get_meta(self::MOD_PAYMENT_REFERENCE, true)); 609 771 $transaction_id = VictoriabankMiaClient::getPaymentTransactionId($payment_reference); 610 772 $order_total = $order->get_total(); … … 674 836 $orders = wc_get_orders($args); 675 837 $orders_count = count($orders); 676 if ( $orders_count === 1) {838 if (1 === $orders_count) { 677 839 return $orders[0]; 678 840 } elseif ($orders_count > 1) { … … 777 939 } 778 940 779 /** 780 * @param string $message 781 * @param string $level 782 * @param array $additional_context 783 */ 784 protected static function static_log($message, $level = WC_Log_Levels::DEBUG, $additional_context = null) 785 { 786 $log_context = array('source' => self::MOD_ID); 787 if (!empty($additional_context)) { 788 $log_context = array_merge($log_context, $additional_context); 789 } 790 791 $logger = wc_get_logger(); 792 $logger->log($level, $message, $log_context); 793 } 794 795 protected static function print_var($expression) 941 protected function log_var($message, $value) 942 { 943 $this->log( 944 $message, 945 WC_Log_Levels::DEBUG, 946 array( 947 'value' => self::print_var($value), 948 ) 949 ); 950 } 951 952 protected static function print_var($value) 796 953 { 797 954 // https://woocommerce.github.io/code-reference/namespaces/default.html#function_wc_print_r 798 return wc_print_r($ expression, true);955 return wc_print_r($value, true); 799 956 } 800 957 -
payment-gateway-wc-victoriabank-mia/trunk/phpcs.xml
r3423778 r3424882 13 13 <properties> 14 14 <property name="text_domain" type="array"> 15 <element value=" wc-victoriabank-mia"/>15 <element value="payment-gateway-wc-victoriabank-mia"/> 16 16 </property> 17 17 </properties> -
payment-gateway-wc-victoriabank-mia/trunk/readme.txt
r3423778 r3424882 4 4 Requires at least: 4.8 5 5 Tested up to: 6.9 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 Requires PHP: 7.2.5 8 8 License: GPLv3 or later … … 69 69 See [payment-gateway-wc-victoriabank-mia project releases on GitHub](https://github.com/alexminza/payment-gateway-wc-victoriabank-mia/releases) for details. 70 70 71 = 1.0.2 = 72 Improved QR code generation logic and settings validation. 73 71 74 = 1.0.1 = 72 75 Minor improvements. … … 77 80 == Upgrade Notice == 78 81 82 = 1.0.2 = 83 Improved QR code generation logic and settings validation. 84 79 85 = 1.0.1 = 80 86 Minor improvements.
Note: See TracChangeset
for help on using the changeset viewer.