Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

V4.2.4 Paymentwall Problem! Pls Help! Rate Topic   - - - - -

 
  • Subpower
  • Junior Member
  • Members
  • Join Date: 27-Mar 08
  • 44 posts

Posted 09 June 2016 - 10:47 AM #1

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'

 

Attached Files


Cs-Cart Türkiye Destek
0850 302 51 77

 
  • Vivek Gupta
  • Senior Member
  • Members
  • Join Date: 09-Jul 15
  • 247 posts

Posted 09 June 2016 - 10:59 AM #2

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'
  );


Vivek Gupta 
 


 
  • Subpower
  • Junior Member
  • Members
  • Join Date: 27-Mar 08
  • 44 posts

Posted 09 June 2016 - 11:19 AM #3

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


Cs-Cart Türkiye Destek
0850 302 51 77

 
  • Subpower
  • Junior Member
  • Members
  • Join Date: 27-Mar 08
  • 44 posts

Posted 09 June 2016 - 11:34 AM #4

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

 

https://www.paymentw...ion/CS-Cart/830


Cs-Cart Türkiye Destek
0850 302 51 77

 
  • Subpower
  • Junior Member
  • Members
  • Join Date: 27-Mar 08
  • 44 posts

Posted 09 June 2016 - 11:55 AM #5

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


Cs-Cart Türkiye Destek
0850 302 51 77

 
  • Vivek Gupta
  • Senior Member
  • Members
  • Join Date: 09-Jul 15
  • 247 posts

Posted 09 June 2016 - 12:28 PM #6

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

Attached Files


Vivek Gupta 
 


 
  • Subpower
  • Junior Member
  • Members
  • Join Date: 27-Mar 08
  • 44 posts

Posted 09 June 2016 - 01:01 PM #7

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.paymentw...ion/CS-Cart/830


Cs-Cart Türkiye Destek
0850 302 51 77

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19687 posts

Posted 09 June 2016 - 02:12 PM #8

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

<?php

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Vivek Gupta
  • Senior Member
  • Members
  • Join Date: 09-Jul 15
  • 247 posts

Posted 09 June 2016 - 03:42 PM #9

use this ,.... it will be work

Attached Files


Vivek Gupta 
 


 
  • Subpower
  • Junior Member
  • Members
  • Join Date: 27-Mar 08
  • 44 posts

Posted 09 June 2016 - 04:29 PM #10

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


Cs-Cart Türkiye Destek
0850 302 51 77

 
  • Subpower
  • Junior Member
  • Members
  • Join Date: 27-Mar 08
  • 44 posts

Posted 09 June 2016 - 05:21 PM #11

 @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


Cs-Cart Türkiye Destek
0850 302 51 77

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19687 posts

Posted 10 June 2016 - 06:40 AM #12

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Subpower
  • Junior Member
  • Members
  • Join Date: 27-Mar 08
  • 44 posts

Posted 22 June 2016 - 05:24 PM #13

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

 

Thanks for helping...


Cs-Cart Türkiye Destek
0850 302 51 77