Zen Cart Logo
Forums / Addon Payment Modules / Blanks page loads after clicking Confirm Order

Blanks page loads after clicking Confirm Order

Locked

Views: 1,663

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
15 Sep 2010, 6:21 PM
#1
slapface avatar

slapface

New Zenner

Join Date:
May 2010
Posts:
6
Plugin Contributions:
0

Blanks page loads after clicking Confirm Order

Not sure if this is the correct place to post this, but I have a feeling that my issue may be related to my payment module.

I am using ZenCart version 1.3.9b with a SecurePay payment module. I am able to complete transactions in both production and text mode. However the website hiccups after clicking on Conform Order and loads a blank page with the URL:

/store/index.php?main_page=checkout_process&RETURN_CODE=Y&RESPONSE_CODE=AA&AUTH_RESPONSE=Demo%20Approved,%20AVS%20=%20N,%20AppNum:%20123456&APPROV_NUM=123456&ZENID=bc276a3e2919843dfb0de9ceea7a6c71

The transaction goes through successfully and the customer receives an email conformation. But something is tripping up the page load and I can't figure out what is happening. Any ideas?

15 Sep 2010, 10:52 PM
#2
slapface avatar

slapface

New Zenner

Join Date:
May 2010
Posts:
6
Plugin Contributions:
0

Re: Blanks page loads after clicking Confirm Order

I just looked in my debug log. Any ideas?

PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/j/u/l/juliecohnarts/html/store/includes/languages/english/modules/payment/SecurePay.php:119) in /home/content/j/u/l/juliecohnarts/html/store/includes/functions/functions_general.php on line 45

15 Sep 2010, 10:56 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Blanks page loads after clicking Confirm Order

Looking up "headers already sent" in the Tutorials/FAQ section brings up this article, which explains what's wrong in your securepay language file: https://www.zen-cart.com/tutorials/index.php?article=87

.
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.

17 Sep 2010, 12:12 AM
#4
slapface avatar

slapface

New Zenner

Join Date:
May 2010
Posts:
6
Plugin Contributions:
0

Re: Blanks page loads after clicking Confirm Order

That helped! Thanks!

24 Sep 2010, 4:54 PM
#5
indigobnb avatar

indigobnb

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: Blanks page loads after clicking Confirm Order

I'm getting this same error:

[24-Sep-2010 09:34:35] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/68/6659768/html/zencart/includes/languages/english/modules/payment/SecurePay.php:114) in /home/content/68/6659768/html/zencart/includes/functions/functions_general.php on line 45

I checked the link you suggested, but there is no code at all on line 114 in the securepayp.php file

These are lines 103-117

// Other error messages

define('MODULE_PAYMENT_SECUREPAY_TEXT_ERROR_MESSAGE', 'There has been an error processing your credit card. Please try again.');

define('MODULE_PAYMENT_SECUREPAY_TEXT_GATEWAY_TIMEOUT', 'There was an error contacting the credit card processor. Please try again.');

define('MODULE_PAYMENT_SECUREPAY_TEXT_ERROR', 'There was a problem processing your Credit Card! Not-Approved.');

define('MODULE_PAYMENT_SECUREPAY_TEXT_WRONG_TYPE', 'The Credit Card Number does not match the Credit Card Type.');

?>

24 Sep 2010, 5:05 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Blanks page loads after clicking Confirm Order

See the last link I posted above.

.
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.

24 Sep 2010, 10:27 PM
#7
indigobnb avatar

indigobnb

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: Blanks page loads after clicking Confirm Order

I did. That's why I posted the code. There is nothing on line 114.

25 Sep 2010, 4:15 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Blanks page loads after clicking Confirm Order

Go back and re-read the article. Specifically the "Common Cause" section.

.
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.

27 Nov 2010, 4:05 PM
#9
indigobnb avatar

indigobnb

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: Blanks page loads after clicking Confirm Order

DrByte:

Go back and re-read the article. Specifically the "Common Cause" section.

Checked that too. There was a space in the end securepay php module, but I fixed it and I'm still getting a blank.

27 Nov 2010, 4:14 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Blanks page loads after clicking Confirm Order

What error are you getting now? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

27 Nov 2010, 6:27 PM
#11
indigobnb avatar

indigobnb

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: Blanks page loads after clicking Confirm Order

Okay, found the blank, there was a second securepay file.

27 Nov 2010, 7:33 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Blanks page loads after clicking Confirm Order

Thanks for the update that this is now working for you ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!