*

MB Themes

Re: Error with 2Checkout GateWay
« Reply #15 on: November 04, 2017, 08:06:19 PM »
I understand and thanks for your patience, however it's not working on your site, you've modified scripts somehow and function for payment is created later than it is called.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Carlos Carcamo

  • ****
  • 105 posts
  • LaKompra.com
Re: Error with 2Checkout GateWay
« Reply #16 on: November 04, 2017, 09:11:21 PM »
Ok? Thank you anyway
LaKompra.com

*

MB Themes

Re: Error with 2Checkout GateWay
« Reply #17 on: November 04, 2017, 09:48:47 PM »
@Carlos
I mean fix that javascript error so I can work ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ferry

  • ****
  • 155 posts
Re: Error with 2Checkout GateWay
« Reply #18 on: November 05, 2017, 04:51:23 AM »
I did a quick test with 2CO.
Hereby my debug.log of that test:

I dont understand the ccavenua results. I dont have an ccavenue account

Line 686 of index.php is:

 
Code: [Select]
ModelOSP::newInstance()->deleteItemData($item_id);
Code: [Select]
[05-Nov-2017 04:32:11 Europe/Madrid] PHP Fatal error:  Uncaught Error: Call to undefined function osp_url() in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php:63
Stack trace:
#0 /###/public_html/oc-includes/osclass/classes/Plugins.php(148): include_once()
#1 /###/public_html/oc-includes/osclass/classes/Plugins.php(526): Plugins::loadActive()
#2 /###/public_html/oc-load.php(259): Plugins::init()
#3 /###/public_html/index.php(23): require_once('/home/###9...')
#4 {main}
  thrown in /###/public_html/oc-content/plugins/osclass_pay/index.php on line 63
[05-Nov-2017 04:34:39 Europe/Madrid] PHP Notice:  Undefined index: themes in /home/###/domains/###s.com/public_html/oc-admin/themes/modern/main/index.php on line 287
[05-Nov-2017 04:34:39 Europe/Madrid] PHP Warning:  Invalid argument supplied for foreach() in /home/###/domains/###s.com/public_html/oc-admin/themes/modern/main/index.php on line 287
[05-Nov-2017 04:34:39 Europe/Madrid] PHP Notice:  Undefined index: plugins in /home/###/domains/###s.com/public_html/oc-admin/themes/modern/main/index.php on line 290
[05-Nov-2017 04:34:39 Europe/Madrid] PHP Warning:  Invalid argument supplied for foreach() in /home/###/domains/###s.com/public_html/oc-admin/themes/modern/main/index.php on line 290
[05-Nov-2017 04:35:20 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:20 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:20 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:20 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:21 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:21 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:21 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:21 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:21 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:21 Europe/Madrid] PHP Notice:  Undefined variable: item_id in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/index.php on line 686
[05-Nov-2017 04:35:38 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 870
[05-Nov-2017 04:35:38 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 870
[05-Nov-2017 04:35:38 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 871
[05-Nov-2017 04:35:38 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 872
[05-Nov-2017 04:35:38 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 873
[05-Nov-2017 04:35:38 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 874
[05-Nov-2017 04:35:56 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 870
[05-Nov-2017 04:35:56 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 870
[05-Nov-2017 04:35:56 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 871
[05-Nov-2017 04:35:56 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 872
[05-Nov-2017 04:35:56 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 873
[05-Nov-2017 04:35:56 Europe/Madrid] PHP Notice:  Undefined variable: ccavenue_language in /home/###/domains/###s.com/public_html/oc-content/plugins/osclass_pay/admin/gateway.php on line 874

*

MB Themes

Re: Error with 2Checkout GateWay
« Reply #19 on: November 05, 2017, 12:41:08 PM »
@ferry
Thanks, I fixed both notices, however those are not related to problem with 2checkout. Problem is probably in form.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Carlos Carcamo

  • ****
  • 105 posts
  • LaKompra.com
Re: Error with 2Checkout GateWay
« Reply #20 on: November 08, 2017, 08:46:15 PM »
Sorry for bothering, but I can not stop thinking about the issue since I can not receive money from my users.

What is the best recommendation to test, if the 2co is working on localhost?

my domain lakompra.com is using https, I have the same plugins and modifications in localhost as well as lakompra.com, in localhost I'm using xampp, on my web I'm using CentOs.

If we use this table, we have the same js scripts https://varvy.com/tools/requests/ like the site https://plugins2.abprofitrade.eu
LaKompra.com

*

MB Themes

Re: Error with 2Checkout GateWay
« Reply #21 on: November 09, 2017, 09:36:58 AM »
@Carlos
Error you experience is one with receiving token (payment is not initiated yet).
You've sent me login to your ftp, however I was not able to do some testing as you have javascript errors there and 2chekout window will not open.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Carlos Carcamo

  • ****
  • 105 posts
  • LaKompra.com
Re: Error with 2Checkout GateWay
« Reply #22 on: November 09, 2017, 01:02:37 PM »
@Carlos
Error you experience is one with receiving token (payment is not initiated yet).
You've sent me login to your ftp, however I was not able to do some testing as you have javascript errors there and 2chekout window will not open.


and you will have some idea of what javascript errors may have, by mentioning the 2co window, are you talking about the popup? I can open the 2co popup.
LaKompra.com

Marked as best answer by Carlos Carcamo on November 09, 2017, 07:46:20 PM
*

MB Themes

Re: Error with 2Checkout GateWay
« Reply #23 on: November 09, 2017, 02:24:55 PM »
@Carlos
You have probably disabled it now.
Mail me to info[at]mb-themes.com to speed this up.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Carlos Carcamo

  • ****
  • 105 posts
  • LaKompra.com
Re: Error with 2Checkout GateWay
« Reply #24 on: November 09, 2017, 07:48:17 PM »
@Carlos
You have probably disabled it now.
Mail me to info[at]mb-themes.com to speed this up.

Thanks to your help we can now determine that the problem was with JS, I use cloudflare and I had activated an option to quickly enter the JS called Rocket, and disable that option and now 2CO works perfectly, thanks for your help frosticek, always effective as usual
LaKompra.com

*

MB Themes

Re: Error with 2Checkout GateWay
« Reply #25 on: November 09, 2017, 09:09:25 PM »
@Carlos
Welcome ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots