V4.2.4 Paymentwall Problem! Pls Help!

Hello everyone!

I try install paymentall payment module on version 4.2.4 but living problem on installation time...

Addons have inside SQL file and cant istallation on v4.2.4 but 4.3.x working well.

Who help me about this module? (I attached module files and write bellow error message)

Thanx

----------------------------

Try admin page installation living this problem;

An error in an SQL query occurred during the add-on installation. The add-on will not be installed.
Unknown column 'addon' in 'field list' (1054): INSERT INTO cscart_payment_processors ( processor, processor_script, processor_template, admin_template, callback, type, addon ) VALUES ( 'Paymentwall', 'paymentwall.php', 'views/orders/components/payments/paymentwall.tpl', 'paymentwall.tpl', 'N', 'P', 'paymentwall' ), ( 'Brick', 'brick.php', 'views/orders/components/payments/brick.tpl', 'brick.tpl', 'Y', 'P', 'paymentwall' );



Try import sql file in phpmyadmin page living this problem;

Hata

SQL sorgusu:

INSERT INTO cscart_payment_processors (
processor,
processor_script,
processor_template,
admin_template,
callback,
type,
addon
)
VALUES
(
'Paymentwall',
'paymentwall.php',
'views/orders/components/payments/paymentwall.tpl',
'paymentwall.tpl',
'N',
'P',
'paymentwall'
),
(
'Brick',
'brick.php',
'views/orders/components/payments/brick.tpl',
'brick.tpl',
'Y',
'P',
'paymentwall'
)

MySQL çıktısı: Belgeler
#1054 - Unknown column 'addon' in 'field list'

paymentwall.zip

replace file (upload/app/addons/paymentwall/database/query.sql) content with

INSERT INTO cscart_payment_processors (
  processor,
  processor_script,
  processor_template,
  admin_template,
  callback,
  type
)
VALUES
  (
    'Paymentwall',
    'paymentwall.php',
    'views/orders/components/payments/paymentwall.tpl',
    'paymentwall.tpl',
    'N',
    'P'
  ),
  (
    'Brick',
    'brick.php',
    'views/orders/components/payments/brick.tpl',
    'brick.tpl',
    'Y',
    'P'
  );

REPLACE INTO cscart_language_values (lang_code, name, value) VALUES
(‘EN’, ‘project_key’, ‘Project Key’)
, (‘EN’, ‘widget_code’, ‘Widget Code’)
, (‘EN’, ‘secret_code’, ‘Secret Code’)
, (‘EN’, ‘pw_error_widget’, ‘Oops, something went wrong. Please try again later’)
, (‘EN’, ‘pw_redirect’, ‘This page will redirect to checkout in 3 seconds’)
, (‘EN’, ‘enable_delivery_confirmation’, ‘Enable Delivery Confirmation API’)
,
(‘EN’, ‘widget_notice’, ‘Please don't click the back button nor refresh your browser. Otherwise, the information you entered will be lost.’)
, (‘EN’, ‘public_key’, ‘Public Key’)
, (‘EN’, ‘private_key’, ‘Private Key’)
, (‘EN’, ‘test_public_key’, ‘Test Public Key’)
, (‘EN’, ‘test_private_key’, ‘Test Private Key’)

, (‘RU’, ‘project_key’, ‘Ключ проекта’)
, (‘RU’, ‘widget_code’, ‘Номер виджета’)
, (‘RU’, ‘secret_code’, ‘Секретный ключ’)
, (‘RU’, ‘pw_error_widget’, ‘Упс… Кажется что-то пошло не так, попробуйте, пожалуйста, позже.’)
, (‘RU’, ‘pw_redirect’, ‘Ð’Ñ‹ будете перенаправлены через 3 секунды…’)
, (‘RU’, ‘enable_delivery_confirmation’, ‘Включить Delivery Confirmation API’)
,
(‘RU’, ‘widget_notice’, ‘Пожалуйста, не обновляйте страницу. Иначе вся введенная вами информация будет удалена.’)
, (‘RU’, ‘private_key’, ‘Приватный ключ’)
, (‘RU’, ‘test_public_key’, ‘Тестовый публичный ключ’)
, (‘RU’, ‘test_private_key’, ‘Тестовый приватный ключ’);

changes are

INSERT INTO cscart_payment_processors (
  processor,
  processor_script,
  processor_template,
  admin_template,
  callback,
  type
)
VALUES
  (
    'Paymentwall',
    'paymentwall.php',
    'views/orders/components/payments/paymentwall.tpl',
    'paymentwall.tpl',
    'N',
    'P'
  ),
  (
    'Brick',
    'brick.php',
    'views/orders/components/payments/brick.tpl',
    'brick.tpl',
    'Y',
    'P'
  );

Hi friend thank you for helping but you say remowe

REPLACE INTO cscart_language_values (lang_code, name, value) VALUES

and bellow? Sorry i cant understan very well :(

If you attached finaly files can i saw!

THANK YOU

Friend i add but i cant sae paymentwall.tpl inside same like there

https://www.paymentwall.com/us/documentation/CS-Cart/830

I change sql but now not working vert well.... give error! Must be change files for 4.2.4 ... 4.3.x woring good but i use 4.2.4

try this & verify table prifix of the file (app/addons/paymentwall/database/query.sql)

payment_wall.zip

I try friend but not working 4.2.4... you have 4.2.4? Because give error "Opps Some think have problem!"

If you help me really i glad and pray you! This is very urgent :(

https://www.paymentwall.com/us/documentation/CS-Cart/830

app/addons/paymentwall/controllers/common/paymentwall.php

try to replace:

Tygh::$app['view']->assign('params', array(

with

Registry::get('view')->assign('params', array(

and add

use Tygh\Registry;

after this line


            

use this ,.... it will be work

upload.zip

@vivekgpt48 i upload and try files but checkout page 3nd step give INTERNAL SERVER ERROR message right top :(

@eComLabs i think @vivekgpt48 make this change on files and chec it but give internal server error!

Really i dont know paymentwall why support 4.2.4 i need so much this module :(

PLEASE HELP ME

Please PM me temporary FTP access so that we can check the issue. I do not receive INTERNAL SERVER ERROR on my local 4.2.4 installation

@eComLabs and @vivekgpt48 thanks for helping, i make re-installing and working very well!

Thanks for helping...