Search found 1633 matches

Search found 1633 matches

Re: Custom product designer... Need help!

First switch off displaying of errors. First it's a security risk. Second, even a simple PHP notice will cause JSON responses to fail, as you have found out. To stop all errors being displayed you need to do all of the following. 1. Set the PHP display_errors setting to Off (or 0 or false). This may...

Jump to post
  • Thu Feb 25, 2021 11:41 pm
  • Replies 4
  • Views 172
Re: Payment Session Problem to Success page

I hav tried. I moved session_id like this. $url_fail = $this->url ->link('extension/payment/x/fail&oid=' . $this->session->data['order_id'] . "&us=" . $this->session->getId()); $url_ok = $this->url ->link('extension/payment/x/success&oid=' . $this->session->data['order_id']. "&us=" . $this->session...

Jump to post
  • Thu Feb 25, 2021 8:29 pm
  • Replies 14
  • Views 403
Re: Payment Session Problem to Success page

If I correctly understand, you need old session_id... I don't know why, but you can add current session_id when order is placed to your return link something like this: $return_url = $this->url->link('extension/payment/your_payment_module/backToShop&order_secret=' . $this->session->getId()); and if...

Jump to post
  • Thu Feb 25, 2021 8:20 am
  • Replies 14
  • Views 403
Re: Payment Session Problem to Success page

Return with GET method. Not HTTPS, My server is HTTP. Could it be because of HTTP? Version: 3.0.3.7 PHP: 7.1 If you are not using HTTPS then SameSite=None will not work as this needs the Secure flag and that will stop the cookie being read if the connection is not secure. If you are returning with ...

Jump to post
  • Thu Feb 25, 2021 8:13 am
  • Replies 14
  • Views 403
Re: Payment Session Problem to Success page

I'm checked the console. I attached the warning content. I tried again in the link you sent. I got the same warning but this time when I go to any link, the user session has resumed. I could not understand. In other words, when I am directed to the successful page, I encounter incorrect OCSESSID, b...

Jump to post
  • Thu Feb 25, 2021 4:02 am
  • Replies 14
  • Views 403
Re: Payment Session Problem to Success page

akadirabus wrote:
Wed Feb 24, 2021 10:47 pm
I've tried it before but it didn't work.
I can't find a solution on this issue. This is the only one left. The product is ready, but we don't want to complete it without fixing this problem.
Have you used your web browser's development tools network tab, cookie inspector and error messages?

Jump to post
  • Thu Feb 25, 2021 12:47 am
  • Replies 14
  • Views 403
Re: Payment Session Problem to Success page

I am developing a payment module. I am in the final phase. OCSESSID information changes on the page where I direct the user after the payment transaction. That's why I can't access the information. This happens on an average of 40 percent of orders. I did a lot of research but could not find the so...

Jump to post
  • Wed Feb 24, 2021 7:55 pm
  • Replies 14
  • Views 403
Re: SMTP email error

Mikeinterserv, I understand what you are saying here and will double check, but I've tried numerous emails. Thank you. Thanks for help on this so far. I got some guidance from 123-reg as below, but not sure if I can implement it. Hello Derek! I am really sorry to hear that you are still facing issu...

Jump to post
  • Wed Feb 24, 2021 6:11 pm
  • Replies 21
  • Views 891
Re: Undefined index / Cannot modify header Info : Error when trying to upload Products and change Category

The "Undefined index: config_background_image_position" is the result of one of your modifications. The "Cannot modify header information - headers already sent" is because you have display error on and the above issue. This can cause two issues. First it's a security risk. Second, even a simple PHP...

Jump to post
  • Tue Feb 23, 2021 7:01 pm
  • Replies 2
  • Views 107
Re: CardConnect payment module charging customers incorrect amount

CardConnect API says. Amount with decimal or without decimal in currency minor units (for example, USD Pennies or EUR Cents). So this is the offending line. https://github.com/opencart/opencart/blob/251bb44630f9d95b31d2b1e9187b64b847231deb/upload/catalog/controller/extension/payment/cardconnect.php#...

Jump to post
  • Tue Feb 23, 2021 12:27 am
  • Replies 3
  • Views 191
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

ADD Creative did you got it to work? can you share your code and where to added it thanks. Assuming your 2 stores are something like store1.example.com and store2.example.com. Which they share the same main domain of example.com. Add the following in your PHP settings, that's in php.ini, user.ini o...

Jump to post
  • Mon Feb 22, 2021 7:44 pm
  • Replies 30
  • Views 598
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

Logged out Notice in the screenshot NOW there are 2 OCSESSID cookies and they are different and you cannot pass the first cookie to the browser on the second domain Even though you can see the cookie the first cookie it is completely ignored and overridden by the second issued by the second domain ...

Jump to post
  • Mon Feb 22, 2021 5:57 pm
  • Replies 30
  • Views 598
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

mikeinterserv none of it worked anyway lol So back to the start... there as got to be a way to do it if you can share baskets why not session its mad lol Works fine for me, maybe you still have something wrong. Inspect your cookies using your web browser development tool to see what domain it is se...

Jump to post
  • Mon Feb 22, 2021 8:22 am
  • Replies 30
  • Views 598
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

But it works perfect how iv done it lol You are setting the cookie twice. Once with the domain to whatever ini_get('session.cookie_domain') is set to and once to nothing as ini_get('session.cookie_domain = .second.mysite.com') is the same as false. Which is just nonsense. It may for your in your we...

Jump to post
  • Mon Feb 22, 2021 5:01 am
  • Replies 30
  • Views 598
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

That's wrong. You need to add it to your php.ini, user.in or some other place depending on your hosting.

Or use.

Code: Select all

setcookie($this->config->get('session_name'), $this->session->getId(), ini_get('session.cookie_lifetime'), ini_get('session.cookie_path'), '.mysite.com');

Jump to post
  • Mon Feb 22, 2021 4:38 am
  • Replies 30
  • Views 598
Re: Multi Store Same Session Once Logged In oc 3.0.3.6

You could try the following in your PHP settings. But be warned the session cookie would be accessible from mywebsite.com and all subdomains.

Code: Select all

session.cookie_domain = .mywebsite.com 

Jump to post
  • Mon Feb 22, 2021 3:47 am
  • Replies 30
  • Views 598
Re: Yandex Mail SMTP new update error

Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number in /home/ticizone/impulsmateryal.com/system/library/mail/smtp.php on line 87Warning: fsockopen(): Failed to enable crypto in /home/ticizone/impulsmateryal...

Jump to post
  • Mon Feb 22, 2021 3:23 am
  • Replies 8
  • Views 241
Re: Opencart Roadmap

Thank you for your prompt reply. Shouldn't there be a page at Opencart Blog explaining the business features for the new versions, and their expected release dates ? Regarding the current version 3 shouldn't also be a page explaining what bugs and business functions get updated, corrected, along wi...

Jump to post
  • Mon Feb 22, 2021 12:02 am
  • Replies 5
  • Views 170

Search found 1633 matches