Zen Cart Logo
Forums / PayPal Express Checkout support / 10413 errors and paypal direct payment alert, on v1.3.8

10413 errors and paypal direct payment alert, on v1.3.8

Views: 2,444

Results 1 to 13 of 13
16 Nov 2011, 4:37 PM
#1
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

10413 errors and paypal direct payment alert, on v1.3.8

Version: v1.3.9h
Recent changes: redid zone definitions, tax classes & rates
: shipping, took out zone rates
Payment methods: paypal express checkout and website payments pro

Worked on this clients site and when I tested did not get the 10413 error.:dontgetit

Now suddenly the clients visitors are getting all of these errors when placing orders:

  1. paypal express checkout error (10413)
  2. Paypal direct payment error
  3. visa card payment errors

Where can I send log files to check? Is this a paypal error or zencart error, not sure why it was working and now suddenly not.

Thanks

17 Nov 2011, 3:14 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: 10413 errors and paypal direct payment alert, on v1.3.8

PM me with a link to download a zip of your PayPal log files.

The PM you already sent contains the details of a successful transaction, not a failed transaction.

22 Nov 2011, 3:42 PM
#3
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: 10413 errors and paypal direct payment alert, on v1.3.8

Hi I sent the log files to you in a PM. Thanks :smile:

7 Dec 2011, 9:20 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: 10413 errors and paypal direct payment alert, on v1.3.8

Apologies for the delay in replying; I somehow lost track of this post.

The logs you sent show she's using v1.3.8a
There were tons of fixes in 1.3.9 to deal with these problems.

18 Dec 2011, 5:25 PM
#5
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: 10413 errors and paypal direct payment alert, on v1.3.8

I have followed your advise and upgraded to version 1.3.9. I have followed the instructions to upgrade to the T and now have other errors that I am not sure of.

This is the front end of the upgraded shop
https://www.wildatheartpets.com/store_new/

If you go to the login page and try to Create a new account, as soon as you click submit a blank page comes up?

If you try and login as an existing customer, it gives you an error {There was a security error when trying to login.}

now I have no idea what I have done incorrectly :huh:

18 Dec 2011, 5:39 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: 10413 errors and paypal direct payment alert, on v1.3.8

Look in the directory:
/cache

and see what debug logs are in there ...

What error message do you find?

https://www.zen-cart.com/tutorials/index.php?article=82

18 Dec 2011, 7:41 PM
#7
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: 10413 errors and paypal direct payment alert, on v1.3.8

PHP Parse error: syntax error, unexpected T_STRING in /home/wildathe/public_html/store_new/includes/languages/english/create_account.php on line 42

18 Dec 2011, 8:16 PM
#8
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: 10413 errors and paypal direct payment alert, on v1.3.8

I fixed that error in the file that the cache showed so no longer have a blank page.

However I now still have this error when trying to login as an existing customer

There was a security error when trying to login.

I checked in zenadmin and the database and the values are there - just seems like the front end login page is not picking it up?

18 Dec 2011, 8:24 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: 10413 errors and paypal direct payment alert, on v1.3.8

I cannot test it as your site is down for maintenance ... what is the exact error you are getting now, and if you refresh your /cache are there any new debug logs in there?

18 Dec 2011, 11:36 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: 10413 errors and paypal direct payment alert, on v1.3.8

I am able to login to your site when I create an account then sign out and cannot login ...

What errors are showing in your:
/cache

when you try to login?

20 Dec 2011, 2:44 PM
#11
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: 10413 errors and paypal direct payment alert, on v1.3.8

I am also able to create a new account and it all goes through now (no blank pages), but STILL have that security error when trying to LOGIN as an existing user. There was a security error when trying to login."

Just tried now [Tuesday 20 Dec @ 9.43am my time] and still get the error but there are NO NEW cache error files?

See attached screen grab.

20 Dec 2011, 3:08 PM
#12
gandalfsmith avatar

gandalfsmith

New Zenner

Join Date:
Oct 2011
Location:
Toronto Canada
Posts:
69
Plugin Contributions:
0

Re: 10413 errors and paypal direct payment alert, on v1.3.8

I think I fixed the error - YAY

In my /includes/templates/YOUR_TEMPLATE/templates/login.php file I had to add the following line of code

<?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>

under every instance of (zen_draw_password_field function)

This was because I was using a CUSTOM Template and I was missing that.

I also had to check my - /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php FILE, but that was ok.

This was a great help if anyone else gets a Login Security Error
https://www.zen-cart.com/tutorials/index.php?article=312

Note, I upgraded to version v1.3.9 but just adding in that line of code above seemed to work. :clap:

20 Dec 2011, 3:28 PM
#13
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: 10413 errors and paypal direct payment alert, on v1.3.8

Note, I upgraded to version v1.3.9 but just adding in that line of code above seemed to work.

NOTE: When you upgrade - you MUST upgrade your templates (and language files, and addons, ie: everything) too.