Jump to content

Featured Replies

  • 1 year later...
comment_210934

I did everything possible, then i get error:
 

#1062 - Duplicate entry 'gateway__Payeer-nexus-1-0' for key 'word_key'

So I do the following:
 

INSERT INTO `core_sys_lang_words` (`word_id`, `lang_id`, `word_app`, `word_plugin`, `word_key`, `word_default`, `word_custom`, `word_default_version`, `word_custom_version`, `word_js`, `word_export`) 
VALUES  
(NULL, 1, 'nexus', NULL, 'gateway__Payeer', 'Payeer', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_MerchantURL', 'Merchant URL', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_MerchantID', 'Merchant ID', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_SecretKey', 'Secret key', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_PathLogFile', 'Path to log file', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_IPFilter', 'IP Filter', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_EmailError', 'Email for errors report', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_subject', 'Payment error', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message1', 'Failed to make the payment through Payeer for the following reasons:', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message2', ' - Do not match the digital signature', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message3', ' - The payment status is not success', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message4', ' - ip address of the server is not trusted', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message5', ' trusted ip: ', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message6', ' the ip of the current server: ', NULL, '100000', NULL, 0, 1)
ON DUPLICATE KEY UPDATE 
word_custom=VALUES(word_custom), 
word_default=VALUES(word_default);

In the DB, there are no errors (6 rows inserted. (Query took 0.0006 seconds.)

However, payment is still not listed (Invision Community v4.7.18).

I don't know what to do else.

comment_210936

I changed the file permission to 664 (payeer.php)

And updated the existing language entries for Payeer instead of trying to insert new ones:

INSERT INTO `core_sys_lang_words` (`word_id`, `lang_id`, `word_app`, `word_plugin`, `word_key`, `word_default`, `word_custom`, `word_default_version`, `word_custom_version`, `word_js`, `word_export`) 
VALUES  
(NULL, 1, 'nexus', NULL, 'gateway__Payeer', 'Payeer', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_MerchantURL', 'Merchant URL', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_MerchantID', 'Merchant ID', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_SecretKey', 'Secret key', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_PathLogFile', 'Path to log file', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_IPFilter', 'IP Filter', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_EmailError', 'Email for errors report', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_subject', 'Payment error', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message1', 'Failed to make the payment through Payeer for the following reasons:', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message2', ' - Do not match the digital signature', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message3', ' - The payment status is not success', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message4', ' - ip address of the server is not trusted', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message5', ' trusted ip: ', NULL, '100000', NULL, 0, 1), 
(NULL, 1, 'nexus', NULL, 'payeer_email_message6', ' the ip of the current server: ', NULL, '100000', NULL, 0, 1)
ON DUPLICATE KEY UPDATE 
word_custom=VALUES(word_custom), 
word_default=VALUES(word_default);

In the DB Payeer is correctly installed, I can see it in the table:

SELECT * FROM `nexus_gateways` WHERE `gw_key` = 'payeer';

However, it is still not listed in the payment methods !!!!!!!!

comment_210939

Попробуйте это ... В SQl ... ваша база данных > nexus_paymethods ... откройте и в меню выше выберите «Обновить».

UPDATE `nexus_paymethods` SET `m_id`='[value-1]',`m_gateway`='[value-2]',`m_settings`='[value-3]',`m_active`='[value-4]',`m_position`='[value-5]',`m_countries`='[value-6]',`m_validationfile`='[value-7]' WHERE 1

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.