<?php

/**
 * @package JoomShopping for Joomla!
 * @subpackage payment
 * @author YooMoney
 * @copyright Copyright (C) 2025 YooMoney. All rights reserved.
 */

defined('_JEXEC') or die();

define('_JSHOP_YOO_LICENSE_TEXT',"To start operating the module, connect your store to <a target=\"_blank\" href=\"https://yookassa.ru/en/\">YooKassa</a>");
define('_JSHOP_YOO_VERSION_DESCRIPTION','Module version ');

define('_JSHOP_YOO_TAB_MONEY', 'YooMoney');
define('_JSHOP_YOO_TAB_KASSA', 'YooKassa');

define('_JSHOP_YOO_KASSA_ON', 'Enable payment acceptance via YooKassa');
define('_JSHOP_YOO_KASSA_HELP_CHECKURL', 'Only required if YooKassa\'s specialists ask for it');

define('_JSHOP_YOO_KASSA_HEAD_LK', 'Link your website on Joomla to your store in YooMoney');
define('_JSHOP_YOO_KASSA_SHOP_ID_LABEL', 'shopId');
define('_JSHOP_YOO_KASSA_SHOP_ID_DESCRIPTION', 'Copy your shopId from your YooKassa Merchant Profile');
define('_JSHOP_YOO_KASSA_PASSWORD_LABEL', 'Secret key');
define('_JSHOP_YOO_KASSA_PASSWORD_DESCRIPTION', 'Issue and activate a secret key under your YooKassa\'s Merchant Profile. Then copy it here.');

define('_JSHOP_YOO_KASSA_PAYMODE_HEAD', 'Check the preferable scenario of selecting the payment method');
define('_JSHOP_YOO_KASSA_PAYMODE_LABEL', 'Select payment method');
define('_JSHOP_YOO_KASSA_SEND_RECEIPT_LABEL', 'Transmit details for receipts to YooKassa (Federal Law 54-FZ)');
define('_JSHOP_YOO_KASSA_PAYMODE_KASSA', 'On YooKassa\'s site');
define('_JSHOP_YOO_KASSA_PAYMODE_SHOP', 'On the store\'s site');
define('_JSHOP_YOO_KASSA_PAYMODE_LINK', '<a href=\'https://yookassa.ru/docs/payment-solution/payments/payment-form/basics\' target=\'_blank\'>More about payment scenarios</a>');
define('_JSHOP_YOO_KASSA_SELECT_TEXT', 'Check payment methods from the contract');
define('_JSHOP_YOO_KASSA_CREDENTIALS_ERROR', 'Such secret key does not exist. If you are sure you copied the key correctly, this means it does not work for some reason. Issue and activate the key again <a href="https://yookassa.ru/my" target="_blank">under your Merchant Profile</a>');
define('_JSHOP_YOO_KASSA_TEST_WARNING', 'You have enabled the test mode. Check the payment making process. <a href="https://yookassa.ru/docs/support/payments/onboarding/integration#api__04" target="_blank">Learn more</a>');
define('_JSHOP_YOO_DESCRIPTION_TITLE', 'Transaction data');
define('_JSHOP_YOO_DESCRIPTION_DEFAULT_PLACEHOLDER', 'Payment for order No. %order_id%');
define('_JSHOP_YOO_ENABLE_HOLD_MODE', 'Enable payment holding');
define('_JSHOP_YOO_ENABLE_HOLD_MODE_HELP', 'If the option is enabled, payments are processed in two steps: first, the required amount is blocked on the customer’s card, and then you need to manually capture it via the administrator’s dashboard. <a href="https://yookassa.ru/features-pre-authorisation.html" target="_blank">Learn more at</a>');
define('_JSHOP_YOO_HOLD_MODE_STATUSES', 'What status should be assigned to an order if it is:');
define('_JSHOP_YOO_HOLD_MODE_ON_HOLD_STATUS', 'waiting for capture');
define('_JSHOP_YOO_HOLD_MODE_ON_HOLD_STATUS_HELP', 'the order status will be changed to this one after the funds are credited, until the store\'s operator either captures or cancels the payment');
define('_JSHOP_YOO_HOLD_MODE_CANCEL_STATUS', 'canceled');
define('_JSHOP_YOO_HOLD_MODE_CANCEL_STATUS_HELP', 'the order status will be changed to this one after the payment is canceled');
define('_JSHOP_YOO_HOLD_MODE_COMMENT_ON_HOLD', 'New payment received. Capture until %1$s, after that date it will be automatically canceled');
define('_JSHOP_YOO_HOLD_MODE_CAPTURE_PAYMENT_SUCCESS', 'You\'ve captured a payment in YooKassa. ');
define('_JSHOP_YOO_HOLD_MODE_CAPTURE_PAYMENT_FAIL', 'Payment wasn\'t captured. Please try again.');
define('_JSHOP_YOO_HOLD_MODE_CANCEL_PAYMENT_SUCCESS', 'You\'ve canceled a payment in YooMoney for business.  Money will be returned to the user.');
define('_JSHOP_YOO_HOLD_MODE_CANCEL_PAYMENT_FAIL', 'Payment wasn\'t canceled. Please try again.');
define('_JSHOP_YOO_DESCRIPTION_HELP', 'Full description of the transaction that the user will see during the checkout process. You can find it in your YooKassa Merchant Profile. For example, "Payment for order No. 72 by user@yoomoney.ru". Limitations: no more than 128 symbols.');
define('_JSHOP_YOO_METHOD_YOO_MONEY_DESCRIPTION', 'YooMoney');
define('_JSHOP_YOO_METHOD_CARDS_DESCRIPTION', 'Bank cards');
define('_JSHOP_YOO_METHOD_BANK_CARD_DESCRIPTION', 'Bank cards');
define('_JSHOP_YOO_METHOD_CASH_DESCRIPTION', 'Cash via payment kiosks');
define('_JSHOP_YOO_METHOD_MOBILE_BALANCE_DESCRIPTION', 'Direct carrier billing');
define('_JSHOP_YOO_METHOD_SBERBANK_DESCRIPTION', 'SberPay');
define('_JSHOP_YOO_METHOD_MA_DESCRIPTION', 'MasterPass');
define('_JSHOP_YOO_METHOD_PB_DESCRIPTION', 'Promsvyazbank');
define('_JSHOP_YOO_METHOD_MP_DESCRIPTION', 'Mobile payment kiosk');

define('_JSHOP_YOO_KASSA_MPOS_LABEL', 'Success page for the Payment by Card on Delivery method');
define('_JSHOP_YOO_KASSA_MPOS_HELP', 'This page contains delivery information. Specify the terms of the delivery and the payment here');

define('_JSHOP_YOO_MONEY_REDIRECT_HELP', "Copy this link to the Redirect URL field at the <a href='https://yoomoney.ru/myservices/online.xml' target='_blank'>notifications settings page</a>.");

define('_JSHOP_YOO_MONEY_SET_HEAD', 'Payment acceptance settings');
define('_JSHOP_YOO_MONEY_PSW', 'Codeword');

define('_JSHOP_YOO_MONEY_SELECT_HEAD', 'Check the preferable scenario of selecting the payment method');
define('_JSHOP_YOO_MONEY_SELECT_LABEL', 'Select payment method');
define('_JSHOP_YOO_METHOD_YM2_DESCRIPTION', 'YooMoney');
define('_JSHOP_YOO_METHOD_CARDS2_DESCRIPTION', 'Bank cards');

define('_JSHOP_YOO_COMMON_HEAD', 'Additional settings for administrator');
define('_JSHOP_YOO_COMMON_STATUS', 'Order status after the payment');

define('_JSHOP_YOO_PAYMENTS_STATUS_LABEL', 'Order status');
define('_JSHOP_YOO_PAYMENTS_STATUS_INFO', 'The status should indicate that the result of the payment is unknown: you can only find out if the customer paid or not by checking the notification sent to your email or by contacting your bank.');
define('_JSHOP_YOO_PAYMENTS_FIO_LABEL', 'Payer\'s full name');
define('_JSHOP_YOO_PAYMENTS_CONFIRM_LABEL', 'Next');
define('_JSHOP_YOO_PAYMENTS_EMPTY_NAME_ERROR', 'Payer\'s full name is empty');
define('_JSHOP_YOO_PAYMENTS_INVALID_NAME_ERROR', 'The payer\'s name should consist of the first, middle, and last name, separated by spaces');

// версия 2.х
define('_JSHOP_YOO_LICENSE','License agreement:');
define('_JSHOP_YOO_LICENSE_TEXT2',"<p>By using this program in any way, you fully and unconditionally accept the terms of the license agreement as posted at <a href=\"https://yoomoney.ru/doc.xml?id=527132\"> https://yoomoney.ru/doc.xml?id=527132 </a>(hereinafter referred to \"license agreement\"). If you do not accept any part of the terms of the license agreement, you are forbidden to use the program for any purpose.</p>");
define('_JSHOP_YOO_TESTMODE_DESCRIPTION', 'Enable test mode');
define('_JSHOP_YOO_MODE_DESCRIPTION', 'Payment acceptance settings');
define('_JSHOP_YOO_MODE1_DESCRIPTION', 'YooMoney');
define('_JSHOP_YOO_MODE2_DESCRIPTION', 'YooMoney for business (On the store\'s site)');
define('_JSHOP_YOO_MODE3_DESCRIPTION', 'YooMoney for business (On YooMoney for business\'s site)');
define('_JSHOP_YOO_REG_IND', 'If you don\'t have a YooMoney account, register here - <a href="https://yoomoney.ru/" target="_blank">https://yoomoney.ru/</a><br/><b>IMPORTANT!</b> Copy this link to the Redirect URL field at the <a href=\'https://yoomoney.ru/myservices/online.xml\' target=\'_blank\'>notifications settings page</a>.');

define('_JSHOP_YOO_REG_ORG', "To start operating the module, connect your store to <a target=\"_blank\" href=\"https://yookassa.ru/en/\">YooMoney for business</a>. Shop ID, scid, ShopPassword can be found in the <a href='https://yookassa.ru/my' target='_blank'>Merchant Profile</a> after the onboarding process.");
define('_JSHOP_YOO_METHODS_DESCRIPTION', 'Select payment method');
define('_JSHOP_YOO_PASSWORD', 'Specify shopPassword:');
define('_JSHOP_YOO_SHOPID', 'Specify shopId:');
define('_JSHOP_YOO_SCID', 'Specify scid:');
define('_JSHOP_YOO_PARAM', 'Parameter name');
define('_JSHOP_YOO_VALUE', 'Value');
define('_JSHOP_YOO_RETURNURL', 'Dynamic');
define('_JSHOP_YOO_ACCOUNT_DESCRIPTION', 'Wallet number:');

define('_JSHOP_YOO_PAY', 'Pay!');
define('_JSHOP_YOO_TRANSACTION_END', 'Order status after the payment');
define('_JSHOP_YOO_TEXT_MPOS', 'Success page for the Payment by Card on Delivery method');

//updater
define('_JSHOP_YOO_UPDATER_ERROR_RESTORE', 'Unable to restore the data from the backup. ');
define('_JSHOP_YOO_UPDATER_SUCCESS_MESSAGE', 'Module successfully installed ');
define('_JSHOP_YOO_UPDATER_ERROR_REMOVE', 'Unable to delete backup %s.');
define('_JSHOP_YOO_ERROR_BACKUP_NOT_FOUND', 'Unable to delete backup %s.');
define('_JSHOP_YOO_ERROR_REMOVE_BACKUP', 'Unable to delete backup %s.');
define('_JSHOP_YOO_SUCCESS_REMOVE_BECKUP', 'Backup %s successfully deleted');
define('_JSHOP_YOO_SUCCESS_UPDATE_VERSION', 'Module version %s successfully downloaded and installed');
define('_JSHOP_YOO_ERROR_UNPACK_NEW_VERSION', 'Unable to extract archive %s. More about the error in <a href="%s">module\'s logs</a>');
define('_JSHOP_YOO_ERROR_CREATE_BACKUP', 'Unable to create a backup copy of the installed module version. More about the error in <a href="%s">module\'s logs</a>');
define('_JSHOP_YOO_ERROR_DOWNLOAD_NEW_VERSION', 'Unable to load the archive, please try again. More about the error in <a href="%s">module\'s logs</a>');
define('_JSHOP_YOO_FAILED_CREATE_DIRECTORY', 'Unable to create directory ');
define('_JSHOP_YOO_FAILED_DOWNLOAD_UPDATE', 'Unable to load the archive with the update');
define('_JSHOP_YOO_UPDATER_HEADER_TEXT', ' New module versions with added features and fixed errors will appear here. Click the Update button to install the latest module version.');
define('_JSHOP_YOO_UPDATER_ABOUT', 'About the module:');
define('_JSHOP_YOO_UPDATER_CURRENT_VERSION', 'Current module version —');
define('_JSHOP_YOO_UPDATER_LAST_VERSION', 'Latest available module version —');
define('_JSHOP_YOO_UPDATER_LAST_CHECK', 'Date of the last check for updates —');
define('_JSHOP_YOO_UPDATER_CHECK', 'Check for updates');
define('_JSHOP_YOO_HISTORY_LABEL', 'Changelog:');
define('_JSHOP_YOO_UPDATE_LABEL', 'Update module');
define('_JSHOP_YOO_INSTALL_MESSAGE', 'You have the latest module version installed.');
define('_JSHOP_YOO_BACKUPS_LABEL', 'Backups');
define('_JSHOP_YOO_MODULE_VERSION_LABEL', 'Module version');
define('_JSHOP_YOO_BACKUP_DATE_CREATE', 'Creation date');
define('_JSHOP_YOO_BACKUP_FILE_NAME', 'File name');
define('_JSHOP_YOO_BACKUP_FILE_SIZE', 'File size');
define('_JSHOP_YOO_UPDATER_RESTORE', 'Restore');
define('_JSHOP_YOO_UPDATER_DELETE', 'Remove');
define('_JSHOP_YOO_UPDATER_APPROVE_ACTION_MESSAGE', 'Do you really want to update module?');
define('_JSHOP_YOO_UPDATER_APPROVE_DELETE_MESSAGE', 'Do you really want to delete the backup copy of this module version ');
define('_JSHOP_YOO_UPDATER_APPROVE_RESTORE_MESSAGE', 'Do you really want to restore the module from the backup copy of this version');
define('_JSHOP_YOO_UPDATER_TEXT_HEADER', 'Module updates');
define('_JSHOP_YOO_UPDATER_ABOUT_TEXT', 'New module versions with added features and fixed errors will appear here. Click the Update button to install the latest module version.');
define('_JSHOP_YOO_UPDATER_DISABLED_TEXT', 'Unfortunately, the module update option is unavailable');
define('_JSHOP_YOO_UPDATER_CAUSE_ZIP_CURL', 'because the <strong>"zip"</strong> and <strong>"curl"</strong> extensions are not installed.');
define('_JSHOP_YOO_UPDATER_CAUSE_ZIP', 'because the <strong>"zip"</strong> extension is not installed.');
define('_JSHOP_YOO_UPDATER_CAUSE_CURL', 'because the <strong>"curl"</strong> extension is not installed.');



define('_JSHOP_YOO_WAITING_FOR_CAPTURE', 'Waiting for capture');
define('_JSHOP_YOO_CAPTURE_FAILED', 'Capture failed');
define('_JSHOP_YOO_PAYMENT_CAPTURED', 'Payment captured');
define('_JSHOP_YOO_PAYMENT_CAPTURED_TEXT', 'Payment %s captured');
define('_JSHOP_YOO_ERROR_MESSAGE_CREATE_PAYMENT', 'Unable to create the payment, choose another payment method.');
define('_JSHOP_YOO_FILL_PHONE_MESSAGE', 'Specify phone number');
define('_JSHOP_YOO_ENABLE', 'Enable');
define('_JSHOP_YOO_DISABLE', 'Disable');
define('_JSHOP_YOO_DEFAULT_TAX_LABEL', 'Default rate');
define('_JSHOP_YOO_DEFAULT_TAX_DESCRIPTION', 'The default rate applies if another rate is not set on the product\'s page.');
define('_JSHOP_YOO_TAX_RATES_LABEL', 'Compare rates');
define('_JSHOP_YOO_TAX_IN_MODULE', 'Rate at your store');
define('_JSHOP_YOO_TAX_FOR_CHECKOUT', 'Rate for the receipt to the tax service');
define('_JSHOP_YOO_WITHOUT_VAT', 'Without VAT');
define('_JSHOP_YOO_VAT_10_100', 'Applicable rate 10/110');
define('_JSHOP_YOO_VAT_18_118', 'Applicable rate 18/118');
define('_JSHOP_YOO_NOTIFICATION_URL_LABEL', 'Address for notifications');
define('_JSHOP_YOO_NOTIFICATION_URL_HELP_TEXT', 'Only required if YooMoney for business\'s specialists ask for it');
define('_JSHOP_YOO_LOG_VIEW_LABEL', 'View logs');
define('_JSHOP_YOO_CLEAR_LOGS', 'Clear logs');
define('_JSHOP_YOO_CLOSE', 'Close');
define('_JSHOP_YOO_LOGS_LABEL', 'Logs');

define('_JSHOP_YOO_TAB_UPDATE', 'Module update');
define('_JSHOP_YOO_SBBOL_HELP_TEXT', 'There is a restriction for payments via Sberbank Business Online: one receipt can only contain products with the same VAT rate. If the client wants to pay for products with different VAT rates at the same time, we will show him the message explaining that it\'s not possible.');
define('_JSHOP_YOO_SBBOL_HEAD', 'For payments via Sberbank Business Online to work, the store must be connected to <a href="https://yookassa.ru/">ЮKassa</a>');
define('_JSHOP_YOO_SBBOL_TAX_RATES_HEAD', 'Compare the VAT rates in your store with the rates for Sberbank Business Online');

define('_JSHOP_YOO_SBBOL_WITHOUT_VAT', 'Without VAT');
define('_JSHOP_YOO_SBBOL_VAT_5', '5%');
define('_JSHOP_YOO_SBBOL_VAT_7', '7%');
define('_JSHOP_YOO_SBBOL_VAT_10', '10%');
define('_JSHOP_YOO_SBBOL_VAT_18', '18%');
define('_JSHOP_YOO_SBBOL_VAT_20', '20%');
define('_JSHOP_YOO_SBBOL_VAT_22', '22%');

define('_JSHOP_YOO_SBBOL_TAX_INFORMER', 'In order to comply with the Federal Law No. 54-FZ, you must change the 20% rate to 22% before January 1, so that it is applied to all new payments. If you don\'t change the rate, you might get questions and fines from the Federal Tax Service, and you will have to manually correct the transactions');
