PDA

View Full Version : Customer details


kds
5-19-05, 10:59 PM
Hi all.
Please can you help me to resolve my problem.
When the registred cusomer#1 choose a product#1 then add it to the card then sign, when hi press chekout then basket=0 and " your basket is empty" and when press continu hi is automatically logged off.
Same thing happen with registred customer#2 except card=product#1 + product#2 in the begining then 0.
When i look to customer details in admin there are no first name no last name to edit but when creating account evry things were there.
Any help please.Thanks

stevel
5-20-05, 09:47 AM
You may have a couple of different problems.

The "basket is empty" problem is caused by incorrect settings in catalog/includes/configure.php If your web site was example.com, it should have these defines:

define('HTTP_SERVER','http://example.com');
define('HTTPS_SERVER','https://examplecom.secure.powweb.com');
define('HTTP_COOKIE_DOMAIN','example.com');
define('HTTPS_COOKIE_DOMAIN','powweb.com');
define('HTTP_COOKIE_PATH','/');
define('HTTPS_COOKIE_PATH','/');
I have not mentioned other defines which aren't relevant to the problem.

The other thing to watch for is if you have a .htaccess that redirects URLs, such as if someone types in example.com and you redirect it to www.example.com. If you do this, you must make sure that the HTTP_SERVER and HTTPS_SERVER defines use the "preferred" hostname and not one that will get redirected. The symptoms if you don't follow this rule are very strange.

See if this helps - if you still have problems after fixing the above things, please describe the problem here, and if possible, give a link to your site so that we can take a look.

kds
5-21-05, 01:07 AM
Thank you very much Stevel you save me a lot of time you are helpfull.
The problem was like you defined it in configure.php
'HTTPS_COOKIE_DOMAIN', was set to 'example.com' instead of 'powweb.com

I have one other question for you. Do you know where i can get a public certificate and a private key and does Powweb offer this service, i need this for paypal-IPN.
Thanks again.

stevel
5-21-05, 07:17 AM
PowWeb does not offer this service. Several options are described in the PayPal Encrypted Payments User Guide (https://www.paypal.com/en_US/pdf/ewp_guide.pdf).

kds
5-22-05, 08:40 PM
Thank you again Stevel.
I readed the Paypal Encrypted Payments User Guide and i found this hard for now.
So on my store i desabled encrypted payments when i setup the paypal IPN.
Evry thing look like working fine.What do you thing if i let encryptology late.

stevel
5-22-05, 09:25 PM
If it were me, I would figure out how to get the encrypted payments working. My store doesn't do PayPal, so I have not done this myself.

kds
5-23-05, 10:43 AM
Many thanks Stevel