Forums / Built-in Shipping and Payment Modules / Step 2 - Continue Checkout - Brings Blank Page

Step 2 - Continue Checkout - Brings Blank Page

Locked

Views: 1,484

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
3 Feb 2009, 11:55 PM
#1
securfocus avatar

securfocus

New Zenner

Join Date:
Dec 2008
Location:
Washington
Posts:
73
Plugin Contributions:
0

Step 2 - Continue Checkout - Brings Blank Page

Ok, so here is the issue.....

If I use a good CC # and click on Continue Checkout at the bottom, I goto the confirmation page, everything works great!

If i dont put in the CVV code, i get the javascript pop up saying CVV isnt set...so that works.

but....if I dont use a correct amount of CC #'s or use a invalid CC# I get a blank page.

error_logging doesnt catch anything, because a myDEBUG log doesnt show up in the cache, and I know it works, because the fix_cache_key produces a myDEBUG log everytime i use it...

strict error reporting doesnt show anything either, it still brings up a blank page....

anyone have any ideas? i did just move my site to a subdirectory....here is my includes/configure.php

<?php /** * dist-configure.php * * @package Configuration Settings * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $ * @private */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com define('HTTP_SERVER', 'http://securfocus.biz'); define('HTTPS_SERVER', 'https://securfocus.biz'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/products/'); define('DIR_WS_HTTPS_CATALOG', '/products/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '*********/products/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); // prefix for database table names -- preferred to be left empty define('DB_SERVER', '******.com'); define('DB_SERVER_USERNAME', '*******'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', 'sec0834412060654'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/content/s/e/c/securfocus2/html/products/cache'); ?>

if anyone has any ideas please post...im confused on this....

I added the asterisks....

4 Feb 2009, 6:04 PM
#2
securfocus avatar

securfocus

New Zenner

Join Date:
Dec 2008
Location:
Washington
Posts:
73
Plugin Contributions:
0

Re: Step 2 - Continue Checkout - Brings Blank Page

any suggestions on where i might start looking, it only happens when i get a credit card error, and only when the error produces the red box...

please help!

4 Feb 2009, 6:45 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Step 2 - Continue Checkout - Brings Blank Page

Sounds like a bug in your payment module. But, since you've given very little information to go on, it's only a guess.

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

4 Feb 2009, 8:53 PM
#4
securfocus avatar

securfocus

New Zenner

Join Date:
Dec 2008
Location:
Washington
Posts:
73
Plugin Contributions:
0

Re: Step 2 - Continue Checkout - Brings Blank Page

well unfortunately, im not getting very much feed back. The error logging isnt reporting anything. Also, the strict error reporting isnt popping anything either.

I am using the Quickbooks Payment Module, and we have been working on that for the last 3 weeks...http://www.zen-cart.com/forum/showthread.php?t=84064&page=19&highlight=quickbooks

so the files are all up to date, and im using the same files that the 3 of us have been working on....it processes payments on good CC#'s, but just doesnt pop the error on invalid CC#'s. I had CPTook check it out, and he said his is working just fine. He also stated that the error that is supposed to happen is actually drawn from the core zen files.

cc_validation.php
orders.php

I have replaced both of those files with fresh ones.

and said that it really doesnt have anything to do with the QBMS module.

So im kind of stuck in the middle here, I can't get any errors to pop to see where things are going wrong, and supposedly its the core files that drive the CC error page that comes up blank, so I dont know where to go.

Is there something I can provide you, that may give a clue as to the problem?

4 Feb 2009, 9:17 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Step 2 - Continue Checkout - Brings Blank Page

So, on your customized site, with the QBMS payment module installed, you're running into problems.

Have you tried setting up a clean new uncustomized site, and then only adding the QBMS module and testing?

If the test of a bad card produces an error that is properly displayed, then that confirms that something in your own customizations has broken it ... in which case comparing your live site files against a fresh clean uncustomized set of files will be the next course of action ... http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

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

5 Feb 2009, 12:26 AM
#6
securfocus avatar

securfocus

New Zenner

Join Date:
Dec 2008
Location:
Washington
Posts:
73
Plugin Contributions:
0

Re: Step 2 - Continue Checkout - Brings Blank Page

Ok, so I did as stated......and sure enough, the red box popped up!

I will compare my files to see if I can see anything different, but is there specific files that drives that box, that I can look at more closely.

Obviously the ones i stated earlier...

cc_validation.php
orders.php

but are there any others you could pin point?

Thank You again!!!

5 Feb 2009, 2:53 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Step 2 - Continue Checkout - Brings Blank Page

I suspect the problems are in your template files.

The cc_validation.php and orders.php files are working correctly or it wouldn't even be trying to give you an error message. Whoever pointed you to those was chasing a red herring IMO.

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

5 Feb 2009, 7:40 PM
#8
securfocus avatar

securfocus

New Zenner

Join Date:
Dec 2008
Location:
Washington
Posts:
73
Plugin Contributions:
0

Re: Step 2 - Continue Checkout - Brings Blank Page

DrByte...thank you very much for looking at this for me.

Of course being the Sensei and all you were right....it was the module. We fixed the error reporting on the module, works like a charm!

5 Feb 2009, 8:03 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Step 2 - Continue Checkout - Brings Blank Page

Glad you got it sorted!

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