Zen Cart Logo
Forums / General Questions / Sign In, Confirm Order jumping back to homepage

Sign In, Confirm Order jumping back to homepage

Locked

Views: 4,752

Results 21 to 27 of 27
This thread is locked. New replies are disabled.
19 Jun 2006, 7:26 AM
#21
restless avatar

restless

New Zenner

Join Date:
May 2006
Posts:
45
Plugin Contributions:
0

Sign In, Confirm Order jumping back to homepage

ok found unset($_SESSION['payment']); in these files.

includes\modules\pages\checkout_confirmation\header_php.php (157)

includes\modules\pages\checkout_process\header_php.php (67)

includes\modules\payment\paypal.php (351)

I will do some more research as to the conditions it would unset it but the weird thing is When I did a Back on the browser the Order goes through fine so it's like the $_SESSION['payment'] value reappeared!

19 Jun 2006, 7:27 AM
#22
restless avatar

restless

New Zenner

Join Date:
May 2006
Posts:
45
Plugin Contributions:
0

Re: Sign In, Confirm Order jumping back to homepage

if ($credit_covers) {

unset($_SESSION['payment']);

$_SESSION['payment'] = '';

}

What is $credit_covers used for?

20 Jun 2006, 3:11 AM
#23
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Sign In, Confirm Order jumping back to homepage

restless:

What is $credit_covers used for?
It detects whether a credit note (discount, coupon, gift certificate) "covers" the cost of the item, thus requiring no need for a payment module.

Can you reproduce this problem on another server?

It seems to me that your PHP configuration (or version) is causing this problem.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Jun 2006, 12:32 AM
#24
restless avatar

restless

New Zenner

Join Date:
May 2006
Posts:
45
Plugin Contributions:
0

Re: Sign In, Confirm Order jumping back to homepage

Probably is PHP config as I've seen Session die on other domains I have on the this shared server.

Discovered the $_SESSION['payment'] is not empty in

includes/modules/pages/checkout_confirmation/header_php.php
(the confirmation page)

but is empty in

includes/modules/pages/checkout_process/header_php.php
(after clicking confirm order)

this is where it is empty so something between those 2 makes it dissapear but as it seems random I'm miffed as it why it's happening.

1 Jul 2006, 1:27 AM
#25
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Sign In, Confirm Order jumping back to homepage

hi,

i am just facing the same problem as restless yesterday! after clicking the confirm order, it will direct me to the 'shopping cart is empty' page whereby its suppose to go to the checkout success page! odd...:shocking:

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!

1 Jul 2006, 2:12 AM
#26
restless avatar

restless

New Zenner

Join Date:
May 2006
Posts:
45
Plugin Contributions:
0

Re: Sign In, Confirm Order jumping back to homepage

Have you installed any mods? i'd be interested to know

1 Jul 2006, 2:24 AM
#27
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Sign In, Confirm Order jumping back to homepage

i am still checking...

i am testing it in my local testing server! i'd just installed the Newspaper Article and Management when the error occur! there was several mods but not involving any database changes as this newspaper mod, i mean by installing the patches thru admin!

but the odd thing is when i drop the old databases and restore the original fresh install databases, the problem fix! i dont understand...

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!