31
General Support / How to set cookie domain
« on: November 08, 2016, 08:13:56 AM »
For some reason, credit card data is not passing to my language subdomains (which are hosted by a company other than my web host). The company explained that I need to set cookie domain so the data transfers from mydomain.com to mysubdomain.com. My coder says I cannot simply change the url to a relative one because it is generated with built-in function: https://github.com/abantecart/abantecart-src/blob/master/public_html/extensions/default_authorizenet_aim/storefront/view/default/template/responses/default_authorizenet_aim.tpl#L88 According to him, this function generates the URL based on server configuration: https://github.com/abantecart/abantecart-src/blob/master/public_html/core/engine/html.php#L179
I posted a question the other day in this forum and one of the core developers suggested replacing "null" on line 364 with my domain name. I tried this, but it didn't work: https://github.com/abantecart/abantecart-src/blob/master/public_html/core/engine/language.php#L364
How can I set cookie domain in AbanteCart? Any help will be greatly appreciated.
I posted a question the other day in this forum and one of the core developers suggested replacing "null" on line 364 with my domain name. I tried this, but it didn't work: https://github.com/abantecart/abantecart-src/blob/master/public_html/core/engine/language.php#L364
How can I set cookie domain in AbanteCart? Any help will be greatly appreciated.