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.';
|
||||
|
||||
Reference in New Issue
Block a user