feat: add fiscalization settings, POST callbacks and fix callback issues
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// Heading
|
||||
$_['heading_title'] = 'PayAnyWay';
|
||||
$_['heading_title'] = 'PayAnyWay (MONETA)';
|
||||
|
||||
// Text
|
||||
$_['text_extension'] = 'Extensions';
|
||||
@@ -15,6 +15,7 @@ $_['entry_account_label'] = 'Account number';
|
||||
$_['entry_account_description'] = 'Your extended account number in the MONETA.RU system';
|
||||
$_['entry_integrity_code_label'] = 'Integrity Code';
|
||||
$_['entry_integrity_code_description'] = 'Data integrity verification code specified in the extended account settings in the MONETA.RU system';
|
||||
$_['text_integrity_code_saved'] = 'The code is saved. Leave the field empty to keep it';
|
||||
$_['entry_server_label'] = 'Payment server';
|
||||
$_['entry_server_prod_label'] = 'Production';
|
||||
$_['entry_server_demo_label'] = 'Demo';
|
||||
@@ -44,6 +45,40 @@ $_['entry_error_order_status_label'] = 'Error';
|
||||
$_['entry_geo_zone_label'] = 'Area of display';
|
||||
$_['entry_sort_order_label'] = 'Sort Order';
|
||||
|
||||
$_['entry_payment_method_label'] = 'Payment method';
|
||||
$_['entry_payment_object_label'] = 'Payment object';
|
||||
$_['entry_test_mode_label'] = 'Test mode';
|
||||
$_['entry_fiscalization_label'] = 'Receipt fiscalization';
|
||||
$_['entry_receipt_email_label'] = 'Email for receipts';
|
||||
$_['entry_canceled_order_status_label'] = 'Canceled';
|
||||
$_['entry_callback_url_label'] = 'Notification URL';
|
||||
$_['entry_payment_method_full_prepayment'] = 'Full prepayment';
|
||||
$_['entry_payment_method_prepayment'] = 'Partial prepayment';
|
||||
$_['entry_payment_method_advance'] = 'Advance';
|
||||
$_['entry_payment_method_full_payment'] = 'Full payment';
|
||||
$_['entry_payment_method_partial_payment'] = 'Partial payment and credit';
|
||||
$_['entry_payment_method_credit'] = 'Credit';
|
||||
$_['entry_payment_method_credit_payment'] = 'Credit payment';
|
||||
$_['entry_payment_object_commodity'] = 'Commodity';
|
||||
$_['entry_payment_object_excise'] = 'Excise commodity';
|
||||
$_['entry_payment_object_job'] = 'Job';
|
||||
$_['entry_payment_object_service'] = 'Service';
|
||||
$_['entry_payment_object_gambling_bet'] = 'Gambling bet';
|
||||
$_['entry_payment_object_gambling_prize'] = 'Gambling prize';
|
||||
$_['entry_payment_object_lottery'] = 'Lottery ticket';
|
||||
$_['entry_payment_object_lottery_prize'] = 'Lottery prize';
|
||||
$_['entry_payment_object_intellectual_activity'] = 'Intellectual activity';
|
||||
$_['entry_payment_object_payment'] = 'Payment (advance, deposit, prepayment, credit)';
|
||||
$_['entry_payment_object_agent_commission'] = 'Agent commission';
|
||||
$_['entry_payment_object_composite'] = 'Composite';
|
||||
$_['entry_payment_object_another'] = 'Another';
|
||||
$_['entry_payment_object_property_right'] = 'Property right';
|
||||
$_['entry_payment_object_sales_tax'] = 'Sales tax';
|
||||
$_['entry_payment_object_resort_fee'] = 'Resort fee';
|
||||
$_['entry_payment_object_award'] = 'Contribution, penalty, fine, reward, bonus';
|
||||
$_['entry_payment_object_non_operating'] = 'Non-operating income';
|
||||
$_['entry_payment_object_insurance_premium'] = 'Insurance premium';
|
||||
|
||||
// Help
|
||||
$_['help_status'] = 'Enable or disable the payment module';
|
||||
$_['help_pending_order_status'] = 'Specify the order status that is set when the order is created';
|
||||
@@ -51,12 +86,28 @@ $_['help_success_order_status'] = 'Specify the order status that is set upon suc
|
||||
$_['help_error_order_status'] = 'Specify the order status that is set upon payment error';
|
||||
$_['help_geo_zone'] = 'Geographic area where the payment method will be displayed';
|
||||
$_['help_sort_order'] = 'Determines the display order of the payment method. The smaller the number, the higher the position in the list';
|
||||
$_['help_test_mode'] = 'Simulates payments without charging. Must match the account setting in MONETA.RU';
|
||||
$_['help_fiscalization'] = 'Enable only if the kassa.payanyway.ru cash register service is connected to the account';
|
||||
$_['help_receipt_email'] = 'Required with fiscalization. Used in the receipt only when the customer has neither e-mail nor phone: the cash register does not accept a receipt without a contact, so it is sent to this address (the customer name stays in the receipt)';
|
||||
$_['help_canceled_order_status'] = 'Orders in these statuses are not paid: the module rejects the check request and the payment notification';
|
||||
$_['help_callback_url'] = 'Set this address as Check URL and Pay URL in the extended account settings';
|
||||
|
||||
// Button
|
||||
$_['button_integrity_code_toggle'] = 'Show or hide';
|
||||
$_['button_copy'] = 'Copy';
|
||||
$_['text_copied'] = 'Copied';
|
||||
|
||||
// Error
|
||||
$_['error_permission'] = 'Warning: You do not have permission to modify PayAnyWay payment method!';
|
||||
$_['error_validation'] = 'Warning: To modify the PayAnyWay payment method, you need to fill in all required fields!';
|
||||
$_['error_account'] = 'Account Number is required and must be greater than 0';
|
||||
$_['error_account'] = 'Account number is required and must contain digits only';
|
||||
$_['error_integrity_code'] = 'Account Integrity Code Required';
|
||||
$_['error_pending_order_status'] = 'Select Pending order status';
|
||||
$_['error_success_order_status'] = 'Select Success order status';
|
||||
$_['error_error_order_status'] = 'Select Error order status';
|
||||
$_['error_canceled_order_status'] = 'Pending, Success and Error order statuses cannot be among Canceled';
|
||||
$_['error_receipt_email'] = 'Enter a valid e-mail no longer than 64 characters';
|
||||
|
||||
// Warning
|
||||
$_['warning_startup_route'] = 'The PayAnyWay startup for POST notifications is not registered or is disabled: Check URL and Pay URL notifications sent by POST will not reach the module. Save the module settings (the startup will be registered) or enable <code>payanyway_post_route</code> in <a href="%s">Extensions → Startup</a>. It also releases a paid order from the customer session so that the next purchase in the same browser creates a new order.';
|
||||
$_['warning_receipt_email'] = 'Receipt fiscalization is enabled but "Email for receipts" is empty: a customer without e-mail and phone will not get a receipt. Set the address below or disable fiscalization if no cash register service is connected.';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
// Heading
|
||||
$_['heading_title'] = 'PayAnyWay';
|
||||
$_['heading_title'] = 'PayAnyWay (МОНЕТА)';
|
||||
|
||||
// Text
|
||||
$_['text_extension'] = 'Расширения';
|
||||
@@ -15,9 +15,10 @@ $_['entry_account_label'] = 'Номер счёта';
|
||||
$_['entry_account_description'] = 'Ваш номер расширенного счёта в системе MONETA.RU';
|
||||
$_['entry_integrity_code_label'] = 'Код проверки целостности данных';
|
||||
$_['entry_integrity_code_description'] = 'Код проверки целостности данных, указанный в настройках расширенного счёта в системе MONETA.RU';
|
||||
$_['text_integrity_code_saved'] = 'Код сохранён. Оставьте поле пустым, чтобы не менять его';
|
||||
$_['entry_server_label'] = 'Сервер платежей';
|
||||
$_['entry_server_prod_label'] = 'Боевой';
|
||||
$_['entry_server_demo_label'] = 'Тестовый';
|
||||
$_['entry_server_demo_label'] = 'Демо';
|
||||
|
||||
$_['entry_vat_rate_label'] = 'НДС';
|
||||
$_['entry_vat_none_label'] = 'Без НДС';
|
||||
@@ -44,6 +45,40 @@ $_['entry_error_order_status_label'] = 'Неуспешный';
|
||||
$_['entry_geo_zone_label'] = 'Регион отображения';
|
||||
$_['entry_sort_order_label'] = 'Порядок сортировки';
|
||||
|
||||
$_['entry_payment_method_label'] = 'Признак способа расчёта';
|
||||
$_['entry_payment_object_label'] = 'Признак предмета расчёта';
|
||||
$_['entry_test_mode_label'] = 'Тестовый режим';
|
||||
$_['entry_fiscalization_label'] = 'Фискализация чеков';
|
||||
$_['entry_receipt_email_label'] = 'Email для чеков';
|
||||
$_['entry_canceled_order_status_label'] = 'Отменённые';
|
||||
$_['entry_callback_url_label'] = 'URL для уведомлений';
|
||||
$_['entry_payment_method_full_prepayment'] = 'Полная предоплата';
|
||||
$_['entry_payment_method_prepayment'] = 'Частичная предоплата';
|
||||
$_['entry_payment_method_advance'] = 'Аванс';
|
||||
$_['entry_payment_method_full_payment'] = 'Полный расчёт';
|
||||
$_['entry_payment_method_partial_payment'] = 'Частичный расчёт и кредит';
|
||||
$_['entry_payment_method_credit'] = 'Передача в кредит';
|
||||
$_['entry_payment_method_credit_payment'] = 'Оплата кредита';
|
||||
$_['entry_payment_object_commodity'] = 'Товар';
|
||||
$_['entry_payment_object_excise'] = 'Подакцизный товар';
|
||||
$_['entry_payment_object_job'] = 'Работа';
|
||||
$_['entry_payment_object_service'] = 'Услуга';
|
||||
$_['entry_payment_object_gambling_bet'] = 'Ставка азартной игры';
|
||||
$_['entry_payment_object_gambling_prize'] = 'Выигрыш азартной игры';
|
||||
$_['entry_payment_object_lottery'] = 'Лотерейный билет';
|
||||
$_['entry_payment_object_lottery_prize'] = 'Выигрыш лотереи';
|
||||
$_['entry_payment_object_intellectual_activity'] = 'Результаты интеллектуальной деятельности';
|
||||
$_['entry_payment_object_payment'] = 'Платёж (аванс, задаток, предоплата, кредит)';
|
||||
$_['entry_payment_object_agent_commission'] = 'Агентское вознаграждение';
|
||||
$_['entry_payment_object_composite'] = 'Составной предмет расчёта';
|
||||
$_['entry_payment_object_another'] = 'Иной предмет расчёта';
|
||||
$_['entry_payment_object_property_right'] = 'Имущественное право';
|
||||
$_['entry_payment_object_sales_tax'] = 'Торговый сбор';
|
||||
$_['entry_payment_object_resort_fee'] = 'Курортный сбор';
|
||||
$_['entry_payment_object_award'] = 'Взнос в счёт оплаты, пени, штраф, вознаграждение, бонус';
|
||||
$_['entry_payment_object_non_operating'] = 'Внереализационный доход';
|
||||
$_['entry_payment_object_insurance_premium'] = 'Страховой сбор';
|
||||
|
||||
// Help
|
||||
$_['help_status'] = 'Включите или выключите модуль оплаты';
|
||||
$_['help_pending_order_status'] = 'Укажите статус заказа, который выставляется при его создании';
|
||||
@@ -51,12 +86,28 @@ $_['help_success_order_status'] = 'Укажите статус заказа, к
|
||||
$_['help_error_order_status'] = 'Укажите статус заказа, который выставляется при ошибке оплаты';
|
||||
$_['help_geo_zone'] = 'Географическая зона, в которой будет отображаться способ оплаты';
|
||||
$_['help_sort_order'] = 'Определяет порядок отображения платежного метода в списке методов оплаты при оформлении заказа. Чем меньше число, тем выше позиция в списке';
|
||||
$_['help_test_mode'] = 'Имитация оплаты без реального списания средств. Режим должен совпадать с настройкой счёта в MONETA.RU';
|
||||
$_['help_fiscalization'] = 'Включайте, только если к счёту подключён кассовый сервис kassa.payanyway.ru';
|
||||
$_['help_receipt_email'] = 'Обязателен при фискализации. Подставляется в чек, только если у покупателя нет ни e-mail, ни телефона: без контакта касса чек не примет, поэтому он уйдёт на этот адрес (ФИО покупателя в чеке остаётся)';
|
||||
$_['help_canceled_order_status'] = 'Заказ в этих статусах не оплачивается: на проверочный запрос и уведомление об оплате модуль отвечает отказом';
|
||||
$_['help_callback_url'] = 'Укажите этот адрес в настройках расширенного счёта как Check URL и Pay URL';
|
||||
|
||||
// Button
|
||||
$_['button_integrity_code_toggle'] = 'Показать или скрыть';
|
||||
$_['button_copy'] = 'Скопировать';
|
||||
$_['text_copied'] = 'Скопировано';
|
||||
|
||||
// Error
|
||||
$_['error_permission'] = 'Внимание: У вас нет прав на изменение платежного метода PayAnyWay!';
|
||||
$_['error_validation'] = 'Внимание: Чтобы изменить платежный метод PayAnyWay, вам необходимо заполнить все обязательные поля!';
|
||||
$_['error_account'] = 'Номер счёта обязателен';
|
||||
$_['error_account'] = 'Номер счёта обязателен и состоит только из цифр';
|
||||
$_['error_integrity_code'] = 'Код проверки целостности данных обязателен';
|
||||
$_['error_pending_order_status'] = 'Выберите статус Обрабатываемого заказа';
|
||||
$_['error_success_order_status'] = 'Выберите статус Успешного заказа';
|
||||
$_['error_error_order_status'] = 'Выберите статус Неуспешного заказа';
|
||||
$_['error_canceled_order_status'] = 'Статусы Обрабатываемого, Успешного и Неуспешного заказа не могут быть среди Отменённых';
|
||||
$_['error_receipt_email'] = 'Укажите корректный e-mail не длиннее 64 символов';
|
||||
|
||||
// Warning
|
||||
$_['warning_startup_route'] = 'Startup PayAnyWay для приёма уведомлений методом POST не зарегистрирован или выключен: Check URL и Pay URL методом POST не дойдут до модуля. Сохраните настройки модуля (startup зарегистрируется) или включите <code>payanyway_post_route</code> в <a href="%s">Расширения → Startup</a>. Он же снимает оплаченный заказ из сессии покупателя, чтобы следующая покупка в том же браузере создала новый заказ.';
|
||||
$_['warning_receipt_email'] = 'Фискализация чеков включена, а «Email для чеков» не задан: покупателю без e-mail и телефона чек не будет пробит. Укажите адрес в настройках ниже или выключите фискализацию, если кассовый сервис не подключён.';
|
||||
|
||||
Reference in New Issue
Block a user