Forums / Upgrading from 1.3.x to 1.3.9 / Paypal express checkout isn't working for me -- blank page

Paypal express checkout isn't working for me -- blank page

Locked

Views: 9,882

Results 1 to 20 of 25
This thread is locked. New replies are disabled.
5 Dec 2007, 5:31 PM
#1
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Paypal express checkout isn't working for me -- blank page

I thought I had everything working, but Paypal express checkout is not working. It goes to a blank page.

I removed Paypal Express and reinstalled it but that made no difference. What do I need to do to fix this? Please help.

6 Dec 2007, 3:08 AM
#2
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

Can anyone tell me where to start looking to figure out why PayPal Express is not working? I goes to a blank screen in 1.3.8. I did uninstall and reinstall Express

I started with 1.3.8 and added the template and Hoverbox2 from Ichoze Internet Services. Hoverbox is for images so I don't think that would do it. I used it with 1.3.7.1 without any trouble. Everything else seem to work fine, just not Express

I have 1.3.7 back up for now until I found out why Paypal express will not work. It seems to be fine with 1.3.7.

I would greatly appreciate any suggestions.

6 Dec 2007, 4:45 AM
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

When you reinstalled PayPal Express, did you reenter the API info?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

6 Dec 2007, 8:26 AM
#4
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Paypal express checkout isn't working for me -- blank page

ScootaMan:

I thought I had everything working, but Paypal express checkout is not working. It goes to a blank page.

I removed Paypal Express and reinstalled it but that made no difference. What do I need to do to fix this? Please help.

It sounds like CURL may not be active on your server.

Do you know if your host has enabled CURL?

My Contributions: Zen Lightbox | Best Sellers Reloaded

6 Dec 2007, 12:41 PM
#5
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

Alex Clarke:

It sounds like CURL may not be active on your server.

Do you know if your host has enabled CURL?

Curl is active. Express works in 1.3.7 which I have back up for now. In 1.3.8, it does not work. I haven't figured out why it will work in the one but not the other.

6 Dec 2007, 12:57 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Paypal express checkout isn't working for me -- blank page

When you upgraded, did you also upgrade the /ipn_main_handler.php file?

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

6 Dec 2007, 1:52 PM
#7
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

Yes, I started with the full set of the zip file and the template in anew and then moved it over. I tried this morning with a fresh set of the new files and moved them over. I get the same results. The page goes to a blank screen when you try to checkout.

http://sftscooters.com/ipn_main_handler.php?type=ec sits at an empty screen.

PayPal Express Checkout (rev1.3.8a) is what it reads in my Admin panel.

when I move 1.3.7 back over, express works fine.

The version check shows:

Zen Cart 1.3.8
Database Patch Level: 1.3.8

6 Dec 2007, 2:10 PM
#8
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

I verified with my host the CURL is active. I can't see any error log for why Express is not working.

6 Dec 2007, 2:14 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Paypal express checkout isn't working for me -- blank page

Are there any addons/contributions installed?
esp payment modules?

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

6 Dec 2007, 2:15 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Paypal express checkout isn't working for me -- blank page

ScootaMan:

I verified with my host the CURL is active. I can't see any error log for why Express is not working.

Me neither. It seems to be croaking the same way it would if you had a PHP syntax error in one of your files or an incomplete file-upload somewhere.

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

6 Dec 2007, 2:35 PM
#11
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

These are the debug messages that came through:

  1. IPN PROCESSING INITIATED.
    *** Originating IP: ########### (masked)
    *** Browser/User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;

  2. IPN FATAL ERROR :: No POST data available -- Most likely initiated by
    browser and not PayPal.

  3. IPN FATAL ERROR :: Could not find stored session in DB, cannot re-create
    session as PayPal IPN transaction.

  4. IPN FATAL ERROR :: No saved IPN session data available. Must be an Express Checkout or Direct Pay transaction.

  5. IPN INFO - POST VARS received (sorted):
    Array
    (
    )

What do they mean? Did they make changes to the IPN handler that requires a static IP address?

6 Dec 2007, 2:41 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: Paypal express checkout isn't working for me -- blank page

ScootaMan:

What do they mean? Did they make changes to the IPN handler that requires a static IP address?

No, those are normal if you try to load ipn_main_handler.php without the ?type=ec parameter.

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

6 Dec 2007, 2:48 PM
#13
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

DrByte:

No, those are normal if you try to load ipn_main_handler.php without the ?type=ec parameter.

Could a template cause this? I am using Acadame by Ichoze Internet solutions. I used the original zip file I downloaded from Zen Cart's website and didn't make any changes to any of the files other than installing the template and adding the configure files.

Would something in a configure file do this?
Could a file become corrupted when it is unzipped?

I am not sure where to look to fix this.

I put 1.3.7 back up for now (again).

Thanks for your help

6 Dec 2007, 3:02 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: Paypal express checkout isn't working for me -- blank page

If you think it's template-related, try without that template.

And no, it's unlikely that your configure.php files are the issue.

You never answered my question about other addons.

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

6 Dec 2007, 3:44 PM
#15
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

DrByte:

If you think it's template-related, try without that template.

And no, it's unlikely that your configure.php files are the issue.

You never answered my question about other addons.

On my trial this morning there were no other addons. Only the Acadame template was used. I did add in the define pages that were in my template folder, but I didn't see any changes to those pages other than the text when compared in winmerge.

6 Dec 2007, 4:24 PM
#16
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

DrByte:

If you think it's template-related, try without that template.

And no, it's unlikely that your configure.php files are the issue.

You never answered my question about other addons.

DrByte,

Could the problem be in the database? Hovebox2 had a sql script that I had to install and would be in the upgraded database.

I downloaded a new set of files and placed the configure files in them and put them on my server. I ran a test and came up with the same results. Express would not work.

If I run the install and create a new database with a different name, will zen create that without erasing the other databases on the server.

I have a sftscoot_zc1 that is the 1.3.8 database
I have a sftscoot_zc5 taht is the 1.3.7 database attached to the 1.3.7 Zen Files

I don't have that many products that I couldn't recreate them in a new database

6 Dec 2007, 9:08 PM
#17
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

I think my problem must of been a corruption in the database, Even with a fresh set of files with nothing but the configure files added in, Paypal Express would not work. I did an install an let it overwrite my database and it looks like Paypal Express is working again.

I am busy now rebuilding everything.

7 Dec 2007, 2:34 PM
#18
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

DrByte,

Do you think the problem I had in my database could have come form one of the sql patches I did for two of the modules I had? I am hesitant to install any modes with SQL patches for fear of repeating the same problem when the next upgrade comes

The 2 modes that had the sql patches were:

  • HoverBox2 (image handler)
  • Google Base Feeder

These where the only modes that had an sql patch to install.

The upgraded database would work with PayPal Express when it was attached to 1.3.7 Zen cart but would not work when attached to 1.3.8. I had to overwrite the database in order to get PayPal Express to work.

Is it possible that the sql patches prevented the database from upgrading properly?

My store is only a month old and had only 7 mopeds listed, so I am concerned with how the database could have become corrupted. I don't want to repeat this problem when I have many more products listed.

Thanks

7 Dec 2007, 3:59 PM
#19
drbyte avatar

drbyte

Sensei

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

Re: Paypal express checkout isn't working for me -- blank page

Those 2 contributions shouldn't have any adverse effect on upgrading, nor on the proper operation of PayPal modules.

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

7 Dec 2007, 4:15 PM
#20
scootaman avatar

scootaman

New Zenner

Join Date:
Nov 2007
Posts:
74
Plugin Contributions:
0

Re: Paypal express checkout isn't working for me -- blank page

DrByte:

Those 2 contributions shouldn't have any adverse effect on upgrading, nor on the proper operation of PayPal modules.

DrByte,

this is copy of the sql patch I need to install to use HoverBox2, does it look safe for 1.3.8? Dose this make changes to the database?

INSERT INTO configuration_group VALUES (50, 'HoverBox<sup>2</sup>', 'Settings for your HoverBox<sup>2</sup>', 4.50, 1);
INSERT INTO configuration VALUES (721, 'Should I display the title of your product?', 'HOVERBOX_DISPLAY_TITLE', 'Yes', 'This let''s me know whether or not I should display the title of your product. Either select yes or no. I''ll handle the rest.', 50, 2, NULL, '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''Yes'',''No''), ');
INSERT INTO configuration VALUES (720, 'Would you like to put me to work for you?', 'HOVERBOX_ENABLED', 'Yes', 'This let''s me know if I should be taking control over the display of your product images.', 50, 1, '2007-07-15 02:14:06', '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''Yes'', ''No''), ');
INSERT INTO configuration VALUES (722, 'And lastly, should I display your product''s price to your customers?', 'HOVERBOX_DISPLAY_PRICE', 'Yes', 'This one just lets me know if I should be displaying the price of your products to your customers.', 50, 3, NULL, '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''Yes'', ''No''),');