Zen Cart Logo
Forums / PayPal Express Checkout support / Blank page with express check out

Blank page with express check out

Locked

Views: 6,787

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
27 Jun 2012, 1:28 AM
#1
x31b avatar

x31b

New Zenner

Join Date:
Jun 2012
Posts:
8
Plugin Contributions:
0

Blank page with express check out

Version 1.5.0
New Install
Installed through Host Monster
https://www.pursuitbaits.com

New here guys. Used Zen Cart way back when but we're getting back to it. I've set up Express Checkout. The problem i'm having is when going through the ordering process, when I get to the "Confirm The Order" button nothing happens. I click on the button, and the status says "Waiting on Paypal" then goes blank, and I can't check out. This is in Chrome. When I try in Firefox, it goes to a white/blank page. I've had a customer test in both Chrome and Firefox and he has found the same problem. I've searched the forums for the last 3-4 hours but haven't found a solution to my problem. Any help is greatly appreciated. If i'm missing something that is helpful, let me know and i'll try to get the answer!

27 Jun 2012, 9:25 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Blank page with express check out

Any error log files in your /cache folder ?
http://www.zen-cart.com/content.php?124-blank-page

27 Jun 2012, 12:08 PM
#3
x31b avatar

x31b

New Zenner

Join Date:
Jun 2012
Posts:
8
Plugin Contributions:
0

Re: Blank page with express check out

Steve thanks for your reply. Where is this folder located so I can find it. I changed the debug mode to log and email. I placed an order on the site and it went through this morning but I got approx. 10 emails with logs. I tried again to place and order and received the same problem as my initial post. Just wanted to provide an update.

27 Jun 2012, 10:47 PM
#4
x31b avatar

x31b

New Zenner

Join Date:
Jun 2012
Posts:
8
Plugin Contributions:
0

Re: Blank page with express check out

Here is what I found in the Cache:

[27-Jun-2012 16:43:00] PHP Fatal error: 1062:Duplicate entry 'zc_9b41e5ce79b3ea0cb51c3c6e45a797e8' for key 'PRIMARY' :: insert into znc_db_cache set cache_entry_name = 'zc_9b41e5ce79b3ea0cb51c3c6e45a797e8',
cache_data = 'YTo1OntpOjA7YTo0OntzOjEzOiJjYXRlZ29yaWVzX2lkIjtzOjI6IjcwIjtzOjE1OiJjYXRlZ29yaWVzX25hbWUiO3M6MTk6IjEvMm96LiBTcGlubmVyYmFpdHMiO3M6OToicGFyZW50X2lkIjtzOjE6IjAiO3M6MTY6ImNhdGVnb3JpZXNfaW1hZ2UiO047fWk6MTthOjQ6e3M6MTM6ImNhdGVnb3JpZXNfaWQiO3M6MjoiNjYiO3M6MTU6ImNhdGVnb3JpZXNfbmFtZSI7czoyMDoiMy84IG96LiBTcGlubmVyYmFpdHMiO3M6OToicGFyZW50X2lkIjtzOjE6IjAiO3M6MTY6ImNhdGVnb3JpZXNfaW1hZ2UiO047fWk6MjthOjQ6e3M6MTM6ImNhdGVnb3JpZXNfaWQiO3M6MjoiNjciO3M6MTU6ImNhdGVnb3JpZXNfbmFtZSI7czo0OiJKaWdzIjtzOjk6InBhcmVudF9pZCI7czoxOiIwIjtzOjE2OiJjYXRlZ29yaWVzX2ltYWdlIjtOO31pOjM7YTo0OntzOjEzOiJjYXRlZ29yaWVzX2lkIjtzOjI6IjY1IjtzOjE1OiJjYXRlZ29yaWVzX25hbWUiO3M6MTk6IkxpbWl0IEdlYXIgQ2xvdGhpbmciO3M6OToicGFyZW50X2lkIjtzOjE6IjAiO3M6MTY6ImNhdGVnb3JpZXNfaW1hZ2UiO047fWk6NDthOjQ6e3M6MTM6ImNhdGVnb3JpZXNfaWQiO3M6MjoiNjgiO3M6MTU6ImNhdGVnb3JpZXNfbmFtZSI7czoyMToiUHVyc3VpdCBCYWl0cyBBcHBhcmVsIjtzOjk6InBhcmVudF9pZCI7czoxOiIwIjtzOjE2OiJjYXRlZ29yaWVzX2ltYWdlIjtOO319',
cache_entry_created = '1340836980' in /home2/pursuit7/public_html/includes/classes/db/mysql/query_factory.php on line 101

27 Jun 2012, 11:07 PM
#5
x31b avatar

x31b

New Zenner

Join Date:
Jun 2012
Posts:
8
Plugin Contributions:
0

Re: Blank page with express check out

Found this in paypal/logs

2012-06-27 05:04:11

(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.0
)

Request Parameters: {SetExpressCheckout}
Array
(
[AMT] => 9.62
[ITEMAMT] => 3.12
[SHIPPINGAMT] => 6.50
[L_NUMBER0] => PB-SSSP-BLEEDING SHAD1/2
[L_NAME0] => Bleeding Shad [189]
[L_QTY0] => 1
[L_AMT0] => 6.25
[L_NAME1] => Credits applied, including discount coupons, gift certificates, etc
[L_AMT1] => -3.13
[L_QTY1] => 1
[CURRENCYCODE] => USD
[LOCALECODE] => US
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] => 863-797-4X31
[BRANDNAME] => X-31 Pursuit Baits
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[ADDROVERRIDE] => 1
[SHIPTONAME] => Michael Bard
[SHIPTOSTREET] => 3007 Chasewood Dr
[SHIPTOCITY] => Lakeland
[SHIPTOZIP] => 33810
[SHIPTOSTATE] => FL
[SHIPTOCOUNTRYCODE] => US
[SHIPTOPHONENUM] =>
[EMAIL] => mbard502######################
[RETURNURL] => http://74.220.215.244/~pursuit7/ipn_main_handler.php?type=ec&zenid=15cmnchmmgfg0n986h5d98rl36
[CANCELURL] => http://74.220.215.244/~pursuit7/index.php?main_page=checkout_shipping&ec_cancel=1&zenid=15cmnchmmgfg0n986h5d98rl36
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[USER] => pursuitbaits_api1.gmail.com
[PWD] => ****************
[VERSION] => 61.0
[SIGNATURE] => ****************************************************yuXq
)

Response:
Array
(
[TOKEN] => EC-94N14479K8223351F
[TIMESTAMP] => 2012-06-27T23:04:11Z
[CORRELATIONID] => 4e4a5ce4dc8b2
[ACK] => Success
[VERSION] => 61.0
[BUILD] => 3067390
[CURL_ERRORS] =>
)

SetExpressCheckout, Elapsed: 495ms -- Success

28 Jun 2012, 1:31 AM
#6
x31b avatar

x31b

New Zenner

Join Date:
Jun 2012
Posts:
8
Plugin Contributions:
0

Re: Blank page with express check out

I also received this response in the paypal logs:

Jun 27 2012 4:13 -- IPN PROCESSING INITIATED.
*** Originating IP: 173.0.81.1 notify.paypal.com

Jun 27 2012 4:13 -- Breakpoint: 0 - Initializing debugging.

Jun 27 2012 4:13 -- Breakpoint: Flag Status:
isECtransaction = 1
isDPtransaction = 0

Jun 27 2012 4:13 -- IPN INFO - POST VARS received (sorted):
Array
(
[address_city] => Lakeland
[address_country] => United States
[address_country_code] => US
[address_name] => Michael Bard
[address_state] => FL
[address_status] => confirmed
[address_street] => 3007 Chasewood Dr
[address_zip] => 33810
[charset] => windows-1252
[custom] => EC-2-1340791988
[first_name] => Michael
[invoice] => 2-1340791988-[X31PursuitBaits]
[ipn_track_id] => 68c34941ebb0e
[item_name1] => X-31 Key Chain [236]
[item_name2] => Blue Chrome * White [190]
[item_name3] => Bleeding Shad [189]
[item_name4] => Donate-Gray [227]
[item_number1] => PB-KC-RED
[item_number2] => PB-SSSP-Blue Chrome1/2
[item_number3] => PB-SSSP-BLEEDING SHAD1/2
[item_number4] => PB-LG-XXXL-Donate(Gray)
[last_name] => Bard
[mc_currency] => USD
[mc_fee] => 1.04
[mc_gross] => 25.50
[mc_gross_1] => 6.50
[mc_gross_2] => 6.25
[mc_gross_3] => 6.25
[mc_gross_4] => 19.00
[mc_handling] => 0.00
[mc_handling1] => 0.00
[mc_handling2] => 0.00
[mc_handling3] => 0.00
[mc_handling4] => 0.00
[mc_shipping] => 6.50
[mc_shipping1] => 0.00
[mc_shipping2] => 0.00
[mc_shipping3] => 0.00
[mc_shipping4] => 0.00
[notify_version] => 3.4
[num_cart_items] => 4
[num_offers] => 1
[offer_amount1] => 19.00
[offer_curreny1] => USD
[offer_id1] =>
[payer_email] => mbard502######################
[payer_id] => RYGJ5RV3FNS2A
[payer_status] => unverified
[payment_date] => 03:13:10 Jun 27, 2012 PDT
[payment_fee] => 1.04
[payment_gross] => 25.50
[payment_status] => Completed
[payment_type] => instant
[protection_eligibility] => Eligible
[quantity1] => 1
[quantity2] => 1
[quantity3] => 1
[quantity4] => 1
[receipt_id] => 4663-2229-4466-4564
[receiver_email] => pursuitbaits######################
[receiver_id] => QFLWCJS5HLQP2
[residence_country] => US
[tax] => 0.00
[tax1] => 0.00
[tax2] => 0.00
[tax3] => 0.00
[tax4] => 0.00
[transaction_subject] =>
[txn_id] => 4LE84384RS3700831
[txn_type] => cart
[verify_sign] => AqtfGifx.ikKePSAjctaVS-RM4LFAsF0cqQ3IGgqOlJcW9QjtjBqDJBK
)

Jun 27 2012 4:13 -- IPN INFO - POST VARS to be sent back (unsorted) for validation (using CURL):
To: www.paypal.com:80
Array
(
[cmd] => _notify-validate
[invoice] => 2-1340791988-[X31PursuitBaits]
[first_name] => ********
[mc_shipping] => 6.50
[mc_currency] => USD
[payer_status] => unverified
[payment_fee] => 1.04
[address_status] => confirmed
[payment_gross] => 25.50
[address_zip] => 33810
[address_country_code] => US
[txn_type] => cart
[num_cart_items] => 4
[mc_handling] => 0.00
[verify_sign] => AqtfGifx.ikKePSAjctaVS-RM4LFAsF0cqQ3IGgqOlJcW9QjtjBqDJBK
[num_offers] => 1
[payer_id] => RYGJ5RV3FNS2A
[charset] => windows-1252
[tax1] => 0.00
[receiver_id] => QFLWCJS5HLQP2
[tax2] => 0.00
[tax3] => 0.00
[tax4] => 0.00
[mc_handling1] => 0.00
[mc_handling2] => 0.00
[mc_handling3] => 0.00
[mc_handling4] => 0.00
[item_name1] => X-31 Key Chain [236]
[tax] => 0.00
[item_name2] => Blue Chrome * White [190]
[item_name3] => Bleeding Shad [189]
[item_name4] => Donate-Gray [227]
[payment_type] => instant
[mc_shipping1] => 0.00
[address_street] => 3007 Chasewood Dr
[mc_shipping2] => 0.00
[mc_shipping3] => 0.00
[txn_id] => 4LE84384RS3700831
[mc_shipping4] => 0.00
[mc_gross_1] => 6.50
[quantity1] => 1
[mc_gross_2] => 6.25
[quantity2] => 1
[item_number1] => PB-KC-RED
[protection_eligibility] => Eligible
[mc_gross_3] => 6.25
[quantity3] => 1
[item_number2] => PB-SSSP-Blue Chrome1/2
[mc_gross_4] => 19.00
[quantity4] => 1
[item_number3] => PB-SSSP-BLEEDING SHAD1/2
[custom] => EC-2-1340791988
[item_number4] => PB-LG-XXXL-Donate(Gray)
[residence_country] => US
[last_name] => *********
[address_state] => FL
[payer_email] => *******######################
[offer_curreny1] => USD
[address_city] => Lakeland
[payment_status] => Completed
[payment_date] => 03:13:10 Jun 27, 2012 PDT
[transaction_subject] =>
[receiver_email] => pursuitbaits######################
[mc_fee] => 1.04
[notify_version] => 3.4
[offer_amount1] => 19.00
[address_country] => United States
[receipt_id] => 4663-2229-4466-4564
[mc_gross] => 25.50
[address_name] => ************
[offer_id1] =>
[ipn_track_id] => 68c34941ebb0e
)

Jun 27 2012 4:13 -- CURL OPTS: Array
(
[10002] => https://www.paypal.com/cgi-bin/webscr
[47] => 1
***** removed *****
[13] => 45
[78] => 30
[41] => 0
[42] => 0
[52] => 0
[19913] => 1
[64] => 0
[81] => 2
[75] => 1
[74] => 1
[84] => 2
[10018] => Zen Cart(R) - IPN Postback
)

Jun 27 2012 4:13 -- CURL response: VERIFIED

Jun 27 2012 4:13 -- IPN INFO (cl) - Confirmation/Validation response VERIFIED

Jun 27 2012 4:13 -- Breakpoint: 1 - Collected data from PayPal notification

Jun 27 2012 4:13 -- Breakpoint: 2 - Validated transaction components

Jun 27 2012 4:13 -- Breakpoint: 3 - Communication method verified

Jun 27 2012 4:13 -- Breakpoint: 4 - Details: txn_type=unknown ordersID = 0 IPN_id=0

Relevant data from POST:
txn_type = unknown
parent_txn_id = None
txn_id = 4LE84384RS3700831

Jun 27 2012 4:13 -- Breakpoint: 5 - Transaction type (txn_type) = cart [parentLookup=unknown]

Jun 27 2012 4:13 -- Breakpoint: 5 - midstream checkpoint

Jun 27 2012 4:13 -- Breakpoint: 5 - Record does not need to be processed since it is not new and is not an update. See earlier notices. Processing aborted.

28 Jun 2012, 1:41 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Blank page with express check out

All of those logs show success.

28 Jun 2012, 1:47 AM
#8
x31b avatar

x31b

New Zenner

Join Date:
Jun 2012
Posts:
8
Plugin Contributions:
0

Re: Blank page with express check out

Dr. Byte. If you go to my website, and attempt to order any product you will see that once you get to the "Confirm the order" button. Nothing happens. Have you ever ran into this situation before?

28 Jun 2012, 2:54 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Blank page with express check out

Heard of it. Never been able to duplicate it. I think it was always a result of damaged files or something.

28 Jun 2012, 3:00 AM
#10
x31b avatar

x31b

New Zenner

Join Date:
Jun 2012
Posts:
8
Plugin Contributions:
0

Re: Blank page with express check out

After further testing of the site, here is what I ran in to...

**Internet Explore: When I click on confirm the order, it attempts to load paypal but goes to a screen that says "The content cannot be displayed in a frame." What you can try: Open this content in a new window (link).
**

Cllicking on the link opens a new paypal window which works properly.

Google Chrome: When I click on confirm the order, it says "waiting on paypal" in the status window then stalls. Nothing happens, no known way to force the sale.

Firefox: When I click on confirm the order, it goes to a solid white page and never loads paypal. Now this is on 2 of my 3 computers. One computer does load paypal.

28 Jun 2012, 3:15 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Blank page with express check out

Hmm ... well ... since you are running your site in a frame, that totally explains the problem.

You'll need to:
a) edit your 2 configure.php files and replace the IP address with your actual domain name. Adjust any other paths as needed too.
HTTP_SERVER should be 'http://www.pursuitbaits.com'
HTTPS_SERVER should be 'https://www.pursuitbaits.com'
DIR_WS_CATALOG should be '/'
DIR_WS_HTTPS_CATALOG should be '/'

If you have dedicated SSL, then set ENABLE_SSL to 'true'
If you have shared SSL, then follow http://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart
If you don't have any SSL, then leave ENABLE_SSL to 'false'

**and then:
**b) turn off the frame-forwarding that you've configured your site to use, so that it actually serves the site directly.
If you need help with that, your hosting company is the best resource.

28 Jun 2012, 3:48 AM
#12
x31b avatar

x31b

New Zenner

Join Date:
Jun 2012
Posts:
8
Plugin Contributions:
0

Re: Blank page with express check out

Nothing was specifically set to work in a frame. Here's what I did (forward thinking). I installed a second copy of zen-cart in a new directory, and set up the paypal, and one test product. The cart worked perfectly in Chrome, I.E., and Firefox. Now I need to look at trying to copy all my images over, and all the categories/products. I will start this in the morning. Too tired to do it tonight without messing it all up.

28 Jun 2012, 4:08 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: Blank page with express check out

You can see for yourself that it's all working in a frame:

  1. visit http://www.pursuitbaits.com/
  2. Click on any link in the store.
  3. Look at the URL in the address bar -- it hasn't changed -- that's the first clue that the entire site is running in a frame
  4. Hover your mouse over any product or link in your store -- notice that the address of the link you're hovering over refers to an IP address and subdirectory: http://74.220.215.244/~pursuit7/

So, you've got your domain name set up to frame-forward everything, instead of serving the content directly.

Setting everything up in a new directory isn't going to solve the problem of having your domain name set to frame-forwarding.

29 Nov 2012, 6:41 AM
#14
kaganwine avatar

kaganwine

New Zenner

Join Date:
Feb 2012
Posts:
1
Plugin Contributions:
0

Re: Blank page with express check out

I know the frame thing happens with GoDaddy when you use their "forward with masking" feature. GoDaddy essentially puts your site into a frame so the domain looks the same.

Outside of that, we're having the same blank screen issue on our site and it's definitely not in a frame.